aboutsummaryrefslogtreecommitdiff
path: root/internal/webui/html/index.html
blob: a0a7d82056407f05d4091996cc9eef35ae2bd510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>{{ .Title }}</title>
		<meta name="viewport" content="width=device-width, initial-scale=1">

		<link rel="icon" type="image/png" href="/static/favicon.png" />
		<link rel="stylesheet" href="/static/main.css">
	</head>
	<body>
		<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>
	</body>
</html>