fix width, link target

This commit is contained in:
Iris Lightshard 2024-10-31 18:47:40 -06:00
parent c65fe9a554
commit fdd6af0ba8
Signed by: Iris Lightshard
GPG key ID: 688407174966CAF3
2 changed files with 3 additions and 4 deletions

View file

@ -36,8 +36,7 @@ h1 {
ul { list-style: none;padding:0;margin: 0.5em; }
ul li {
max-width: 300px;
max-width: 420px;
width:90vw;
margin: auto;
margin-bottom: 2em;

View file

@ -8,7 +8,7 @@
<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 @@
<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}}