Update link transformed to button. Added song start time column (yesterday, heh). Advanced to the year 2k22.

This commit is contained in:
Alexander Andreev 2022-01-22 19:05:59 +04:00
parent f7322a78b4
commit b30b85fb72
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -40,13 +40,14 @@ html(lang='en')
p Now playing: #[span#radio-song= radio_status.song]
p Current/peak listeners: #[span#radio-listeners= radio_status.listeners] / #[span#radio-listener-peak= radio_status.listener_peak]
p
small Notice: information updates every 45 seconds. But you can #[a(href="javascript:updateAll()") update] it forcibly.
small Notice: information updates every 45 seconds. But you can #[button(id="btn-update") update] it forcibly.
if (last_songs)
section
h2 Last 10 songs
table#last-played
each song in last_songs
tr
td= song.start_time_local
td= song.artist
td= song.title
section
@ -65,4 +66,4 @@ html(lang='en')
p I collect access logs that include access date and time, IP-address, User-Agent, referer URL that tells me where have you came from, request that you sent to me. In addition there are GeoIP information added based on your IP-address that includes country, region, and city for my convenience.
p This website makes use of JavaScript for a dynamic update of a radio status and last 10 songs list.
footer
| 2017—2021 Arav <#[a(href='mailto:me@arav.top') me@arav.top]>
| 2017—2022 Arav <#[a(href='mailto:me@arav.top') me@arav.top]>