-
Notifications
You must be signed in to change notification settings - Fork 1
/
HomePage.html
266 lines (202 loc) · 12.8 KB
/
HomePage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Scouting</title>
<link rel="stylesheet" href="mainScouter.css" />
</head>
<body>
<div id="finished-screen"
style="display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 1); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999;">
<h1 id="finished-text">Great job</h1>
<h6 style="color: #bababa; font-size: 0.75rem; display: inline; margin-left: 3%; margin-top: 10%;">
Ready for another one?</h6>
<button onclick="location.reload(); window.scrollTo(0, 0);"
style="background: white; border: none; border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; margin-top: 20px;">
<img src="images/arrow.png" alt="Arrow" style="width: 20px; height: 20px;">
</button>
</div>
<main>
<div class="box">
<div class="inner-box">
<div class="forms-wrap">
<div style="margin-top: 20px;"></div>
<div class="logo">
<img src="logo.png" alt="The Digital Eagles" />
<h4>The Digital Eagles</h4>
</div>
<div id="screen1" class="heading">
<div style="margin-top: 20px;"></div>
<h2>Hello, Scouter</h2>
<div style="margin-top: 10px;"></div>
<form>
<label for="matchNumber" style="font-family: 'Poppins', sans-serif; color: white;">Match: </label>
<input type="text" id="matchNumber" name="matchNumber" style="background: none;
border: none;
outline: none;
border-bottom: 1px solid #bbb; color: white; margin-left: 10px; width: 50px;">
<br><br>
<label for="teamNumber" style="font-family: 'Poppins', sans-serif; color: white;">Team Number: </label>
<input type="text" id="teamNumber" name="teamNumber" style="background: none;
border: none;
outline: none;
border-bottom: 1px solid #bbb; color: white; margin-left: 10px; width: 50px;">
</form>
<div style="margin-top: 20px;"></div>
<h6>Please click start when you hear countdown. Reload the page when mistakely clicked the button.</h6>
<div style="margin-top: 20px;"></div>
<button id="start-btn" class="start-btn" style="font-family: 'Poppins', sans-serif;">Start</button>
</div>
<div id="screen2" class="heading">
<h2>Auto</h2>
<div style="margin-top: 10px;"></div>
<h3 style="color: white; font-size: 1.4rem;" id="timer">0:15 s</h3>
<h6>Please watch the match closely to see how the robot scores and answer these questions below.</h6>
<br></br>
<h6>Look at the auto path(where the robot moves) draw its path below, press undo to reset the canvas.</h6>
<div style="margin-top: 20px;"></div>
<canvas id="drawing-canvas"></canvas>
<div style="margin-top: 20px;"></div>
<button class="autoimg-btn" id="undo-btn" style="font-family: 'Poppins', sans-serif;">Undo</button>
<h3 style="color: white; font-size: 1.4rem;" id="timer">Amp</h3>
<button id="minus-btn" class="plusmi-btn">-</button>
<span id="value"
style=" margin-left: 10px; margin-right: 10px; font-family: 'Poppins', sans-serif; color: white; font-size: 2rem;">0</span>
<button id="plus-btn" class="plusmi-btn">+</button>
<h3 style="color: white; font-size: 1.4rem;" id="timer">Speaker Shots Attempted</h3>
<button id="sminus-btn" class="plusmi-btn">-</button>
<span id="svalue"
style=" margin-left: 10px; margin-right: 10px; font-family: 'Poppins', sans-serif; color: white; font-size: 2rem;">0</span>
<button id="splus-btn" class="plusmi-btn">+</button>
<h3 style="color: white; font-size: 1.4rem;">Speaker Shots Made</h3>
<button id="smminus-btn" class="plusmi-btn">-</button>
<span id="unique-smvalue"
style=" margin-left: 10px; margin-right: 10px; font-family: 'Poppins', sans-serif; color: white; font-size: 2rem;">0</span>
<button id="smplus-btn" class="plusmi-btn">+</button>
</div>
<div id="screen3" class="heading">
<h2>TeleOp</h2>
<div style="margin-top: 10px;"></div>
<h3 style="color: white; font-size: 1.4rem;" id="timer2">1:55 s</h3>
<h6>Please watch the match closely to see how the robot scores and answer these questions below.</h6>
<div style="margin-top: 20px;"></div>
<h3 style="color: white; font-size: 1.4rem;">What is the role of bot? Select All That Apply:</h3>
<div style="margin-top: 20px;"></div>
<input type="checkbox" id="Feeder" name="Feeder" value="Feeder">
<label for="Feeder" style="color: white;">Feeder</label><br>
<input type="checkbox" id="Speaker" name="Speaker" value="Speaker">
<label for="Speaker" style="color: white;">Speaker (cleaner or shooter bot)</label><br>
<input type="checkbox" id="Amp" name="Amp" value="Amp">
<label for="Amp" style="color: white;">Amp</label><br>
<input type="checkbox" id="Defense" name="Defense" value="Defense">
<label for="Defense" style="color: white;">Defense</label><br>
<div id="feederOptions" style="margin-top: 20px;">
<h3 style="color: white; font-size: 1.4rem;">Where were majority of the notes fed? </h3>
<input type="checkbox" id="At Speaker" name="At Speaker" value="At Speaker">
<label for="At Speaker" style="color: white;">Speaker</label><br>
<input type="checkbox" id="At Amp" name="At Amp" value="At Amp">
<label for="At Amp" style="color: white;">Amp</label><br>
<input type="checkbox" id="Mid Field" name="Mid Field" value="Mid Field">
<label for="Mid Field" style="color: white;">Mid Field</label><br>
<div style="margin-top: 20px;"></div>
<h3 style="color: white; font-size: 1.4rem;">How many notes were fed outside the arena? </h3>
<input type="text" id="outsideFed" name="outsideFed" style="background: none;
border: none;
outline: none;
border-bottom: 1px solid #bbb; color: white; margin-left: 10px; width: 50px;">
<br><br>
</div>
<div id="speakerOptions">
<div style="margin-top: 20px;"></div>
<h3 style="color: white; font-size: 1.4rem;">Notes Feed</h3>
<button id="Ateleminus-btn" class="plusmi-btn">-</button>
<span id="Atelevalue"
style=" margin-left: 10px; margin-right: 10px; font-family: 'Poppins', sans-serif; color: white; font-size: 2rem;">0</span>
<button id="Ateleplus-btn" class="plusmi-btn">+</button>
<h3 style="color: white; font-size: 1.4rem;">Amp</h3>
<button id="Asteleminus-btn" class="plusmi-btn">-</button>
<span id="Astelevalue"
style=" margin-left: 10px; margin-right: 10px; font-family: 'Poppins', sans-serif; color: white; font-size: 2rem;">0</span>
<button id="Asteleplus-btn" class="plusmi-btn">+</button>
<h3 style="color: white; font-size: 1.4rem;">Speaker Shots Attempted</h3>
<button id="telesminus-btn" class="plusmi-btn">-</button>
<span id="telesvalue"
style=" margin-left: 10px; margin-right: 10px; font-family: 'Poppins', sans-serif; color: white; font-size: 2rem;">0</span>
<button id="telesplus-btn" class="plusmi-btn">+</button>
<h3 style="color: white; font-size: 1.4rem;">Speaker Shots Made</h3>
<button id="telesmminus-btn" class="plusmi-btn">-</button>
<span id="telesmvalue"
style=" margin-left: 10px; margin-right: 10px; font-family: 'Poppins', sans-serif; color: white; font-size: 2rem;">0</span>
<button id="telesmplus-btn" class="plusmi-btn">+</button>
</div>
</div>
<div id="screen4" class="heading">
<h2>End Game</h2>
<div style="margin-top: 10px;"></div>
<h3 style="color: white; font-size: 1.4rem;" id="timer3">0:20 s</h3>
<h6>Please watch the match closely to see how the robot scores and answer these questions below.</h6>
<div style="margin-top: 20px;"></div>
<h3 style="color: white; font-size: 1.4rem;">Is the robot on the stage chain?</h3>
<div style="margin-top: 10px;"></div>
<input type="radio" id="option8" name="bchainOption" value="Balanced along with alliance member on chain">
<label for="option8" style="font-size: 14px; color: white;">Balanced along with alliance member on chain
(5pts)</label><br>
<input type="radio" id="option9" name="bchainOption" value="Balanced alone on chain">
<label for="option9" style="font-size: 14px; color: white;">Balanced alone on chain (3pts)</label><br>
<input type="radio" id="option91" name="bchainOption" value="Not balanced on chain">
<label for="option91" style="font-size: 14px; color: white;">Not balanced on chain (0p)</label><br>
<input type="radio" id="option945" name="bchainOption"
value="Balanced but touches floor within 5 seconds of buzzer">
<label for="option945" style="font-size: 14px; color: white;">Balanced but touches floor within 5 seconds of
buzzer (0 pts)</label><br>
<div style="margin-top: 20px;"></div>
<h3 style="color: white; font-size: 1.4rem;">Is the Robot Parked on the floor (under the stage) at the end
of the match?</h3>
<div style="margin-top: 10px;"></div>
<input type="radio" id="option10" name="parkingOption" value="Yes">
<label for="option10" style="color: white;">Yes</label><br>
<input type="radio" id="option11" name="parkingOption" value="No">
<label for="option11" style="color: white;">No</label><br>
<div style="margin-top: 20px;"></div>
<h3 style="color: white; font-size: 1.4rem;">Did the Robot score a note in the Trap?</h3>
<input type="radio" id="option12" name="Trapoption" value="Yes">
<label for="option12" style="color: white;">Yes</label><br>
<input type="radio" id="option13" name="Trapoption" value="No">
<label for="option13" style="color: white;">No</label><br>
</div>
<div id="PostGame" class="heading">
<div style="margin-top: 20px;"></div>
<h2 style="color: white;">Post Game</h2>
<h6>Almost Done.</h6>
<div style="margin-top: 20px;"></div>
<h3 style="color: white; font-size: 1.4rem;">Does the Robot Experience Connection Issues?</h3>
<input type="radio" id="option82" name="Connectionoption" value="More than half of match">
<label for="option82" style="color: white;">Yes (More than half of match)</label><br>
<input type="radio" id="option92" name="Connectionoption" value="Less than half of match">
<label for="option92" style="color: white;">Yes (Less than half of match)</label><br>
<input type="radio" id="option93" name="Connectionoption" value="No">
<label for="option93" style="color: white;">No</label><br>
<div style="margin-top: 20px;"></div>
<h3 style="color: white; font-size: 1.4rem;">Comments:</h3>
<textarea id="postGameComments" name="postGameComments" rows="4" cols="50" style="background: none;
outline: none;
color: white;
margin-top: 10px;"></textarea>
</div>
<button id="finish-btn" class="finish-btn" style="font-family: 'Poppins', sans-serif;">Send info</button>
<p class="text">
Made by Yuvraj
</p>
<p class="text">
All Rights Reserved by 5667 <a target="_blank" href="https://github.com/NAHSRobotics-Team5667">Find more</a>
</p>
</div>
</form>
</div>
</main>
<!-- Javascript file -->
<script src="appScouter.js"></script>
</body>
</html>