-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkiosk.html
91 lines (86 loc) · 3.51 KB
/
kiosk.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
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="main.css">
</head>
<body>
<div id="header">
<img src="logo.svg" style="width:1.2em; height:1.2em; position: relative; top: 0.15em; left: 0.1em">
<span id="space">Leeds Hackspace</span><span id="status"> · <span id="temp"></span> · <span id="state"></span> <span id="here"></span></span> <span id="time"></span>
</div>
<table>
<tr>
<td>
<div id="twitter" class="pane">
<a class="twitter-timeline" href="https://twitter.com/leedshackspace"
data-widget-id="549942374190055424"
data-chrome="noheader nofooter noscrollbar"
height="400">Tweets by @leedshackspace</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<script src="twitter.js"></script>
<script>
twitter_fixup(document.getElementById('twitter'), "twitter.css");
</script>
<div id="list" class="pane"></div>
</td>
<td>
<div id="irc" class="pane">
<!--<iframe id="irc-frame" src="http://localhost:8080"></iframe>-->
<iframe id="irc-frame" src="slack.html" style="font-size: 1.4em"></iframe>
</div>
<!-- <div id="cam" class="pane">
<div id="cam-caption">
<span id="cam-rotate-status">
<span id="cam-pause-icon">
<svg x="0px" y="0px" width="12.5px" height="14.4px" viewBox="0 0 12.5 14.4">
<rect x="0" y="0" fill="#FFFFFF" width="4.8" height="14.4"/>
<rect x="7.7" y="0" fill="#FFFFFF" width="4.8" height="14.4"/>
</svg>
</span>
<span id="cam-wait-timer" class="hide">
<svg viewBox="0 0 16 16">
<circle class="edge" r="8" cx="8" cy="8" />
<circle class="pie animate" r="8" cx="8" cy="8" />
</svg>
</span>
</span>
<span id="cam-name"></span>
<span id="cam-ref"></span>
</div>
<img>
</div>-->
<!--<div id="music" class=pane>Now playing</div>-->
</td>
</tr>
</table>
<script src="rss.js"></script>
<script src="date.js"></script>
<script>
(function() {
var el=document.getElementById("list");
function draw() {
window.setTimeout(draw, 120*1000);
// topics.xml is reverse proxied via Apache to Google Groups
rss("topics.xml?num=50", el);
}
draw();
})();
</script>
<script src="CamController.js"></script>
<script>
var camController = new CamController(document.getElementById("cam"), document.getElementById("cam-name"), document.getElementById("cam-ref"), document.getElementById("cam-pause-icon"), document.getElementById("cam-wait-timer"), 15000);
camController.startRotation();
</script>
<script src="status.js"></script>
<script>getstatus()</script>
<!-- <script src="irc-command.js"></script>
<div id="bigmessage">
<div id="bigmessage-text"></div>
</div>
<script src="irc/bigtext.js"></script>
<script src="irc/cam.js"></script>
-->
</body>
</html>