summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-08-27 21:33:06 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-08-27 21:33:06 +0200
commit155ac555f17fbacd084ca2317708c0d25b7e5477 (patch)
treeaf856ba824dbf00d374c4a9683e03dbf1c0184cd /templates
parentf4d71b4d9fb4191c07a9c200d32626175568b4fa (diff)
station board: make 'now' marker easier to distinguish
Diffstat (limited to 'templates')
-rw-r--r--templates/_departures_hafas.html.ep4
-rw-r--r--templates/_departures_iris.html.ep4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep
index 5b1a057..b737c05 100644
--- a/templates/_departures_hafas.html.ep
+++ b/templates/_departures_hafas.html.ep
@@ -1,4 +1,4 @@
-<table class="striped">
+<table class="striped departures">
<tbody>
% my $orientation_bar_shown = param('train');
% my $now_epoch = now()->epoch;
@@ -11,7 +11,7 @@
% }
% if (not $orientation_bar_shown and $result->datetime->epoch < $now_epoch) {
% $orientation_bar_shown = 1;
- <tr>
+ <tr class="now">
<td>
</td>
<td>
diff --git a/templates/_departures_iris.html.ep b/templates/_departures_iris.html.ep
index 45b4e46..161d049 100644
--- a/templates/_departures_iris.html.ep
+++ b/templates/_departures_iris.html.ep
@@ -1,4 +1,4 @@
-<table class="striped">
+<table class="striped departures">
<tbody>
% my $orientation_bar_shown = param('train');
% my $now_epoch = now()->epoch;
@@ -11,7 +11,7 @@
% }
% if (not $orientation_bar_shown and $result->departure->epoch < $now_epoch) {
% $orientation_bar_shown = 1;
- <tr>
+ <tr class="now">
<td>
</td>
<td>