Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions 2026/qual_config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
var qualitativeConfig = `
{
"title": "Qualitative Scouting",
"page_title": "Robot Behavior",
"dataFormat": "tsv",
"checkboxAs": "10",
"prematch": {
"title": "Pre-Match",
"fields": [
{ "name": "Scouter", "code": "s", "type": "text", "size": 10, "maxSize": 20, "subtype": "scouter" },
{ "name": "Event", "code": "e", "type": "text", "size": 10, "maxSize": 20, "subtype": "event", "defaultValue": "2026TXHOU", "disabled": "true" },
{ "name": "Match", "code": "m", "type": "number", "size": 3, "maxSize": 3 },
{ "name": "Team #", "code": "t", "type": "number", "size": 5, "maxSize": 5 }
]
},
"sections": [
{
"title": "Robot Behavior",
"fields": [
{
"name": "Driving Style",
"code": "ds",
"type": "radio",
"choices": { "ag": "Aggressive", "def": "Defensive", "cau": "Cautious", "oth": "Other" }
},
{
"name": "Defense Quality",
"code": "dq",
"type": "radio",
"choices": { "ex": "Excellent", "gd": "Good", "fa": "Fair", "po": "Poor", "na": "N/A" }
},
{
"name": "Recovery from Faults",
"code": "rf",
"type": "radio",
"choices": { "qu": "Quick", "sl": "Slow", "no": "No Recovery" }
},
{
"name": "Plays Well with Alliance",
"code": "pa",
"type": "checkbox"
},
{
"name": "Frequently Disabled/Tipped",
"code": "fd",
"type": "checkbox"
},
{
"name": "Notes",
"code": "n",
"type": "text",
"size": 40,
"maxSize": 200
}
]
}
]
}
`;
126 changes: 63 additions & 63 deletions pit.html
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
<!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="2026/rebuilt_pit_scouting.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 PASS</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 PASS</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%">&nbsp;</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%">&nbsp;</td></tr>
<tr><td width="5%">&nbsp;</td><td width="90%">
<div>
<p id="data" style="text-align:center"></p>
</div>
</td><td width="5%">&nbsp;</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>
<!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="2026/rebuilt_pit_scouting.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 PASS</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 PASS</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%">&nbsp;</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%">&nbsp;</td></tr>
<tr><td width="5%">&nbsp;</td><td width="90%">
<div>
<p id="data" style="text-align:center"></p>
</div>
</td><td width="5%">&nbsp;</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>


Loading