aboutsummaryrefslogtreecommitdiff
path: root/internal/webui/html/root.html
blob: a293ee70e3a5589ae434a789a4431ecec05514d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{ template "base" . }}

{{ define "main" }}
<h3>Horaires des prochains trains à Crépieux la Pape</h3>
<table>
	<thead>
		<tr><th>Arrivée en gare</th><th>Direction</th></tr>
	</thead>
	<tbody>
		{{ range .Departures }}
		<tr{{ if .Odd }} style="color:#111111;"{{ end }}><td>{{ .Arrival }}</td><td>{{ .DisplayName }}</td></tr>
		{{ end }}
	</tbody>
</table>
{{ end }}