summaryrefslogtreecommitdiff
path: root/templates/wagen.html.ep
blob: 9cf47939e8f71ac261dac35afb48ef1474cc37e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div class="container">
	% if ($wref->{s} and $wref->{p} and $wref->{ws}) {
		<p>
			<%= $wref->{s} %>: Gleis <%= $wref->{p} %> <%= $wref->{ws} %>
		</p>
	% }
	% if (defined $wref->{d}) {
		<div style="text-align: center;">
			% if ($wref->{d} == 0) {
				<i class="material-icons">arrow_back</i>
			% }
			% else {
				<i class="material-icons">arrow_forward</i>
			% }
		</div>
	% }
	% if ($wref->{e} eq 'u') {
		<div style="float: left;"><i class="material-icons">arrow_upward</i></div>
		<div style="float: right;"><i class="material-icons">arrow_upward</i></div>
	% }
	<div style="clear: both;">
		<a href="<%= $wagon_file %>"><img src="<%= $wagon_file %>" style="width: 100%;"></a>
	</div>
	% if ($wref->{e} eq 'd') {
		<div style="float: left;"><i class="material-icons">arrow_downward</i></div>
		<div style="float: right;"><i class="material-icons">arrow_downward</i></div>
	% }
	% if (defined $wref->{d}) {
		<div style="text-align: center;">
			% if ($wref->{d} == 0) {
				<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
	</p>
</div>