From 347fb97cf2d29163de6f8381eef027a9e134f17b Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 22 Aug 2023 03:38:19 +0400 Subject: [PATCH] Changed naming of tags. --- web/templates/index.pug | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/web/templates/index.pug b/web/templates/index.pug index 2b85839..f90ff83 100644 --- a/web/templates/index.pug +++ b/web/templates/index.pug @@ -17,13 +17,13 @@ html(lang='en') script(src='/assets/js/main.js' defer='') body header - svg#logo(viewBox='0 -25 216 40') - text.logo Arav's dwelling - text.under(y='11') Welcome to my sacred place, wanderer + svg(viewBox='0 -25 216 40') + text Arav's dwelling + text(y='11') Welcome to my sacred place, wanderer nav a(href=mainSite) Back to main website h1 Radio - section#stopit + section#banner video(playsinline='' autoplay='' loop='') source(src="/assets/img/stopit.mp4", type="video/mp4") section @@ -36,12 +36,12 @@ html(lang='en') a(href='http://radio.arav.i2p/live/stream.ogg') direct link (I2P) a(href="https://dir.xiph.org/search?q=arav's+dwelling") Xiph | OGG 128 Kb/s - div#radio - div.player + div#player + div div - button#play - small#cur-time 0h 0m 0s - div #[input#volume(type="range", name="volume" min="0" max="100" orient="vertical")] + button(name='play') + small.elapsed 0h 0m 0s + div #[input(type="range" name="volume" min="0" max="100" orient="vertical")] audio(preload='none' controls='' playsinline='') 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]! @@ -49,7 +49,7 @@ html(lang='en') p Now playing: #[span#radio-song #{status.SongName}] p Current/peak listeners: #[span#radio-listeners #{status.Listeners}] / #[span#radio-listener-peak #{status.ListenerPeak}] 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(name='update') update] it forcibly. section h2 Last #{songsNum} songs table#last-played