This commit is contained in:
Ross
2022-04-01 23:04:25 +01:00
parent 5b12226d7e
commit b8e6c914c0
3 changed files with 70 additions and 7 deletions
@@ -0,0 +1,25 @@
{% extends 'base.html' %}
{% block content %}
CID: {{cid}}
<h2>Collection: {{collection.name}}</h2>
<div><p>Questions</p></div>
{{answer_count}} out of {{collection_length}} questions answered. Click to go to question.
<div class="sba-finish-list">
{% for question, answer in question_answer_tuples %}
<a href="{% url 'atlas:collection_take' pk=collection.id case_number=forloop.counter0 cid=cid passcode=passcode %}"><button {% if not answer %}class="unanswered"{% endif %}>{{forloop.counter}}: {{answer.answer}}</button></a>
{% endfor %}
</div>
Start time: {{cid_user_collection.start_time}}
{% endblock %}
{% block js %}
<script>
$(document).ready(() => {
})
</script>
{% endblock %}