summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-04 18:26:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-04 18:26:53 +0200
commite2598df25ba089bbdef12777048ba68b7b119926 (patch)
tree6e0d8293729f527c26acce193e50b435fe18feca /templates
parentb0ad209a234ffb447ac56b89be6e43a3ecec4ae7 (diff)
Allow journey deletion
See issue #3
Diffstat (limited to 'templates')
-rw-r--r--templates/journey.html.ep15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index 4050e61..99285c1 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -128,4 +128,19 @@
</table>
</div>
</div>
+ <div class="row">
+ <div class="col s3 m3 l3">
+ </div>
+ <div class="col s6 m6 l6 center-align">
+ <a class="waves-effect waves-light red btn action-delete"
+ data-id="<%= join(q{,}, @{$journey->{ids}}) %>"
+ data-checkin="<%= $journey->{checkin}->epoch %>"
+ data-checkout="<%= $journey->{checkout}->epoch %>">
+ <i class="material-icons left">delete_forever</i>
+ Löschen
+ </a>
+ </div>
+ <div class="col s3 m3 l3">
+ </div>
+ </div>
% }