-
Notifications
You must be signed in to change notification settings - Fork 0
/
timekeeping.html
66 lines (61 loc) · 1.97 KB
/
timekeeping.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script src="src/scripting.js"></script>
<link rel="stylesheet" href="src/stylesheet.css">
<title>Timekeeping</title>
</head>
<body>
<main>
<div id="resetButtons">
<label id="orgODO"></label>
<input type="button" value="Organiser's ODO" onclick="addODO();">
<input type="button" value="Fix Average Speed" onclick="avgSpeedFix();">
<input type="button" value="Save Table" onclick="doSave();">
</div>
<div id="buttons">
<input type="button" value="Calculate" onclick="gblCalcClicked=true; printResults();">
<input type="button" value="Change Average Speed" onclick="saveAvgSpeed();">
<input type="button" value="Add Check" onclick="addCheck();">
<input type="button" value="Add Manned Check" onclick="addManCheck();">
<input type="button" value="Add X-Board" onclick="addXBoard();">
<input type="button" value="Add Minute" onclick="addMinute();">
<input type="button" value="Add Mileage" onclick="addMileage();">
</div>
<div id="outputs">
<div id="clock">
<input type="button" value="Start Clock" onclick="this.disabled=true; clockButton();">
<p id="clockText">00:00:00</p>
<div id="clockDispBtns">
<label for="24hr"><input type="radio" name="clockDisp" id="24hr" value="24hr" checked>24hr</label>
<label for="12hr"><input type="radio" name="clockDisp" id="12hr" value="12hr">12hr</label>
</div>
</div>
<div id="time">
<h2 id="calcTime">00:00:00</h2>
</div>
</div>
<div id="resultTable">
<table id="resultTable_table">
<thead>
<tr>
<th>Location</th>
<th>ODO</th>
<th>Ideal Time</th>
<th>Actual Time</th>
<th>Average Speed</th>
<th>Checks</th>
<th>Mins Added</th>
<th>Kms Added</th>
</tr>
</thead>
<tbody id="resultTable_tbody">
</tbody>
</table>
</div>
</main>
<script>go();</script>
</body>
</html>