forked from PWNAGERobotics/ScoutingPASS
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpitscouting.html
More file actions
127 lines (125 loc) · 3.97 KB
/
pitscouting.html
File metadata and controls
127 lines (125 loc) · 3.97 KB
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
<!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="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/googleSheets.js"></script>
<script src="resources/js/scoutingPASS.js"></script>
<script src="2025/reefscape_pit_config.js"></script>
<link rel="stylesheet" href="resources/css/scoutingPASS.css" />
<link rel="manifest" href="manifest.json" />
</head>
<body>
<form id="scoutingForm" onsubmit="return false">
<div id="main-panel-holder">
<div id="prematch" class="main-panel" style="background-color: black">
<h1 id="prematchHeader1">
<span display="inline-block"
><button
onclick="location.href='index.html'"
type="button"
class="displayButton floatLeft"
id="pitscoutButton"
>
Field Scouting Here
</button></span
><span class="page_title">Pit Scouting App</span>
</h1>
<p class="match-label">
<input
type="button"
value="Next"
id="nextButton1"
onclick="swipePage(1)"
/>
</p>
<table id="prematch_table" style="font: Roboto">
<!-- ###PRE-MATCH-COMPONENTS###-->
</table>
<p class="match-label">
<input
type="button"
value="Next"
id="nextButton2"
onclick="swipePage(1)"
/>
</p>
</div>
<div id="qr-code" class="main-panel" style="background-color: white">
<h1 id="qrHeader1" class="page_title">Pit Scouting App</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 width="5%"> </td>
<td width="90%">
<div id="qrcode" style="text-align: center">
<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" 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"
class="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>