diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-05-08 13:51:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-05-08 13:51:23 +0200 |
commit | 1823c4f669b0faace79bbb3af4fc57e7d5d166ef (patch) | |
tree | db6dd0eb78575262dc6754aaa60b4be45514cbbf | |
parent | 2e5e35d929a7aa977dbebc280b6081bf49ad8a31 (diff) |
clean tepmlate: popup: add some margins
-rw-r--r-- | public/default.css | 9 | ||||
-rw-r--r-- | templates/clean.html.ep | 6 |
2 files changed, 14 insertions, 1 deletions
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 @@ % } </div> % if (not $departure->{is_cancelled}) { +<div class="timeinfo"> % 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} %> % } <br/> % } +</div> <!-- timeinfo --> % } % if ($departure->{route_post} and @{$departure->{route_post}}) { -Über: <span class="mroute"><%= join(' – ', @{$departure->{route_post} // q{???}}) %></span><br/> +<div class="mroute"> +Über: <%= join(' – ', @{$departure->{route_post} // q{???}}) %> +</div> <!-- mroute --> % } % if ($departure->{moreinfo} and @{$departure->{moreinfo}}) { Meldungen: |