This commit is contained in:
Ross
2021-12-11 22:00:21 +00:00
parent 89985846d9
commit d996ad992f
+6 -6
View File
@@ -5,12 +5,12 @@
<h2>Start exam: {{exam.name}}</h2> <h2>Start exam: {{exam.name}}</h2>
Enter your CID and passcode in the below boxes.<br /> Enter your CID and passcode in the below boxes.<br />
<input id="cid-box" type="text" value="Candidate ID"><br/> <p><input id="cid-box" type="text" value="Candidate ID"></p>
<input id="passcode-box" type="text" value="Passcode"><br/> <p><input id="passcode-box" type="text" value="Passcode" </p>>
<button>Start exam</button> <button>Start exam</button>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function () { $(document).ready(function () {
$("button").click(() => { $("button").click(() => {
let cid = $("#cid-box").val(); let cid = $("#cid-box").val();
@@ -23,5 +23,5 @@ Enter your CID and passcode in the below boxes.<br />
} }
}); });
}); });
</script> </script>
{% endblock %} {% endblock %}