-
Notifications
You must be signed in to change notification settings - Fork 0
/
race.html
78 lines (71 loc) · 3.18 KB
/
race.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
<!DOCTYPE html>
<html>
<head>
<title>2010 Race Finishers</title>
<link href="styles/race.css" rel="stylesheet">
<script src="js/jquery-1.6.2.min.js"></script>
<script src="js/race.js"></script>
<script src="js/jquery.idTabs.min.js"></script>
</head>
<body>
<header>
<h2>2010 Race Finishers!</h2>
</header>
<div id="main">
<ul class="idTabs">
<li><a href="#finishers">All Finishers</a></li>
<li><a href="#male">Male Finishers</a></li>
<li><a href="#female">Female Finishers</a></li>
<li><a href="#about">About the Race</a></li>
<li><a href="#new">Add New Finisher</a></li>
</ul>
<div id="finishers">
<h4>All Finishers</h4>
<ul id="finishers_all">
<li>Name: Bob Hope. Time: 25:30</li>
<li>Name: John Smith. Time: 25:31</li>
<li>Name: Jane Smith. Time: 25:44</li>
</ul>
</div>
<div id="male">
<h4>Male Finishers</h4>
<ul id="finishers_m"></ul>
</div>
<div id="female">
<h4>Female Finishers</h4>
<ul id="finishers_f"></ul>
</div>
<div id="about">
<h4>About the race</h4>
This race is to raise awareness of something or other!
</div>
<div id="new">
<h4>Add New Finisher</h4>
<form id="addRunner" name="addRunner" action="service.php" method="POST">
<span class="field100">First Name:</span><input type="text" name="txtFirstName" id="txtFirstName" /> <br>
<span class="field100">Last Name:</span><input type="text" name="txtLastName" id="txtLastName" /> <br>
<span class="field100">Gender:</span><select id="ddlGender" name="ddlGender">
<option value="">--Please Select--</option>
<option value="f">Female</option>
<option value="m">Male</option>
</select>
<br>
<span class="field100">Finish Time:</span><input type="text" name="txtMinutes" id="txtMinutes" size="8" maxlength="2" /> (Minutes)
<br/>
<span class="field100"></span><input type="text" name="txtSeconds" id="txtSeconds" size="8" maxlength="2" /> (Seconds)
<br><br>
<button type="submit" name="btnSave" id="btnSave">Add Runner</button>
<input type="hidden" name="action" value="addRunner" id="action">
</form>
</div>
</div>
<footer>
<h4>Congratulations to all our finishers!</h4>
<span id="freq"></span>
<br/><br/>
Last Updated: <div id="updatedTime"></div>
<br/><br/>
<button id="freqSwitch"></button>
</footer>
</body>
</html>