1
0

Uncomment even more in a template.

This commit is contained in:
Alexander Andreev 2022-03-10 00:19:30 +04:00
parent 8d4ef85e99
commit abb4c91dee
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -36,18 +36,18 @@ html(lang='en')
//- else //- else
//- p #[span#radio-status Radio is offline.] //- p #[span#radio-status Radio is offline.]
p Now playing: #[span#radio-song #{.Status.SongName}] p Now playing: #[span#radio-song #{.Status.SongName}]
//- p Current/peak listeners: #[span#radio-listeners= .Status.Listeners] / #[span#radio-listener-peak= .Status.ListenerPeak] p Current/peak listeners: #[span#radio-listeners #{.Status.Listeners}] / #[span#radio-listener-peak #{.Status.ListenerPeak}]
p p
small Notice: information updates every 45 seconds. But you can #[button(id='btn-update') update] it forcibly. small Notice: information updates every 45 seconds. But you can #[button(id='btn-update') update] it forcibly.
//- if (.Status.LastSongs) if (.Status.LastSongs)
//- section section
//- h2 Last 10 songs h2 Last 10 songs
//- table#last-played table#last-played
//- each song in .Status.Songs each song in .Status.Songs
//- tr tr
//- td= song.Time td= song.Time
//- td= song.Artist td= song.Artist
//- td= song.Title td= song.Title
section section
p The largest number of simultaneous listeners was #[b 7] at #[time(datetime='2022-02-19') 19 February 2022], and the song was "Röyksopp - 49 Percent". p The largest number of simultaneous listeners was #[b 7] at #[time(datetime='2022-02-19') 19 February 2022], and the song was "Röyksopp - 49 Percent".
section section