forked from jamesrom/jamesrom.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (72 loc) · 3.75 KB
/
index.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
<html>
<title>The Button Monitor</title>
<meta name="keywords" content="thebutton, button, reddit button, redguard">
<meta name="description" content="Monitor the button. A simple chart for /r/thebutton">
<meta name="author" content="James Romeril">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<!-- Suppress browser request for favicon.ico -->
<link id="favicon" rel="shortcut icon" href="#">
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<body>
<div id="loading-indicator">
<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Connecting...
</div>
<div class="container-fluid">
<div id="chart" class="col-md-12"></div>
<div id="stats">
<div>Started: <span class="start"></span></div>
<div>Time Difference: <span class="lag"></span>ms</div>
<div>Participants: <span class="participants"></span></div>
<div>Clicks: <span class="clicks"></span></div>
<div>Resets: <span class="resets"></span></div>
<div>Ticks: <span class="ticks"></span></div>
<div>Lowest time: <span class="lowest_time"></span></div>
<div>Average time: <span class="average_time"></span></div>
<div>Resets/min: <span class="resets_per_minute"></span></div>
<div>Purple clicks: <span id="purple-stats"><span class="total_purples"></span> <span class="purple_percentage"></span></span></div>
<div>Blue clicks: <span id="blue-stats"><span class="total_blues"></span> <span class="blue_percentage"></span></span></div>
<div>Green clicks: <span id="green-stats"><span class="total_greens"></span> <span class="green_percentage"></span></span></div>
<div>Yellow clicks: <span id="yellow-stats"><span class="total_yellows"></span> <span class="yellow_percentage"></span></span></div>
<div>Orange clicks: <span id="orange-stats"><span class="total_oranges"></span> <span class="orange_percentage"></span></span></div>
<div>Red clicks: <span id="red-stats"><span class="total_reds"></span> <span class="red_percentage"></span></span></div>
</div>
<div id="timer">
</div>
<div class="footer twitter">
Follow <a href="https://twitter.com/jamesrom">@jamesrom</a>
</div>
<div class="footer email">
Fork on <a href="https://github.com/jamesrom/jamesrom.github.io/">GitHub</a>. Thanks to <a href="https://github.com/jamesrom/jamesrom.github.io/graphs/contributors">contributors</a>.
</div>
<div class="footer web">
Visit <a href="http://jamesromeril.com/">jamesromeril.com</a>
</div>
</div>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/3.6.0/lodash.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js"></script>
<!-- Used to get valid "mousewheel" events in Firefox -->
<script src="jQuery_mousewheel_3_1_12.js"></script>
<script src="d3-tip.js"></script>
<script src="app.js"></script>
<script src="comms.js"></script>
<script src="chart.js"></script>
<script src="timer.js"></script>
<script src="stats.js"></script>
<script>
$(init);
</script>
<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-61555837-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>