This commit is contained in:
Ross
2021-07-29 21:21:25 +01:00
parent 3932ec712a
commit f64a72d43d
4 changed files with 64 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
{% extends 'base.html' %}
{% block content %}
CID: {{cid}}
<h2>Exam: {{exam.name}}</h2>
<div><p>Questions</p></div>
<ul class="question-list">
{% for question, answer in question_answer_tuples %}
<li class="">{{forloop.counter}}: answer.answer</li>
{% endfor %}
</ul>
{% endblock %}
{% block js %}
<script>
$(document).ready(() => {
})
</script>
{% endblock %}
{% block css %}
<style type="text/css">
.form-contents { display: none; }
.selected { border: 1px solid purple; }
</style>
{% endblock %}
+2
View File
@@ -31,6 +31,8 @@ CID: {{cid}}
{% else %}
<button type="submit" name="save" class="save btn btn-default">Save</button>
{% endif %}
<br />
<button type="submit" name="finish" class="save btn btn-default">Finish</button>
</form>
</div>