-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (83 loc) · 3.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, maximum-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>
<title>N.I. Scouting 2022</title>
<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="2022/RR_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">
<h1 class="page_title"></h1>
<h2 class="unit_title">pre-match</h2>
<table id="prematch_table">
<!-- ###PRE-MATCH-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Next" id="nextButton" onclick="swipePage(1)"></p>
</div>
<div id="auton" class="main-panel">
<h1 class="page_title"></h1>
<h2 class="unit_title">Auto</h2>
<table id="auton_table">
<!-- ###AUTON-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Prev" id="prevButton" onclick="swipePage(-1)"> <input type="button" value="Next" id="nextButton" onclick="swipePage(1)"></p>
</div>
<div id="teleop" class="main-panel">
<h1 class="page_title"></h1>
<h2 class="unit_title">Teleop</h2>
<table id="teleop_table">
<!-- ###TELEOP-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Prev" id="prevButton" onclick="swipePage(-1)"> <input type="button" value="Next" id="nextButton" onclick="swipePage(1)"></p>
</div>
<div id="endgame" class="main-panel">
<h1 class="page_title"></h1>
<h2 class="unit_title">Endgame</h2>
<table id="endgame_table">
<!-- ###ENDGAME-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Prev" id="prevButton" onclick="swipePage(-1)"> <input type="button" value="Next" id="nextButton" onclick="swipePage(1)"></p>
</div>
<div id="post-match" class="main-panel">
<h1 class="page_title"></h1>
<h2 class="unit_title">Miscellaneous</h2>
<table id="postmatch_table">
<!-- ###POST-MATCH-COMPONENTS###-->
</table>
<p class="match-label"><input type="button" value="Prev" id="prevButton" onclick="swipePage(-1)"> <input type="button" value="Next" id="nextButton" onclick="swipePage(1)"></p>
</div>
<div id="qr-code" class="main-panel" style="background-color: white;">
<h2 id="qrHeader">Generate QR Code</h2>
<p class="match-label"><input type="button" value="Prev" id="prevButton" onclick="swipePage(-1)"></p>
<p id="qr-info"><span id="display_qr-info"></span></p>
<table id="qr-table">
<tr>
<td style="width:5%"> </td>
<td style="width:90%">
<div id="qrcode">
<script>
// Create QRCode Object
qr = new QRCode(document.getElementById("qrcode"), options)
</script>
</div>
</td>
<td style="width:5%"> </td>
</tr>
</table>
<p></p>
<div id="clearButton">
<button type="button" id="clearFormButton" onclick="clearForm()">Clear Form</button>
</div>
<br>
</div>
</div>
</body>
</form>
</html>