summaryrefslogtreecommitdiff
path: root/templates/journey.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-12-14 06:47:21 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-12-14 06:47:21 +0100
commitfc9595e99cbff8cb3297ab36033fa918bb7eda2b (patch)
tree610c4ca224685c421d4508eedb3fc0c3d068c486 /templates/journey.html.ep
parentba97fd2a3ce5fffecb1dc5be62dbd370eb3235ae (diff)
improve wagon output in journey details
Diffstat (limited to 'templates/journey.html.ep')
-rw-r--r--templates/journey.html.ep8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index ff5bc12..976dc4d 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -179,7 +179,7 @@
<%= $station->[0] %>
% }
% else {
- <span style="color: #666666;"><%= $station->[0] %></span>
+ <span style="color: #808080;"><%= $station->[0] %></span>
% }
% if ($journey->{edited} & 0x0010) {
@@ -191,12 +191,12 @@
% if ($journey->{user_data} and $journey->{user_data}{wagons}) {
<tr>
<th scope="row">Rollmaterial</th>
- <td>
+ <td class="wagons">
% for my $wagongroup (@{$journey->{user_data}{wagongroups} // []}) {
- Gruppe <%= $wagongroup %><br/>
+ Wagenverbund <%= $wagongroup %><br/>
% }
% for my $wagon (@{$journey->{user_data}{wagons}}) {
- <span style="margin-right: 0.5ex;"><%= substr($wagon->{id}, 0, 2) %></span><span style="margin-right: 0.5ex;"><%= substr($wagon->{id}, 2, 2) %></span><span style="margin-right: 0.5ex;"><%= substr($wagon->{id}, 4, 1) %></span><span style="margin-right: 0.5ex; font-weight: bold;"><%= substr($wagon->{id}, 5, 3) %></span><span style="margin-right: 0.5ex;"><%= substr($wagon->{id}, 8, 3) %></span><span style="margin-right: 1em;"><%= substr($wagon->{id}, 11) %></span>
+ <span><%= substr($wagon->{id}, 0, 2) %></span><span><%= substr($wagon->{id}, 2, 2) %></span><span><%= substr($wagon->{id}, 4, 1) %></span><span class="wagonclass"><%= substr($wagon->{id}, 5, 3) %></span><span class="wagonnum"><%= substr($wagon->{id}, 8, 3) %></span><span class="checksum"><%= substr($wagon->{id}, 11) %></span>
%= $wagon->{type}
% if ($wagon->{number}) {
– Wagen <%= $wagon->{number} %>