summaryrefslogtreecommitdiff
path: root/templates/_train_details.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-19 09:52:03 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-19 09:52:03 +0200
commit1c68e7dcd6c5569569f4c320cfbd4625ec137994 (patch)
tree9661389022143996a29c58122ead9c0bc61e925d /templates/_train_details.html.ep
parentba1429382f8e0521d5c454f4ff9dc32868a1a935 (diff)
detail view: more prominent display of arrival, departure, and platform3.1.10
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r--templates/_train_details.html.ep37
1 files changed, 22 insertions, 15 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}) {