-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
146 lines (135 loc) · 5.88 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, maximum-scale=1.0">
<title>Scouting PASS</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#909b00">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<script src="resources/js/easy.qrcode.min.js"></script>
<script src="resources/js/TBAInterface.js"></script>
<script src="resources/js/googleSheets.js"></script>
<script src="resources/js/scoutingPASS.js"></script>
<script async defer src="./cache.js"></script>
<script src="2023/CU_config.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/light.css">
<link rel="stylesheet" href="resources/css/normalize.css">
<link rel="stylesheet" href="resources/css/scoutingPASS.css">
</head>
<body>
<form id="scoutingForm" onsubmit="return false">
<div id="main-panel-holder">
<div id="prematch" class="main-panel">
<div id="externalContainer">
<p>
<a href='./process/index.html'>Process recorded data</a> |
<a href='pit.html'>Pit scouting</a>
</p>
</div>
<h1 id="prematchHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span
class="odd">N</span><span class="even">A</span><span class="odd">G</span><span
class="even">E</span><br>Scouting 2023</h1>
<h2 id="prematchHeader2">Pre-Match</h2>
<table id="prematch_table">
<!-- ###PRE-MATCH-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Next" id="nextButton2" onclick="swipePage(1)"></p>
</div>
<div id="auton" class="main-panel">
<h1 id="autonHeader" class="page_title"><span class="odd">P</span><span class="even">W</span><span
class="odd">n</span><span class="even">A</span><span class="odd">G</span><span
class="even">E</span><br>Scouting 2023</h1>
<h2 id="autonHeader">Autonomous</h2>
<table id="auton_table">
<!-- ###AUTON-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Prev" id="prevButton2" onclick="swipePage(-1)">
<input type="button" value="Next" id="nextButton4" onclick="swipePage(1)">
</p>
</div>
<div id="teleop" class="main-panel">
<h1 id="teleopHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span
class="odd">n</span><span class="even">A</span><span class="odd">G</span><span
class="even">E</span><br>Scouting 2023</h1>
<h2 id="teleopHeader2">Teleop</h2>
<table id="teleop_table">
<!-- ###TELEOP-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Prev" id="prevButton4" onclick="swipePage(-1)">
<input type="button" value="Next" id="nextButton6" onclick="swipePage(1)">
</p>
</div>
<div id="endgame" class="main-panel">
<h1 id="endgameHeader" class="page_title"><span class="odd">P</span><span class="even">W</span><span
class="odd">n</span><span class="even">A</span><span class="odd">G</span><span
class="even">E</span><br>Scouting 2023</h1>
<h2 id="endgameHeader">Endgame</h2>
<table id="endgame_table">
<!-- ###ENDGAME-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Prev" id="prevButton6" onclick="swipePage(-1)">
<input type="button" value="Next" id="nextButton8" onclick="swipePage(1)">
</p>
</div>
<div id="post-match" class="main-panel">
<h1 id="postmatchHeader" class="page_title"><span class="odd">P</span><span class="even">W</span><span
class="odd">n</span><span class="even">A</span><span class="odd">G</span><span
class="even">E</span><br>Scouting 2023</h1>
<h2>Miscellaneous</h2>
<table id="postmatch_table">
<!-- ###POST-MATCH-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Prev" id="prevButton8" onclick="swipePage(-1)">
<input type="button" value="Next" id="nextButton10" onclick="swipePage(1)">
</p>
</div>
<div id="qr-code" class="main-panel">
<h1 id="qrHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span
class="odd">n</span><span class="even">A</span><span class="odd">G</span><span
class="even">E</span><br>Scouting 2023</h1>
<h2 id="qrHeader2">Generate QR Code</h2>
<p class="match-label"><input type="button" value="Prev" id="prevButton9" onclick="swipePage(-1)"></p>
<p id="qr-info"><span id="display_qr-info"></span></p>
<table id="qr-table">
<tr>
<td width="5%"> </td>
<td width="90%">
<div id="qrcode">
<script>
// Create QRCode Object
qr = new QRCode(document.getElementById("qrcode"), options)
</script>
</div>
</td>
<td width="5%"> </td>
</tr>
<tr>
<td width="5%"> </td>
<td width="90%">
<div>
<p id="data"></p>
</div>
</td>
<td width="5%"> </td>
</tr>
</table>
<p></p>
<p class="match-label"><input type="button" value="Display Data" id="displayButton"
onclick="displayData()"><input type="button" value="Copy Data" id="copyButton"
onclick="copyData()"></p>
<div id="submitButton">
<button id="submit" type="submit" class="submitForm">Send to Google Sheets</button>
</div>
<div id="clearButton">
<button type="button" class="clearForm" onclick="clearForm()">Clear Form</button>
</div>
<br>
</div>
</div>
</body>
</form>
</html>