Skip to content
Snippets Groups Projects
Unverified Commit 155ac555 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

station board: make 'now' marker easier to distinguish

parent f4d71b4d
No related branches found
No related tags found
No related merge requests found
......@@ -71,3 +71,8 @@ ul.suggestions {
padding-bottom: 0.5rem;
}
}
table.departures tr.now td {
padding-top: 2em;
padding-bottom: 2em;
}
<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>
......
<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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment