summaryrefslogtreecommitdiff
path: root/templates/_checked_out.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-23 22:27:13 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-23 22:27:13 +0200
commit6c1cae86f4fa343b4f165f80a4e42eba37fa917c (patch)
tree273fcc63fd249a766b39855f5dc3f60b4dcecb26 /templates/_checked_out.html.ep
parentffaa0c44a78bb4bab632fcb76b668215da4c0a82 (diff)
Primitive auto-refresh of current journey status
Todo: Redirect user to destination station upon arrival
Diffstat (limited to 'templates/_checked_out.html.ep')
-rw-r--r--templates/_checked_out.html.ep12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/_checked_out.html.ep b/templates/_checked_out.html.ep
new file mode 100644
index 0000000..cec61bc
--- /dev/null
+++ b/templates/_checked_out.html.ep
@@ -0,0 +1,12 @@
+<div class="card grey darken-4">
+ <div class="card-content white-text">
+ <span class="card-title">Ausgecheckt</span>
+ <p>Aus <%= $status->{train_type} %> <%= $status->{train_no} %>
+ bis <%= $status->{arr_name} %></p>
+ </div>
+ <div class="card-action">
+ <a class="action-undo" data-id="<%= $status->{journey_id} %>">
+ <i class="material-icons">undo</i> Rückgängig?
+ </a>
+ </div>
+</div>