-
Notifications
You must be signed in to change notification settings - Fork 0
/
sailscore.html
51 lines (51 loc) · 1.74 KB
/
sailscore.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
<!DOCTYPE html>
<html>
<head>
<title>SailScore</title>
<link href="sailscore.css" rel="stylesheet">
<script type="text/javascript" src="sailscore.js"></script>
</head>
<body>
<div id="controls">
<span>
How many races? <select id="raceCount"></select>
</span>
<span>
How many discards? <select id="discardCount"></select>
</span>
<span>
DNF is:
<select id="dnfCount">
<option value="registrants" selected="selected">registrants+1</option>
<option value="finishers">finishers+1</option>
</select>
</span>
<span>
Score races <select id="firstScoredRace"></select> through <select id="lastScoredRace"></select>
</span>
<span>
<input type="button" id="saveButton" value="Save"></input>
<input type="file" id="loadButton" accept=".json" style="display: none" /><button type="button" id="loadInnerLabelButton" /><label for="loadButton" id="loadLabel">Load</label></button>
</span>
<span>
<input type="checkbox" id="hideControls" /> <label for="hideControls">Hide scoring entry</label>
</span>
<div>
<div id="errorMessage"></div>
</div>
</div>
<div id="flexWrapper">
<div id="entries">
Scores: <br/>
<div id="raceEntries"></div>
</div>
<div id="rightControls">
Classes: <br/>
<div id="racerClasses"><textarea id="racerClassEntry"></textarea></div>
Participants: <br/>
<div id="racerNames"><textarea id="racerNameEntry"></textarea></div>
</div>
</div>
<div id="scores"></div>
</body>
</html>