summaryrefslogtreecommitdiff
path: root/templates/checkout.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-09-02 21:41:33 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-09-02 21:41:33 +0200
commit21643b053d8d4097f7bb51463a1562738b82892d (patch)
tree11e14803406243805d27119f32dae596713e0068 /templates/checkout.html.ep
Initial commit
Diffstat (limited to 'templates/checkout.html.ep')
-rw-r--r--templates/checkout.html.ep31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/checkout.html.ep b/templates/checkout.html.ep
new file mode 100644
index 0000000..1b5a4f2
--- /dev/null
+++ b/templates/checkout.html.ep
@@ -0,0 +1,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>
+% }