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
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -71,3 +71,8 @@ ul.suggestions {
		padding-bottom: 0.5rem;
	}
}

table.departures tr.now td {
	padding-top: 2em;
	padding-bottom: 2em;
}
+2 −2
Original line number Diff line number Diff line
<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>
+2 −2
Original line number Diff line number Diff line
<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>