summaryrefslogtreecommitdiff
path: root/templates/wagen.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wagen.html.ep')
-rw-r--r--templates/wagen.html.ep20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/wagen.html.ep b/templates/wagen.html.ep
index 26edbf5..68cf221 100644
--- a/templates/wagen.html.ep
+++ b/templates/wagen.html.ep
@@ -4,9 +4,29 @@
<%= $wref->{s} %>: Gleis <%= $wref->{p} %> <%= $wref->{ws} %>
</p>
% }
+ % if (defined $wref->{d}) {
+ <div style="text-align: center;">
+ % if ($wref->{d} == 100) {
+ <i class="material-icons">arrow_back</i>
+ % }
+ % else {
+ <i class="material-icons">arrow_forward</i>
+ % }
+ </div>
+ % }
<div>
<a href="<%= $wagon_file %>"><img src="<%= $wagon_file %>" style="width: 100%;"></a>
</div>
+ % if (defined $wref->{d}) {
+ <div style="text-align: center;">
+ % if ($wref->{d} == 100) {
+ <i class="material-icons">arrow_back</i>
+ % }
+ % else {
+ <i class="material-icons">arrow_forward</i>
+ % }
+ </div>
+ % }
<p class="copyright">
Abbildung © Seemanngrafik d.i.p. im Auftrag der Deutschen Bahn AG,
lizensiert unter CC-BY-4.0