-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
286 lines (221 loc) · 14 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!DOCTYPE html>
<html>
<head>
<!-- <link rel='stylesheet' href="stylesheet.css"> -->
<link rel='stylesheet' href="w3.css">
<link rel='stylesheet' href="w3-theme-red.css">
<link rel='stylesheet' href="style.css">
<link rel="icon" href="logo.ico" type="image/ico" sizes="16x16">
<meta name=viewport content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="eventData.js"></script>
<script src="teamData.js"></script>
<script src="scheduleData.js"></script>
<script src="inputform.js"></script>
<script src="incrementing.js"></script>
</head>
<!-- Division Between head and body -->
<body class="w3-theme-d3">
<form onsubmit="return false">
<div class="w3-panel w3-theme-l3 w3-padding-large w3-round-xxlarge w3-border w3-border-black w3-center"><h1>2017 FRC Match Scouting</h1></div>
<ul class="w3-navbar w3-theme-l3 w3-round-xxlarge w3-border-black">
<li><a href='index.html'>Match Scouting</a></li>
<li><a href="pitscouting.html">Pit Scouting</a></li>
<li><a href="schedule.php">Schedule</a></li>
<li><a href="teams.php">Team List</a></li>
<!-- <li><a href="admin.html">Admin</a></li> -->
<li><a href="csv.php">Match CSV</a></li>
<li><a href="pitcsv.php">Pit CSV</a></li>
<li><a href="uploadPic.html">Upload Photos</a></li>
<li><a href="teamReport.html">Report</a></li>
<!-- <li><a href="intro.html">Intro</a></li> -->
</ul>
<!-- Match Selection -->
<div class="w3-panel w3-theme-l3 w3-padding-large w3-round-xxlarge w3-border w3-border-black w3-text-white w3-margin-left w3-margin-right ">
<p class="status">Status text will display here</p>
<label for="matchnum">Match</label><br>
<input type="number" name="matchnum" id="matchnum" min="1" max = "100" value="1">
<strong><span style="margin-left: 10px" id="event_info"></span></strong><br>
<!-- Team Selection -->
<div class = "dropdown">
<h2>Team Number:</h2>
<button id="teamRefresh">Refresh Teams</button><br><br>
<select id="team" name="team">
<option value=100>100</option>
<option value=200>200</option>
<option value=300>300</option>
<option value=400>400</option>
<option value=500>500</option>
<option value=600>600</option>
</select><span id="nickname" style="margin-left: 10px;">team nickname</span>
</div>
<br>
<label for="practice">Practice?</label>
<input type="checkbox" name="practice" id="practice"><br>
<h3> Scout Name:</h3>
<input type="text" name="scout_name" value="" id="scout_name">
</div>
<!-- Autonomous -->
<div class="w3-panel w3-theme-l3 w3-padding-large w3-round-xxlarge w3-border w3-border-black w3-text-white w3-margin-left w3-margin-right ">
<div class="title"><h1>Autonomous</h1></div>
<div>
<label for="auto_pos">Position</label>
<select id="auto_pos" name="auto_pos">
<option value="boil">Boiler Side</option>
<option value="mid">Middle</option>
<option value="load">Loading Side</option>
</select><br><br>
<label for="baseline">Baseline</label>
<input type="checkbox" name="baseline" id="baseline">
</div>
<br>
High Goal Made (estimated):<br>
<button id="minusFiveautohighmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneautohighmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="auto_high_made" value="0" id="auto_high_made" min="0" max = "250">
<button id="plusOneautohighmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveautohighmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
High Goal Missed (estimated):<br>
<button id="minusFiveautohighmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneautohighmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="auto_high_miss" value="0" id="auto_high_miss" min="0" max = "250">
<button id="plusOneautohighmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveautohighmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
Low Goal Made (estimated):<br>
<button id="minusFiveautolowmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneautolowmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="auto_low_made" value="0" id="auto_low_made" min="0" max = "250">
<button id="plusOneautolowmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveautolowmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
Low Goal Missed (estimated):<br>
<button id="minusFiveautolowmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneautolowmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="auto_low_miss" value="0" id="auto_low_miss" min="0" max = "250">
<button id="plusOneautolowmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveautolowmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
<br>
<div>
<label for="auto_gear_made">Auto Gear Successful</label>
<input type="checkbox" name="auto_gear_made" id="auto_gear_made"><br>
<label for="auto_gear_miss">Auto Gear Missed</label>
<input type="checkbox" name="auto_gear_miss" id="auto_gear_miss"><br>
</div>
<div>
<label for="auto_incap">Incapacitated (Auto)</label>
<input type="checkbox" name="auto_incap" id="auto_incap">
</div>
</div>
<!-- TeleOp -->
<div class="w3-panel w3-theme-l3 w3-padding-large w3-round-xxlarge w3-border w3-border-black w3-text-white w3-margin-left w3-margin-right ">
<div class="title"><h2>TeleOp</h2></div>
Gears Made:<br>
<button id="minusFiveGearsMade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneGearsMade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="tele_gear_made" value="0" id="tele_gear_made" min="0" max = "250">
<button id="plusOneGearsMade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveGearsMade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
Gears Missed:<br>
<button id="minusFiveGearsMissed" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneGearsMissed" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="tele_gear_miss" value="0" id="tele_gear_miss" min="0" max = "250">
<button id="plusOneGearsMissed" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveGearsMissed" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
Cycles:<br>
<button id="minusFiveCycles" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneCycles" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="cycles" value="0" id="cycles" min="0" max = "250">
<button id="plusOneCycles" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveCycles" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
High Goal Made (estimated):<br>
<button id="minusFivetelehighmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOnetelehighmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="tele_high_made" value="0" id="tele_high_made" min="0" max = "250">
<button id="plusOnetelehighmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFivetelehighmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
High Goal Missed (estimated):<br>
<button id="minusFivetelehighmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOnetelehighmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="tele_high_miss" value="0" id="tele_high_miss" min="0" max = "250">
<button id="plusOnetelehighmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFivetelehighmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
Low Goal Made (estimated):<br>
<button id="minusFivetelelowmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOnetelelowmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="tele_low_made" value="0" id="tele_low_made" min="0" max = "250">
<button id="plusOnetelelowmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFivetelelowmade" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
Low Goal Missed (estimated):<br>
<button id="minusFivetelelowmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOnetelelowmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="tele_low_miss" value="0" id="tele_low_miss" min="0" max = "250">
<button id="plusOnetelelowmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFivetelelowmiss" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
Hoppers Dumped:<br>
<button id="minusFiveHoppers" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneHoppers" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="hopper" value="0" id="hopper" min="0" max = "250">
<button id="plusOneHoppers" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveHoppers" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
<br>
<label for="tele_incap">Incapacitated</label>
<input type="checkbox" name="tele_incap" id="tele_incap">
<br>
<label for="defense">Defense</label>
<input type="checkbox" name="defense" id="defense">
<br>
<label for="climb_made">Climb Successful</label>
<input type="checkbox" name="climb_made" id="climb_made">
<br>
<label for="climb_miss">Climb Attempt Unsuccessful</label>
<input type="checkbox" name="climb_miss" id="climb_miss">
</div>
<div class="w3-panel w3-theme-l3 w3-padding-large w3-round-xxlarge w3-border w3-border-black w3-text-white w3-margin-left w3-margin-right ">
<h1>Penalties</h1>
<label for="technical">Technical</label>
<br>
<button id="minusFiveTechnical" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOneTechnical" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="technical" value="0" id="technical" min="0" max = "250">
<button id="plusOneTechnical" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFiveTechnical" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
<label for="nontechnical">Non-Technical</label>
<br>
<button id="minusFivenontechnical" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-5</button>
<button id="minusOnenontechnical" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">-1</button>
<input type="number" name="nontechnical" value="0" id="nontechnical" min="0" max="250">
<button id="plusOnenontechnical" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+1</button>
<button id="plusFivenontechnical" class="w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large">+5</button>
<br>
</div>
<div class="w3-panel w3-theme-l3 w3-padding-large w3-round-xxlarge w3-border w3-border-black w3-text-white w3-margin-left w3-margin-right">
<h3>Comment Section</h3>
<!--Comments:<br>
<input type="text" name="comments" value="" id="comments">-->
<textarea placeholder="Insert Comments Here" name="comments" value="" id="comments" style="width:300px;height:150px;"></textarea>
</div>
<input type="submit" value="Submit" id="submit" class="w3-btn-block w3-theme-l3 w3-border w3-border-black w3-text-red w3-round-large w3-text-white w3-margin-left w3-margin-right">
</form>
<p class="status">Status text will display here</p>
<script>
jQuery(function ($) {
$('.w3-btn w3-theme-l2 w3-border w3-border-black w3-round-large').click(function () {
$(this).toggleClass('w3-btn w3-theme-d3 w3-border w3-border-black w3-round-large')
})
})
</script>
</body>
</html>