-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
120 lines (112 loc) · 5.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Scouting PASS</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" sizes="16x16 32x32 64x64" href="favicon.ico">
<script src="resources/js/easy.qrcode.min.js"></script>
<script src="resources/js/TBAInterface.js"></script>
<script src="resources/js/scoutingPASS.js"></script>
<script src="2024/crescendo_config.js"></script>
<link id="stylesheet" rel="stylesheet" href="resources/css/bbqScoutingPASS_RGBColorTheme.css">
</head>
<body>
<form id="scoutingForm" onsubmit="return false" name="scoutingForm">
<div id="main-panel-holder">
<!--PREMATCH-->
<div id="prematch" class="main-panel" style="background-color: black;">
<h1 id="prematchHeader1" class="page_title"></h1>
<h2 id="prematchHeader2">Pre-Match</h2>
<p class="match-label">
<!--<input type="button" onclick="nextStylesheet()" value="Toggle Theme">
<br><br>-->
<input type="button" value="Next" id="nextButton1" onclick="swipePage(1)">
</p>
<table id="prematch_table">
<!-- ###PRE-MATCH-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Next" id="nextButton2" onclick="swipePage(1)"></p>
</div>
<!--AUTON-->
<div id="auton" class="main-panel" style="background-color: black;">
<h1 id="autonHeader1" class="page_title"></h1>
<h2 id="autonHeader2">Auton</h2>
<p id="weewoo1" class="match-label">
<input type="button" value="Prev" id="prevButton1" onclick="swipePage(-1)">
<input type="button" value="Next" id="nextButton3" onclick="swipePage(1)">
<br><br>
</p>
<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>
<!--TELEOP-->
<div id="teleop" class="main-panel" style="background-color: black;">
<h1 id="teleopHeader1" class="page_title"></h1>
<h2 id="teleopHeader2" >Teleop</h2>
<p id="weewoo2" class="match-label">
<input type="button" value="Prev" id="prevButton3" onclick="swipePage(-1)">
<input type="button" value="Next" id="nextButton5" onclick="swipePage(1)">
<br><br>
</p>
<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>
<!--ENDGAME-->
<div id="endgame" class="main-panel" style="background-color: black;">
<h1 id="endgameHeader1" class="page_title"></h1>
<h2 id="endgameHeader2">Endgame</h2>
<p id="weewoo3" class="match-label">
<input type="button" value="Prev" id="prevButton5" onclick="swipePage(-1)">
<input type="button" value="Next" id="nextButton7" onclick="swipePage(1)">
<br><br>
</p>
<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>
<!--POSTMATCH-->
<div id="post-match" class="main-panel" style="background-color: black;">
<h1 id="postmatchHeader" class="page_title"></h1>
<h2>Miscellaneous</h2>
<p id="weewoo4" class="match-label">
<input type="button" value="Prev" id="prevButton7" onclick="swipePage(-1)">
<input type="button" value="Next" id="nextButton9" onclick="swipePage(1)">
<br><br>
</p>
<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>
<!--QRCODE-->
<div id="qr-code" class="main-panel" style="background-color: white;">
<h1 id="qrHeader1" class="page_title"></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" style="border: none; text-align: center;"></span></p>
<table id="qr-table">
<tr><td> </td><td width="90%"><div id="qrcode" style="text-align:center"><script>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" style="text-align:center"></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>
</form>
</body>
</html>