all repos — grimoire @ fdd6af0ba83218e45722dd7ac67e074859868a89

dead simple icecast frontend

fix width, link target
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQT/foVVmI9pK13hPWFohAcXSWbK8wUCZyQlLAAKCRBohAcXSWbK
80VRAPsH+gh8Ki21T3edlWWoxLAEPLbnlE2E4WuUyc6XvimI/QD/UFaWbCDFIdOj
i3FBeCIbwG6fdu0yGT28zTQSN4pN9gI=
=qLhl
-----END PGP SIGNATURE-----
commit

fdd6af0ba83218e45722dd7ac67e074859868a89

parent

c65fe9a554aa66f9ecd018af9aa6baae8daff5ef

2 files changed, 3 insertions(+), 4 deletions(-)

jump to
M static/style.cssstatic/style.css

@@ -36,8 +36,7 @@

ul { list-style: none;padding:0;margin: 0.5em; } ul li { - - max-width: 300px; + max-width: 420px; width:90vw; margin: auto; margin-bottom: 2em;
M templates/radio.htmltemplates/radio.html

@@ -8,7 +8,7 @@ <head>

<meta charset='utf-8'> <meta name='description' content='internet radio'/> <meta name='viewport' content='width=device-width,initial-scale=1'> - <link rel='stylesheet' type='text/css' href='/static/style.css?v=20241030.00'> + <link rel='stylesheet' type='text/css' href='/static/style.css?v=20241030.01'> <link rel='shortcut icon' href='/static/favicon.png'> <title>{{ $title }}</title> </head>

@@ -18,7 +18,7 @@ <main>

<ul> {{range $name, $stationUrl := $stations}} {{ if gt (($sentry).GetStatus $stationUrl) 399 }} - <li class="offline"><span class="station">{{$name}} (offline)</span><a class="stationurl" href="{{$stationUrl}}">{{$stationUrl}}</a></li> + <li class="offline"><span class="station">{{$name}} (offline)</span><a class="stationurl" href="{{$stationUrl}}" target="_blank">{{$stationUrl}}</a></li> {{else}} <li class="online"><a class="station" href="{{$stationUrl}}" target="_blank">{{$name}}</a><a class="stationurl" href="{{$stationUrl}}" target="_blank">{{$stationUrl}}</a></li> {{end}}