summaryrefslogtreecommitdiff
path: root/templates/departures.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r--templates/departures.html.ep36
1 files changed, 20 insertions, 16 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 021e9ca..039ec28 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -1,24 +1,28 @@
<div class="row">
- <div class="col s12 center-align">
- <i class="tiny material-icons "><%= param('hafas') ? 'directions' : 'train' %></i>
- <b><%= $station %></b>
+ <div class="col s12">
+ <h2>
+ <i class="material-icons " aria-hidden="true"><%= param('hafas') ? 'directions' : 'train' %></i>
+ <%= $station %>
+ </h2>
% for my $related_station (sort { $a->{name} cmp $b->{name} } @{$related_stations}) {
- <br/>+ <%= $related_station->{name} %>
+ + <%= $related_station->{name} %> <br/>
% }
</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" aria-hidden="true">train</i>zum Schienenverkehr</a>
+ % }
+ % else {
+ <a href="<%= $api_link %>" class="btn-small"><i class="material-icons left" aria-hidden="true">directions</i>zum Nahverkehr</a>
+ % }
+ % }
+ <a class="btn-small" href="#now"><i class="material-icons left" aria-hidden="true">vertical_align_center</i>Jetzt</a>
</div>
-% }
+</div>
+
% my $have_connections = 0;
% if ($user_status->{checked_in}) {
<div class="row">
@@ -49,7 +53,7 @@
<i class="material-icons left" aria-hidden="true">undo</i> Rückgängig
</a>
<a class="action-checkout right" data-station="<%= $eva %>" data-force="1">
- <i class="material-icons left">gps_off</i>
+ <i class="material-icons left" aria-hidden="true">gps_off</i>
Hier auschecken
</a>
% }