summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-04-19 18:26:20 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-04-19 18:26:20 +0200
commitf5fd6d42e11bc8f6a5bd84a3653a40fa03ed5497 (patch)
treea90e7c9cbee985ac44403fdcadb764c4966246ab /templates
parent020fe826606e8d02d326c7de8a8df758588f424b (diff)
Add CSV Export
Diffstat (limited to 'templates')
-rw-r--r--templates/history.html.ep15
1 files changed, 11 insertions, 4 deletions
diff --git a/templates/history.html.ep b/templates/history.html.ep
index cb3d332..3751741 100644
--- a/templates/history.html.ep
+++ b/templates/history.html.ep
@@ -41,22 +41,29 @@
<h2>Ausfälle und Verspätungen</h2>
<div class="row">
<div class="col s12 m12 l5 center-align">
- <a href="/cancelled" class="waves-effect waves-light btn"><i class="material-icons left">cancel</i> Zugausfälle</a>
+ <a href="/cancelled" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">cancel</i> Zugausfälle</a>
</div>
<div class="col s12 m12 l2">&nbsp;</div>
<div class="col s12 m12 l5 center-align">
- <a href="/fgr" class="waves-effect waves-light btn"><i class="material-icons left">feedback</i> Fahrgastrechte</a>
+ <a href="/fgr" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">feedback</i> Fahrgastrechte</a>
</div>
</div>
<h2>Rohdaten</h2>
<div class="row">
<div class="col s12 m12 l5 center-align">
- <a href="/history.json" class="waves-effect waves-light btn"><i class="material-icons left">cloud</i> JSON-Export</a>
+ <a href="/history.json" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">cloud</i> JSON-Export</a>
</div>
<div class="col s12 m12 l2">&nbsp;</div>
<div class="col s12 m12 l5 center-align">
- <a href="/journey/add" class="waves-effect waves-light btn"><i class="material-icons left">add</i> Neue Fahrt</a>
+ <a href="/history.csv" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">list</i> CSV-Export</a>
+ </div>
+</div>
+<div class="row">
+ <div class="col s12 m12 l5 center-align">&nbsp;</div>
+ <div class="col s12 m12 l2">&nbsp;</div>
+ <div class="col s12 m12 l5 center-align">
+ <a href="/journey/add" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">add</i> Neue Fahrt</a>
</div>
</div>