blob: 6c5d26b19e39eb346e772d49d6b35db22e8d33d4 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<style type="text/css">
div.display {
background-color: #0000ff;
color: white;
font-family: Sans-Serif;
font-weight: bold;
position: relative;
margin-left: 1em;
margin-top: 1em;
float: left;
width: 28em;
height: 4.5em;
border: 0.7em solid #000066;
}
div.display div {
overflow: hidden;
position: absolute;
}
div.no-data {
top: 0.5em;
left: 1em;
font-size: 2em;
}
div.time {
top: 0em;
left: 0em;
font-size: 1.7em;
}
div.train {
left: 0em;
top: 1.8em;
}
div.via {
top: 1.5em;
left: 5.8em;
width: 17em;
height: 1em;
}
div.via span {
margin-right: 0.4em;
}
div.destination {
top: 1.32em;
left: 3.2em;
width: 9.2em;
font-size: 1.8em;
height: 1em;
}
div.platform {
top: 0em;
right: 0em;
font-size: 3em;
}
div.info {
top: 0em;
left: 5.8em;
width: 16.5em;
height: 1em;
background-color: white;
color: #0000ff;
}
</style>
</head>
<body>
<TMPL_LOOP departures>
<div class="display">
<div class="platform">
<TMPL_VAR platform>
</div>
<TMPL_IF train>
<div class="time">
<TMPL_VAR time>
</div>
<div class="train">
<TMPL_VAR train>
</div>
<div class="via">
<TMPL_LOOP via>
<span><TMPL_VAR stop></span>
</TMPL_LOOP>
</div>
<div class="destination">
<TMPL_VAR destination>
</div>
<TMPL_IF info>
<div class="info">
<TMPL_VAR info>
</div>
</TMPL_IF>
<TMPL_ELSE>
<div class="no-data">
Bitte Ansage beachten
</div>
</TMPL_IF>
</div> <!-- display -->
</TMPL_LOOP>
</body>
</html>
|