summaryrefslogtreecommitdiff
path: root/templates/departures_page.html
blob: 52733c42e024c2dbd02676062d5dbfd499c7dc3e (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
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="de">
<head>
	<title>{{ title }}</title>
	{% include 'header.html' %}
	<script src="/static/v1/js/reload.js"></script>
</head>
<body>

{% include 'navbar.html' %}

<div class="container">
	<div class="content">
		{% if warning %}
			<div class="content">
				<div class="warning">
					<strong>{{ warning["lead"] }}</strong>
					{{ warning["body"] }}
					<div class="errcode">{{ warning["code"] }}</div>
				</div>
			</div>
		{% endif %}
		{% if not departures %}
			<div class="globalnote">Keine Abfahrten innerhalb der nächsten zwei Stunden</div>
		{% endif %}
		<ul class="departures" id="departurelist">
			{% include 'departure_list.html' %}
		</ul>
	</div>
</div>

{% include 'footer.html' %}

</body>
</html>