-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmatch_view.html
84 lines (77 loc) · 3.38 KB
/
match_view.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
<html>
<head>
<title>Robot Scouting Results</title>
</head>
<link href="css/default.css" type="text/css" rel = "stylesheet">
<div class = "formb1">
<body>
<a href="index.html"><img src="assets/Scouting4.png" alt="Scouting4.png" width="639" height="200"></a>
</br><ul id="header"><li><a href="match_entry.html">Match entry</a></li><li><a href="robot_attributes.html">Robot Data</a></li><li><a href="heatmap.html">Heatmap Enter</a></li></ul><ul id="header"><li><a href="match_view.html">View Matches</a></li><li><a href="php/robot_view.php">View Robots</a></li><li><a href="graph.html">Graphs</a></li><li><a href="analysis.html">Analysis</a></li><li><a href="heatmap_view.html">Heatmap View</a></li></ul>
<h1>Robot Data Search</h1>
<h2>Select All That Apply:</h2>
<button onclick="checkAll()">Check All</button>
<button onclick="unCheckAll()">Uncheck All</button>
<form action="php/match_view.php" method="post">
Tags:<input type="text" name="hashtag">
<table border ="0" align="center">
<tr>
<td>Autonomous:<td><input type= "checkbox" name="auton" id="a" checked></td></td>
<td>Passes Over Truss:<td><input type="checkbox" name="truss_toss" id="b" checked></td></td>
<td>Technical Problems:<td><input type= "checkbox" name="tech_problems" id="c" checked></td></td>
</tr>
<tr>
<td>Catches:<td><input type="checkbox" name="catches" id="d" checked></td></td>
<td>Passes:<td><input type="checkbox" name="passes" id="e" checked></td></td>
<td>Received:<td><input type="checkbox" name="received" id="f" checked></td></td>
</tr>
<tr><br>
<td>High goals:<td><input type="checkbox" name="goal_high" id="g" checked></td></td>
<td>Low goals:<td><input type="checkbox" name="goal_low" id="h" checked></td></td>
<td>Points defended:<td><input type="checkbox" name="defense" id="i" checked></td></td>
<br></tr><tr>
<td>Fouls:<td><input type="checkbox" name="fouls" id="j" checked></td></td>
<td>Tags:<td><input type="checkbox" name="tags" id="k" checked></td></td>
<td>Notes:<td><input type="checkbox" rows="10" cols="60" name="notes" id="l" checked></td></td>
</tr>
</table>
<br>
<select name="comp" id="comp">
<option value="flr">flr</option>
<option value="buckeye">buckeye</option>
<option value="championships">championships</option>
</select></br>
<input type = "submit" name = "searchByTags">
</form>
<script>
function checkAll(){
document.getElementById("a").checked=true;
document.getElementById("b").checked=true;
document.getElementById("c").checked=true;
document.getElementById("d").checked=true;
document.getElementById("e").checked=true;
document.getElementById("f").checked=true;
document.getElementById("g").checked=true;
document.getElementById("h").checked=true;
document.getElementById("i").checked=true;
document.getElementById("j").checked=true;
document.getElementById("k").checked=true;
document.getElementById("l").checked=true;
}
function unCheckAll(){
document.getElementById("a").checked=false;
document.getElementById("b").checked=false;
document.getElementById("c").checked=false;
document.getElementById("d").checked=false;
document.getElementById("e").checked=false;
document.getElementById("f").checked=false;
document.getElementById("g").checked=false;
document.getElementById("h").checked=false;
document.getElementById("i").checked=false;
document.getElementById("j").checked=false;
document.getElementById("k").checked=false;
document.getElementById("l").checked=false;
}
</script>
</body>
</div>
</html>