From 1823c4f669b0faace79bbb3af4fc57e7d5d166ef Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 8 May 2015 13:51:23 +0200 Subject: clean tepmlate: popup: add some margins --- public/default.css | 9 +++++++++ templates/clean.html.ep | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/public/default.css b/public/default.css index 4582295..5d15e11 100644 --- a/public/default.css +++ b/public/default.css @@ -136,6 +136,15 @@ div.displayclean li .moreinfo .mheader { div.displayclean li .moreinfo .reason, div.displayclean li .moreinfo .minfo { color: #ff0000; + margin-bottom: 0.6em; +} + +div.displayclean li .moreinfo .timeinfo { + margin-bottom: 0.6em; +} + +div.displayclean li .moreinfo .mroute { + margin-bottom: 0.6em; } div.displayclean li .dest { diff --git a/templates/clean.html.ep b/templates/clean.html.ep index 69a8730..69f954f 100644 --- a/templates/clean.html.ep +++ b/templates/clean.html.ep @@ -57,6 +57,7 @@ % } % if (not $departure->{is_cancelled}) { +
% if ($departure->{sched_arrival}) { Ankunft: <%= $departure->{sched_arrival} %> % if ($departure->{arrival} and $departure->{arrival} ne $departure->{sched_arrival}) { @@ -71,9 +72,12 @@ Abfahrt: <%= $departure->{sched_departure} %> % }
% } +
% } % if ($departure->{route_post} and @{$departure->{route_post}}) { -Über: <%= join(' – ', @{$departure->{route_post} // q{???}}) %>
+
+Über: <%= join(' – ', @{$departure->{route_post} // q{???}}) %> +
% } % if ($departure->{moreinfo} and @{$departure->{moreinfo}}) { Meldungen: -- cgit v1.2.3