summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-03-29 21:42:28 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-03-29 21:42:28 +0200
commit5ff936e35a59ea7da2011dfbdcb4f2e261fb8551 (patch)
treee0b00974e2e6812eef122b1ec63e906eb90e9f9e
parentdd87d4e438674c86c11221617e5273f7534fc865 (diff)
individuallist: strike through canceled departures
-rw-r--r--public/css/default.css5
-rw-r--r--templates/individuallist.html.ep2
2 files changed, 6 insertions, 1 deletions
diff --git a/public/css/default.css b/public/css/default.css
index b6f7ac8..8d76d39 100644
--- a/public/css/default.css
+++ b/public/css/default.css
@@ -62,6 +62,11 @@ div.individuallist td {
padding: 0.2em;
}
+div.individuallist .cancelled {
+ text-decoration: line-through;
+ text-decoration-color: red;
+}
+
div.individuallist span.undelay {
color: #008800;
}
diff --git a/templates/individuallist.html.ep b/templates/individuallist.html.ep
index 2c57ca3..b7b7535 100644
--- a/templates/individuallist.html.ep
+++ b/templates/individuallist.html.ep
@@ -15,7 +15,7 @@ Keine Daten mit diesen Parametern gefunden.
<td class="station">
%= $station
</td>
-<td class="time">
+<td class="time <%= $canceled ? 'cancelled' : q{} %>">
%= $time
% if (defined $delay) {
% if ($delay < 0) {