summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/_train_details.html.ep37
-rw-r--r--templates/layouts/app.html.ep2
-rw-r--r--templates/layouts/legacy.html.ep2
3 files changed, 24 insertions, 17 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index 231f64e..5feb8a6 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -40,19 +40,8 @@
-->
</div> <!-- mheader -->
<div class="mfooter">
- <div class="platforminfo">
-% if ($departure->{arrival_is_cancelled} and $departure->{departure_is_cancelled}) {
- <span class="minfo">Fahrt fällt aus</span>
-% }
-% else {
-% if ($departure->{scheduled_platform} and $departure->{platform}
-% and $departure->{scheduled_platform} ne $departure->{platform}) {
- <span class="minfo">Gleis <%= $departure->{platform} %></span>
-% }
-% elsif ($departure->{scheduled_platform} or $departure->{platform}) {
- Gleis <%= $departure->{platform} // $departure->{scheduled_platform} %>
-% }
-% }
+ <div class="dataline">
+ <div>
<div class="arrival">
% if ($departure->{is_cancelled} and $departure->{sched_arrival}) {
<span class="minfo">An: ––:––</span><br/>Plan: <%= $departure->{sched_arrival} %>
@@ -70,6 +59,24 @@
% }
% }
</div>
+ </div>
+ <div>
+ <div class="platform">
+% if ($departure->{arrival_is_cancelled} and $departure->{departure_is_cancelled}) {
+ <span class="minfo">Fahrt fällt aus</span>
+% }
+% else {
+% if ($departure->{scheduled_platform} and $departure->{platform}
+% and $departure->{scheduled_platform} ne $departure->{platform}) {
+ <span class="minfo">Gleis <%= $departure->{platform} %></span>
+% }
+% elsif ($departure->{scheduled_platform} or $departure->{platform}) {
+ Gleis <%= $departure->{platform} // $departure->{scheduled_platform} %>
+% }
+% }
+ </div>
+ </div>
+ <div>
<div class="departure">
% if ($departure->{is_cancelled} and $departure->{sched_departure}) {
<span class="minfo">Ab: ––:––</span><br/>Plan: <%= $departure->{sched_departure} %>
@@ -87,8 +94,8 @@
% }
% }
</div>
- </div> <!-- platforminfo -->
- <div style="clear: both;"></div>
+ </div>
+ </div> <!-- dataline -->
% if ($departure->{wr_link} or ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus')) {
<div class="verbose">
% if ($departure->{wr_link}) {
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index 58a2a2a..3c79173 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -18,7 +18,7 @@
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
- % my $av = 'v29'; # asset version
+ % my $av = 'v30'; # asset version
% if (session('theme') and session('theme') eq 'dark' or param('dark')) {
%= stylesheet "/static/${av}/css/dark.min.css", id => 'theme'
% }
diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep
index 31ff65f..223f07b 100644
--- a/templates/layouts/legacy.html.ep
+++ b/templates/layouts/legacy.html.ep
@@ -17,7 +17,7 @@
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
- % my $av = 'v29'; # asset version
+ % my $av = 'v30'; # asset version
%= stylesheet "/static/${av}/css/default.css"
%= stylesheet "/static/${av}/css/material-icons.css"
%= stylesheet "/static/${av}/css/jquery-ui.min.css"