summaryrefslogtreecommitdiff
path: root/templates
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
parentba97fd2a3ce5fffecb1dc5be62dbd370eb3235ae (diff)
improve wagon output in journey details
Diffstat (limited to 'templates')
-rw-r--r--templates/journey.html.ep8
-rw-r--r--templates/layouts/default.html.ep2
2 files changed, 5 insertions, 5 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} %>
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 51ffc46..bd9bf8d 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -10,7 +10,7 @@
% while (my ($key, $value) = each %{stash('twitter') // {}}) {
<meta name="twitter:<%= $key %>" content="<%= $value %>">
% }
- % my $av = 'v31'; # asset version
+ % my $av = 'v32'; # asset version
<link rel="icon" type="image/png" href="/static/<%= $av %>/icons/icon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/static/<%= $av %>/icons/icon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/static/<%= $av %>/icons/icon-96x96.png" sizes="96x96">