This commit is contained in:
Ross
2021-12-12 12:13:19 +00:00
parent 8925268f98
commit 1bb04b9119
4 changed files with 20 additions and 6 deletions
+4 -2
View File
@@ -3,8 +3,9 @@
{% block content %}
<div class="">
<h2>Score / Results checker</h2>
<p>Please enter your CID</p>
<p>Please enter your CID and passcode</p>
<p>CID: <input type="text" name="cid" id="cid-input"></p>
<p>Passcode: <input id="passcode-box" type="text" value="Passcode"></p>
<button id="cid-selector-go-button">Go...</button>
</div>
<script>
@@ -20,7 +21,8 @@
$("#cid-selector-go-button").click(() => {
cid = document.getElementById("cid-input").value;
window.location = window.location + cid;
passcode = document.getElementById("passcode-box").value;
window.location = window.location + cid + "/" + passcode;
})
})
</script>