summaryrefslogtreecommitdiff
path: root/templates/departures.html.ep
diff options
context:
space:
mode:
authorCassidy Dingenskirchen <admin@15318.de>2023-10-22 14:40:17 +0200
committerCassidy Dingenskirchen <admin@15318.de>2023-10-22 14:40:17 +0200
commit6a0f20e29f559cfecf7b2e914d989cc12d00cc35 (patch)
tree3c280d1e73578304620b46061097d8feb1bc10bb /templates/departures.html.ep
parent20b791c7682a5ec319498174c40c4b301e9b4716 (diff)
departure board: now-jump button and styled hafas/iris switch button
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r--templates/departures.html.ep24
1 files changed, 13 insertions, 11 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index c08e986..9235600 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -7,18 +7,20 @@
% }
</div>
</div>
-% if ($api_link) {
- <div class="row">
- <div class="col s12 center-align">
- % if (param('hafas')) {
- <a href="<%= $api_link %>">zum Schienenverkehr</a>
- % }
- % else {
- <a href="<%= $api_link %>">zum Nahverkehr</a>
- % }
- </div>
+<div class="row">
+ <div class="col s12">
+ % if ($api_link) {
+ % if (param('hafas')) {
+ <a href="<%= $api_link %>" class="btn-small"><i class="material-icons left">train</i>zum Schienenverkehr</a>
+ % }
+ % else {
+ <a href="<%= $api_link %>" class="btn-small"><i class="material-icons left">directions</i>zum Nahverkehr</a>
+ % }
+ % }
+ <a class="btn-small" href="#now"><i class="material-icons left">vertical_align_center</i>Jetzt</a>
</div>
-% }
+</div>
+
% my $have_connections = 0;
% if ($user_status->{checked_in}) {
<div class="row">