forked from kevin-roark/socket.io-computer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.mustache
More file actions
51 lines (48 loc) · 1.87 KB
/
Copy pathindex.mustache
File metadata and controls
51 lines (48 loc) · 1.87 KB
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
<!DOCTYPE html>
<html>
<head>
<title>socket.io makes computers</title>
<link rel="stylesheet" href="css/main.css" />
<meta name="viewport" content="width=device-width, user-scalable=no">
</head>
<body>
<p style="text-align: center; font-size: 12px; color: #999;">Click the screen to request a turn and control the computer!</p>
<div id="xp-window">
<div class="xp-image">
{{#img}}
<img alt="XP" src="data:image/png;base64,{{img}}" />
{{/img}}
{{^img}}
<img alt="XP" src="/blank.gif" />
{{/img}}
</div>
</div>
<div style="height: 15px;" class="turn-timer"></div>
<div class="user-count-wrapper">
<span class="user-count">
Users logged in: <span class="count">{{count}}</span>
</span>
</div>
<div class="restart-countdown-wrapper">
<span class="restart-countdown">
Restart countdown: <span class="countdown-time">15:00</span>
</span>
</div>
<p class="technical-notes">
To avoid misusage, we re-snapshot the computer every 15 minutes! <a href="https://github.com/kevin-roark/socket.io-computer">[Source code]</a>
</p>
<script>
var config = {}; config.io = "{{{io}}}";
</script>
<script src="/build.js"></script>
<p style="margin-top: 30px; text-align: center; font-size: 11px; color: #666;">Powered by <a href="http://socket.io">Socket.IO</a></p>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-18488944-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>