forked from RocHack/rochack.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hackathon-timer.html
49 lines (48 loc) · 2.3 KB
/
hackathon-timer.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="static/hackathon-timer.css" />
<script type="text/javascript" src="/static/hackathon.js"></script>
<link href='//fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
<style type="text/css">
#snake-canvas {
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
</style>
<title>rochack - press T for snake AI!</title>
</head>
<body style="background-color:black">
<div class="container">
<div class="box timers">
<h1>current time</h1>
<div class="timer">
<span id="time-hours"></span>:<span id="time-mins"></span>:<span id="time-secs"></span> <span id="time-ampm"></span>
</div>
<h1>lunch in</h1>
<div class="timer">
<span id="food-hours"></span> <span class="time">hours</span>
<span id="food-mins"></span> <span class="time">minutes</span>
<span id="food-secs"></span> <span class="time">seconds</span>
</div>
<h1>hackathon ends in</h1>
<div class="timer">
<span id="hacker-hours"></span> <span class="time">hours</span>
<span id="hacker-mins"></span> <span class="time">minutes</span>
<span id="hacker-secs"></span> <span class="time">seconds</span>
</div>
</div>
<script>
initTimers();
</script>
<div class="box twitter">
<a class="twitter-timeline" href="https://twitter.com/search?q=%23rochacks" data-widget-id="455177978217914368">Tweets about "#rochacks"</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>
</div>
<canvas id="snake-canvas" width="800" height="800"></canvas>
<script src="static/snake.js" type="text/javascript"></script>
</body>
</html>