Skip to content

Commit

Permalink
Update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
superkoolkid2011 committed Mar 29, 2024
1 parent 0d915f5 commit 0229ce2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions 2024/crescendo_betting_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ var config_data = `
"Blue": "Blue<br>",
"Red": "Red<br>"
}
},
{ "name": "Match Number",
"code": "mn",
"type": "counter",
"required": "true"
},
{ "name": "Competition",
"code": "cp",
"type": "radio",
"required": "true",
"choices": {
"Durham2024": "Durham2024<br>",
"Waterloo2024": "Waterloo2024<br>",
"DCMP2024": "DCMP2024<br>"
}
}
],
"auton": [
Expand Down
2 changes: 2 additions & 0 deletions resources/js/scoutingPASS.js
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,8 @@ function updateQRHeader() {
.replace('!MEMBER_NAME!', document.getElementById("input_bm").value)
.replace('!BET_AMOUNT!', document.getElementById("input_ba").value)
.replace('!ALLIANCE!', document.getElementById("display_ae").value)
.replace('!MATCH_NUMBER!', document.getElementById("input_mn").value)
.replace('!COMPETITION!', document.getElementById("input_cp").value);
}

document.getElementById("display_qr-info").textContent = str;
Expand Down

0 comments on commit 0229ce2

Please sign in to comment.