.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user