aboutsummaryrefslogtreecommitdiff
path: root/internal/webui/html/specificStop.html
blob: 5916927e2adad80c37b85b6b01743801f9f8d222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ define "title"}}Horaires des prochains trains à {{ .Stop }}{{ end }}
{{ template "base" . }}

{{ define "main" }}
<h3>Horaires des prochains trains à {{ .Stop }}</h3>
<table>
	<thead>
		<tr><th>Arrivée en gare</th><th>Direction</th></tr>
	</thead>
	<tbody>
		{{ range $i, $elt := .Departures }}
		<tr{{ if odd $i }} style="color:#111111;"{{ end }}><td>{{ .Arrival }}</td><td>{{ .Direction }}</td></tr>
		{{ end }}
	</tbody>
</table>
{{ end }}