summaryrefslogtreecommitdiff
path: root/templates/wagen.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-25 17:27:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-25 17:27:57 +0100
commit0f9dde3810a3b86e0769e6013a19ccf0faeba0a3 (patch)
treecd2c4a5f2b9914f1e6d335f00038c12ebe66d209 /templates/wagen.html.ep
parent7d29c0f25f4d7e4e47ea726bcdac1985da866126 (diff)
add wagon images for IC and ICE 1/2/4
IC2, ICE 3 and ICE T will follow soon.
Diffstat (limited to 'templates/wagen.html.ep')
-rw-r--r--templates/wagen.html.ep17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/wagen.html.ep b/templates/wagen.html.ep
new file mode 100644
index 0000000..49a7274
--- /dev/null
+++ b/templates/wagen.html.ep
@@ -0,0 +1,17 @@
+<div class="container">
+ <div>
+ <a href="<%= $wagon_file %>"><img src="<%= $wagon_file %>" style="width: 100%;"></a>
+ </div>
+ <p>
+ % if ($wref->{s} and $wref->{p} and $wref->{ws}) {
+ Position in <%= $wref->{s} %>: Gleis <%= $wref->{p} %> Abschnitt <%= $wref->{ws} %>
+ % }
+ % elsif ($wref->{s} and $wref->{p}) {
+ <%= $wref->{s} %> Gleis <%= $wref->{p} %>
+ % }
+ </p>
+ <p class="copyright">
+ Abbildung © Seemanngrafik d.i.p. im Auftrag der Deutschen Bahn AG,
+ lizensiert unter CC-BY-4.0
+ </p>
+</div>