summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-05-08 13:51:23 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-05-08 13:51:23 +0200
commit1823c4f669b0faace79bbb3af4fc57e7d5d166ef (patch)
treedb6dd0eb78575262dc6754aaa60b4be45514cbbf
parent2e5e35d929a7aa977dbebc280b6081bf49ad8a31 (diff)
clean tepmlate: popup: add some margins
-rw-r--r--public/default.css9
-rw-r--r--templates/clean.html.ep6
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: