-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindexhe.html
225 lines (186 loc) · 7.93 KB
/
indexhe.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
<!DOCTYPE html>
<html lang="he">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Gloock&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles.css">
<title>Document</title>
</head>
<body id="body" class="red-style">
<form id="Scouting_Form" method="POST" action="/">
<h4 id="location-text"></h4>
<!-- PAGE 1 -->
<div id="page1">
<h1>Generall</h1>
<h3 id="team-label-1"></h3>
<br>
<label for="Team">מספר קבוצה:</label>
<br>
<input type="number" id="Team" name="Team" readonly >
<br>
<label for="Match">מספר משחק:</label>
<br>
<input type="number" id="Input-match" name="Match" required>
<br>
<label for="Robot_location">רובוט:</label>
<br>
<select name="Robot_location" id="Robot_location">
<option value="Red 1">Red 1</option>
<option value="Red 2">Red 2</option>
<option value="Red 3">Red 3</option>
<option value="Blue 1">Blue 1</option>
<option value="Blue 2">Blue 2</option>
<option value="Blue 3">Blue 3</option>
</select>
<br>
<label for="ScouterName">שם:</label>
<br>
<input type="text" id="ScouterName" name="ScouterName" required>
<br>
<label for="StrartingPos">מיקום התחלה:</label>
<br>
<select name="StrartingPos" id="StrartingPos">
<option value="Amp">מגבר</option>
<option value="Speaker">ספיקר</option>
<option value="Source">סורס</option>
</select>
<br>
<br>
<label for="Absent">קבוצה נעדרת?</label>
<br>
<input type="checkbox" id="Absent" onchange="toggleSubmitButton()">
<input type="hidden" id="AbsentC" name="Absent" value="FALSE">
<br>
<br>
<button type="button" onclick="nextPage()">הבא</button>
<button id="submit-button" style="display: none;">שלח</button>
</div>
<!-- PAGE 2 -->
<div id="page2" style="display:none;">
<h1>Autonomus</h1>
<h3 id="team-label-2"></h3>
<br>
<label for="LeftWing">עזב את שטח הקבוצה שלו? (לחיצה = כן)</label>
<br>
<input type="checkbox" id="LeftWing">
<input type="hidden" id="LeftWingC" name="LeftWing" value="FALSE">
<br>
<label for="autoCones">קליעות למגבר:</label>
<div>
<button type="button" id="dec" onclick="decrement('AutonomusAmp')">-</button>
<input type="text" name="AutonomusAmp" id="AutonomusAmp" value="0" readonly>
<button type="button" id="inc" onclick="increment('AutonomusAmp')">+</button>
</div>
<label for="autoCubes">קליעות לספיקר:</label>
<div>
<button type="button" id="dec" onclick="decrement('AutonomusSpeaker')">-</button>
<input type="text" name="AutonomusSpeaker" id="AutonomusSpeaker" value="0" readonly>
<button type="button" id="inc" onclick="increment('AutonomusSpeaker')">+</button>
</div>
<br>
<button type="button" onclick="prevPage()">Previous</button>
<button type="button" onclick="nextPage()">Next</button>
</div>
<!-- PAGE 3 -->
<div id="page3" style="display:none;">
<h1>Teleop</h1>
<h3 id="team-label-3"></h3>
<br>
<label for="teleopCones">קליעות למגבר:</label>
<div>
<button type="button" id="dec" onclick="decrement('TeleopAmp')">-</button>
<input type="text" name="TeleopAmp" id="TeleopAmp" value="0" readonly>
<button type="button" id="inc" onclick="increment('TeleopAmp')">+</button>
</div>
<label for="teleopCubes">קליעות לספיקר:</label>
<div>
<button type="button" id="dec" onclick="decrement('TeleopSpeaker')">-</button>
<input type="text" name="TeleopSpeaker" id="TeleopSpeaker" value="0" readonly>
<button type="button" id="inc" onclick="increment('TeleopSpeaker')">+</button>
</div>
<label for="DroppedNotes">הפיל טבעות? (>2)</label>
<input type="checkbox" id="DroppedNotes">
<input type="hidden" id="DroppedNotesC" name="DroppedNotes" value="FALSE">
<br>
<br>
<button type="button" onclick="prevPage()">Previous</button>
<button type="button" onclick="nextPage()">Next</button>
</div>
<!-- PAGE 4 -->
<div id="page4" style="display:none;">
<h1>Endgame</h1>
<h3 id="team-label-4"></h3>
<br>
<label for="FinelStatus">סטטוס סופי:</label>
<br>
<select name="FinelStatus" id="FinelStatus">
<option value="Parked">Parked</option>
<option value="Onstage">Onstage</option>
<option value="Onstage (Spotlit)">Onstage (Spotlit)</option>
<option value="Harmony">Harmony</option>
<option value="Attempted but failed">Attempted but failed</option>
<option value="Not attempted">Not attempted</option>
</select>
<br>
<label for="DriverSkill">כישורי נהג:</label>
<br>
<select name="DriverSkill" id="DriverSkill">
<option value="Not Effective">Not Effective</option>
<option value="Average">Average</option>
<option value="Very Effective">Very Effective</option>
<option value="Not Observed">Not Observed</option>
</select>
<br>
<label for="DefenseRating">כישורי הגנה:</label>
<br>
<select name="DefenseRating" id="DefenseRating">
<option value="Below Average">Below Average</option>
<option value="Average">Average</option>
<option value="Good">Good</option>
<option value="Excellent">Excellent</option>
<option value="Did not play defense">Did not play defense</option>
</select>
<br>
<label for="Crashed">קרס?</label>
<br>
<select name="Crashed" id="Crashed">
<option value="Didn't crashed">Didn't crashed</option>
<option value="Crashed and stopped">Crashed and stopped</option>
<option value="Crashed and continued">Crashed and continued</option>
</select>
<br>
<label for="Comments">הערות:</label>
<br>
<input type="text" id="Comments" name="Comments">
<br>
<button type="button" onclick="prevPage()">Previous</button>
<button type="submit">Submit</button>
</div>
<!-- PAGE 5 -->
<div id="page5" style="display:none;">
<h1>QR</h1>
<div id="qrcode1"></div>
<!-- some space -->
<br>
<div id="qrcode2"></div>
<!-- button to resart the form -->
<button type="button" onclick="restartForm()">Restart</button>
</div>
<label for="Fouls">Fouls:</label>
<br>
<button type="button" id="dec" onclick="decrement('Fouls')">-</button>
<input type="text" name="Fouls" id="Fouls" value="0" readonly>
<button type="button" id="inc" onclick="increment('Fouls')">+</button>
<br>
<div id="background"><h1 id="background-text"></h1></div>
</body>
<script src="./TBA.js"></script>
<script src="./qrcode.min.js"></script>
<script src="./jquery.min.js"></script>
<script src="./myscripts2.js"></script>
</html>