Files
penracourses/templates/cid_selector.html
T
2020-12-16 22:50:11 +00:00

19 lines
476 B
HTML

{% extends 'base.html' %}
{% block content %}
<div class="">
<h2>Please enter your CID</h2>
<p>CID: <input type="text" name="cid" id="cid-input"></p>
<button id="cid-selector-go-button">Go...</button>
</div>
<script>
$(document).ready(function () {
$("#cid-selector-go-button").click(() => {
cid = document.getElementById("cid-input").value;
window.location = window.location + cid;
})
})
</script>
{% endblock %}