forked from CampbellRobotics/robotics-scoreboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·40 lines (37 loc) · 1.44 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
<!DOCTYPE html>
<html>
<head>
<title>Scoreboard</title>
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet">
<link href="styles/scoreboard.css" rel="stylesheet">
</head>
<body id="main_container">
<div id="leftscore" class="score_side" data-score-attr="left">
<h2>Left</h2>
<div class="plus button">+</div>
<h1 id="lscore" class="score" data-bind="text: scores.left"></h1>
<div class="minus button">-</div>
</div>
<div id="rightscore" class="score_side" data-score-attr="right">
<h2>Right</h2>
<div class="plus button">+</div>
<h1 id="rscore" class="score" data-bind="text: scores.right"></h1>
<div class="minus button">-</div>
</div>
<div id="timer">
<h1 id="timer_time"></h1>
<div id="timer_start" class="button">Start</div>
<div id="timer_reset" class="button">Reset</div>
</div>
<div id="check">
<form id="check_box">
<input type="checkbox" onclick="hide()"> Hide scores<br>
</form>
</div>
<p id="instructions">Left: +Q, -A; Right: +P -L; Space: Start/Stop timer; R: reset round</p>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.2/knockout-min.js"></script>
<script src="lib/Tone.min.js"></script>
<script src="js/index.js"></script>
</body>
</html>