fix width, link target
This commit is contained in:
parent
c65fe9a554
commit
fdd6af0ba8
2 changed files with 3 additions and 4 deletions
|
@ -36,8 +36,7 @@ h1 {
|
||||||
ul { list-style: none;padding:0;margin: 0.5em; }
|
ul { list-style: none;padding:0;margin: 0.5em; }
|
||||||
|
|
||||||
ul li {
|
ul li {
|
||||||
|
max-width: 420px;
|
||||||
max-width: 300px;
|
|
||||||
width:90vw;
|
width:90vw;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<meta charset='utf-8'>
|
<meta charset='utf-8'>
|
||||||
<meta name='description' content='internet radio'/>
|
<meta name='description' content='internet radio'/>
|
||||||
<meta name='viewport' content='width=device-width,initial-scale=1'>
|
<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'>
|
<link rel='shortcut icon' href='/static/favicon.png'>
|
||||||
<title>{{ $title }}</title>
|
<title>{{ $title }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
{{range $name, $stationUrl := $stations}}
|
{{range $name, $stationUrl := $stations}}
|
||||||
{{ if gt (($sentry).GetStatus $stationUrl) 399 }}
|
{{ 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}}
|
{{else}}
|
||||||
<li class="online"><a class="station" href="{{$stationUrl}}" target="_blank">{{$name}}</a><a class="stationurl" href="{{$stationUrl}}" target="_blank">{{$stationUrl}}</a></li>
|
<li class="online"><a class="station" href="{{$stationUrl}}" target="_blank">{{$name}}</a><a class="stationurl" href="{{$stationUrl}}" target="_blank">{{$stationUrl}}</a></li>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in a new issue