forked from PWNAGERobotics/ScoutingPASS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pit.html
61 lines (59 loc) · 2.96 KB
/
pit.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
<!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="2023/CU_Pit_config.js"></script>
<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" style="background-color: black;">
<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 2020</h1>
<h2 id="prematchHeader2">Pit Scouting</h2>
<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"><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 2020</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" 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>