diff --git a/web/index.templ b/web/index.templ index 490cb10..e01bc92 100644 --- a/web/index.templ +++ b/web/index.templ @@ -10,115 +10,115 @@ templ Index(curSong *radio.Song, sl []radio.Song, slLen int64, lstnrs *radio.Lis
- - - - - + + + + + -- - { strconv.FormatInt(lstnrs.Current(), 10) } - - - - if curSong != nil && curSong.Artist != "" { - { curSong.DurationString() } - } else { - 0:00 - } - -
-- - - if curSong != nil && curSong.Artist != "" { - { curSong.Artist } - { curSong.Title } - } - -
-Start | -O/P | -Song | -
{ utils.ToClientTimezone(song.StartAt, r).Format("15:04") } | -- if song.PeakListeners != 0 { - { strconv.FormatInt(song.Listeners, 10) }/{ strconv.FormatInt(song.PeakListeners, 10) } - } - | -{ song.Artist } - { song.Title } | -
+ + { strconv.FormatInt(lstnrs.Current(), 10) } + + + + if curSong != nil && curSong.Artist != "" { + { curSong.DurationString() } + } else { + 0:00 + } + +
++ + + if curSong != nil && curSong.Artist != "" { + { curSong.Artist } - { curSong.Title } + } + +
+Start | +O/P | +Song | +
{ utils.ToClientTimezone(song.StartAt, r).Format("15:04") } | ++ if song.PeakListeners != 0 { + { strconv.FormatInt(song.Listeners, 10) }/{ strconv.FormatInt(song.PeakListeners, 10) } + } + | +{ song.Artist } - { song.Title } | +