forked from rubzo/difftimer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
134 lines (126 loc) · 4.24 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="difftimer.css">
</head>
<body>
<div class="visible" id="intro-screen">
<div class="menu-title" style="height: 20%">
<div class="text text-regular">
Differential Hive Timer<br/>(Report bugs to Stephen Kyle!)
</div>
</div>
<div class="button-container" style="height: 80%">
<div class="button" id="intro-select-custom" style="height: 50%">
<div class="text text-large">Choose your own custom settings...</div>
</div>
<div class="button" id="intro-select-tournament" style="height: 50%">
<div class="text text-large">Start with tournament settings selected (2mins, unlimited)</div>
</div>
</div>
</div>
<div class="hidden" id="menu-select-delta">
<div class="menu-title">
<div class="text text-regular">
A player will lose if they fall behind by how long?
</div>
</div>
<div class="button-container">
<div class="button" id="delta-secs-15">
<div class="text text-large">15 secs</div>
</div>
<div class="button" id="delta-secs-30">
<div class="text text-large">30 secs</div>
</div>
<div class="button" id="delta-secs-60">
<div class="text text-large">1 min</div>
</div>
<div class="button" id="delta-secs-120">
<div class="text text-large">2 mins</div>
</div>
<div class="button" id="delta-secs-180">
<div class="text text-large">3 mins</div>
</div>
</div>
</div>
<div class="hidden" id="menu-select-max">
<div class="menu-title">
<div class="text text-regular">
The game will be drawn after how long?
</div>
</div>
<div class="button-container">
<div class="button" id="max-mins-10">
<div class="text text-large">10 mins</div>
</div>
<div class="button" id="max-mins-15">
<div class="text text-large">15 mins</div>
</div>
<div class="button" id="max-mins-20">
<div class="text text-large">20 mins</div>
</div>
<div class="button" id="max-mins-25">
<div class="text text-large">25 mins</div>
</div>
<div class="button" id="max-mins-unlimited">
<div class="text text-large">Unlimited</div>
</div>
</div>
</div>
<div class="hidden" id="timer-view">
<div class="player-box">
<div id="player1-button" class="waiting-player upside-down">
<div id="diff-timer1" class="text text-delta-time">
00:00
</div>
<div id="player1-time" class="text text-elapsed-time">
00:00
</div>
</div>
</div>
<div id="player1-warning" class="equal-player">
<div class="text text-large visible">
▲ ▲ ▲ ▲ ▲
</div>
</div>
<div class="control-area">
<div class="restart-container">
<div id="restart-button">
<div class="control-button-text">
🔄
</div>
</div>
</div>
<div class="pause-container">
<div id="pause-button">
<div class="control-button-text">
⏸
</div>
</div>
</div>
</div>
<div id="player2-warning" class="equal-player">
<div class="text text-large visible">
▼ ▼ ▼ ▼ ▼
</div>
</div>
<div class="player-box">
<div id="player2-button" class="waiting-player">
<div id="diff-timer2" class="text text-delta-time">
00:00
</div>
<div id="player2-time" class="text text-elapsed-time">
00:00
</div>
</div>
</div>
</div>
<div>
<audio src="assets/sound/tock.wav" type="audio/wav" id="sound-tock" preload="auto"/>
<audio src="assets/sound/times-up.wav" type="audio/wav" id="sound-times-up" preload="auto"/>
<audio src="assets/sound/pause.ogg" type="audio/ogg" id="sound-pause" preload="auto"/>
<audio src="assets/sound/unpause.mp3" type="audio/mp3" id="sound-unpause" preload="auto"/>
</div>
<script src="difftimer.js"> </script>
</body>
</html>