1
0

Okay, then these lines.

This commit is contained in:
Alexander Andreev 2022-03-08 03:30:23 +04:00
parent e58cb07d1d
commit 76f3f17235
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -29,16 +29,16 @@ html(lang='en')
| OGG 128 Kb/s | OGG 128 Kb/s
audio(preload='none' controls='') audio(preload='none' controls='')
source(src='/live/stream.ogg' type='audio/ogg') source(src='/live/stream.ogg' type='audio/ogg')
//- | Your browser doesn't support an audio element, it's sad... But you always can take the #[a(href='/playlist') playlist]. | Your browser doesn't support an audio element, it's sad... But you always can take the #[a(href='/playlist') playlist].
//- - var isDateNA = .Status.ServerStartDate == 'n/a' //- - var isDateNA = .Status.ServerStartDate == 'n/a'
//- unless false //- unless false
//- p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] //- p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]]
//- 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