summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-12-14 23:07:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-12-14 23:07:54 +0100
commit9443441112d6d3f472daf3faae718dcb1889da19 (patch)
tree8dae49e7df0dfdd553f5fc02d2dc1d7440d30632
parent7b1c49622af1ff3598d606802025fad605508f04 (diff)
displayclean: add platform information
-rw-r--r--cgi/templates/clean.html.ep3
-rw-r--r--cgi/templates/layouts/default.html.ep4
2 files changed, 7 insertions, 0 deletions
diff --git a/cgi/templates/clean.html.ep b/cgi/templates/clean.html.ep
index 37ab205..085407b 100644
--- a/cgi/templates/clean.html.ep
+++ b/cgi/templates/clean.html.ep
@@ -32,6 +32,9 @@
% if ($departure->{delay}) {
<span class="delay">(+<%= $departure->{delay} %>)</span>
% }
+<span class="platform">
+%= $departure->{platform}
+</span>
</span>
<span class="time">
%= $departure->{time}
diff --git a/cgi/templates/layouts/default.html.ep b/cgi/templates/layouts/default.html.ep
index 0845f03..b7e2984 100644
--- a/cgi/templates/layouts/default.html.ep
+++ b/cgi/templates/layouts/default.html.ep
@@ -125,6 +125,10 @@
padding-right:7px;
}
+ div.displayclean li .countdown .platform {
+ font-weight: bold;
+ }
+
div.displayclean li .time {
color:#000000;
font-size:2.4em;