forked from ryanemmm/arrivals-board
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharrivals.html
executable file
·48 lines (40 loc) · 1.1 KB
/
arrivals.html
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
<!DOCTYPE html>
<html>
<head>
<title>Arrivals/Departurs Board</title>
<link rel="stylesheet" type="text/css" href="arrivals.css">
</head>
<body>
<button onclick="flipper.update_board()">update</button>
<ol id="board"></ol>
<script type="text/template" role="row" id="template_row">
<li></li>
</script>
<script type="text/template" role="letter" id="template_letter">
<span class="letter" id="">
<span class="top"></span>
<span class="bottom">-</span>
<span class="flap">
<span class="back"></span>
<span class="front">-</span>
</span>
</span>
</script>
<script type="text/javascript" src="arrivals.js"></script>
<script>
var content = [
"ΒΑΡΚΕΛΩΝΗ",
"ΣΟΦΙΑ",
"how about numbers: 1234",
"hello world",
"hi",
"something else",
"yay pie",
"does this work?",
//TODO: fix sanitizing? -> "chars: ()5k2j!@$%",
"tom and jerry"
],
flipper = new flip('board', content);
</script>
</body>
</html>