summaryrefslogtreecommitdiff
path: root/share/template.html
blob: f66ec6efa149c517529f0540237ce5a7454caafb (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
<!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: absolute;
		left: 1em;
		top: 1em;
		width: 28em;
		height: 4.5em;
		border: 0.7em solid #000066;
	}

	div.display div {
		overflow: hidden;
		position: absolute;
	}

	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.destination {
		top: 1.2em;
		left: 2.9em;
		width: 8em;
		font-size: 2em;
	}

	div.platform {
		top: 0em;
		right: 0em;
		font-size: 3em;
	}

	div.info {
		top: 0em;
		left: 5.8em;
		width: 16.5em;
		background-color: white;
		color: #0000ff;
	}

	</style>
</head>
<body>
<div class="display">
<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>
<div class="platform">
<TMPL_VAR platform>
</div>
<TMPL_IF info>
<div class="info">
<TMPL_VAR info>
</div>
</TMPL_IF>
</div>
</body>
</html>