diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-10-05 16:33:59 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-10-05 16:33:59 +0200 |
commit | d75351b30c38dc22e0071e18dc68be551eb628a7 (patch) | |
tree | 42cf1576b093977f8c0a95cdd49931ec0ad7a8ae /templates/checkin.html.ep | |
parent | 3198689286984a47d0250712d9928c7a9ff2f7b9 (diff) |
Use POST requests to modify data
Diffstat (limited to 'templates/checkin.html.ep')
-rw-r--r-- | templates/checkin.html.ep | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/templates/checkin.html.ep b/templates/checkin.html.ep deleted file mode 100644 index 7e68a0b..0000000 --- a/templates/checkin.html.ep +++ /dev/null @@ -1,54 +0,0 @@ -% 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"> - % 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">Eingecheckt in <%= $train->line %></span> - <p>Abfahrt um <%= $train->sched_departure->strftime('%H:%M') %> - % if ($train->departure_delay) { - +<%= $train->departure_delay %> - % } - </p> - </div> - </div> - </div> - </div> - <div class="row"> - <div class="col s12"> - Weitere Route: - </div> - </div> - <div class="row"> - <div class="col s12"> - <table> - <tbody> - % for my $station ($train->route_post) { - <tr> - <td><%= $station %></td> - <td><a href="/a/checkout?station=<%= $station %>">hier auschecken</a></td> - </tr> - % } - </tbody> - </table> - </div> - </div> -% } |