summaryrefslogtreecommitdiff
path: root/templates/checkout.html.ep
blob: 1b5a4f22456dcde60ebbcad4686780fe4bd5808d (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
% if ($error) {
	<div class="row">
		<div class="col s12 m6">
			<div class="card red darken-4">
				<div class="card-content white-text">
					<span class="card-title">I am Error</span>
					<p><%= $error %></p>
				</div>
				<div class="card-action">
					<a href="/a/checkout?station=<%= param('station') %>&amp;force=1">Ohne Echtzeitdaten auschecken</a>
					% if (param('station')) {
						<a href="/<%= param('station') %>">Zurück zu den Abfahrten</a>
					% }
					% else {
						<a href="/">Zur Hauptseite</a>
					% }
			</div>
		</div>
	</div>
% }
% else {
	<div class="row">
		<div class="col s12">
			<div class="card green darken-4">
				<div class="card-content white-text">
					<span class="card-title">Erfolgreich ausgecheckt</span>
				</div>
			</div>
		</div>
	</div>
% }