aboutsummaryrefslogtreecommitdiff
path: root/internal/webui/html/stop.html
blob: 33a94c6384ef0f0014051913f6fd2db675ebbfe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
{{ define "title"}}Choisir une gare{{ end }}
{{ template "base" . }}

{{ define "main" }}
<h3>Choisir une gare</h3>
<ul>
	{{ range $i, $elt := .Stops }}
	<li {{ if odd $i }}style="background-color:lightgray;"{{ end }}><a href="/stop/{{ $elt.Id }}">{{ $elt.Name  }}</a></li>
	{{ end }}
</ul>
{{ end }}