diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-24 15:15:53 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-24 15:15:53 +0200 |
commit | 35b3fc44e9a6492ef1d7102f73b59da57401c3f8 (patch) | |
tree | b9c692f8f1051c0cb41d8aa27f9e23ebe4211031 | |
parent | aa0f9fdeeacf87fcba54f4afa6c3cbf5cf80c43e (diff) |
history: Use buttons for links
-rw-r--r-- | templates/cancelled.html.ep | 14 | ||||
-rw-r--r-- | templates/history.html.ep | 13 |
2 files changed, 17 insertions, 10 deletions
diff --git a/templates/cancelled.html.ep b/templates/cancelled.html.ep index ff5ba1e..88380ce 100644 --- a/templates/cancelled.html.ep +++ b/templates/cancelled.html.ep @@ -4,12 +4,16 @@ Die folgenden Zugfahrten haben nicht stattgefunden. </div> </div> + <div class="row"> - <div class="col s12"> - <ul> - <li><a href="/cancelled.json">JSON-Export</a> (Das Datenlayout ist noch nicht final)</li> - <li><a href="/history">Reguläre Zugfahrten</a></li> - </ul> + <div class="col s12 m12 l4 center-align"> + <a href="/history" class="waves-effect waves-light btn"><i class="material-icons left">timeline</i> Reguläre Fahrten</a> + </div> + <div class="col s12 m12 l4"> + + </div> + <div class="col s12 m12 l4 center-align"> + <a href="/cancelled.json" class="waves-effect waves-light btn"><i class="material-icons left">cloud</i> JSON-Export</a> </div> </div> diff --git a/templates/history.html.ep b/templates/history.html.ep index 10cc596..05f4777 100644 --- a/templates/history.html.ep +++ b/templates/history.html.ep @@ -8,11 +8,14 @@ </div> <div class="row"> - <div class="col s12"> - <ul> - <li><a href="/history.json">JSON-Export aller Zugfahrten</a> (Das Datenlayout ist noch nicht final)</li> - <li><a href="/cancelled">Ausgefallene Züge</a></li> - </ul> + <div class="col s12 m12 l4 center-align"> + <a href="/cancelled" class="waves-effect waves-light btn"><i class="material-icons left">cancel</i> Zugausfälle</a> + </div> + <div class="col s12 m12 l4"> + + </div> + <div class="col s12 m12 l4 center-align"> + <a href="/history.json" class="waves-effect waves-light btn"><i class="material-icons left">cloud</i> JSON-Export</a> </div> </div> |