summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/quizlist.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates/exam/quizlist.html')
-rw-r--r--testapp/templates/exam/quizlist.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testapp/templates/exam/quizlist.html b/testapp/templates/exam/quizlist.html
new file mode 100644
index 0000000..9b1fd73
--- /dev/null
+++ b/testapp/templates/exam/quizlist.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+{% block title %} Quiz List {% endblock title %}
+
+{% block formtitle %} Quiz List {% endblock %}
+
+{% block pagetitle %} Online Test {% endblock %}
+
+{% block content %}
+{% if not quizzes and not quiz %}
+<center><h5> No quizzes available. </h5></center>
+{% endif %}
+
+{% if quizzes %}
+<form method="post" action="" name='frm'>
+{% csrf_token %}
+
+{% for quiz in quizzes %}
+<a href="{{URL_ROOT}}/exam/start/{{quiz.id}}/">{{ quiz.description }}</a><br>
+{% endfor %}
+</form>
+{% endif %}
+
+{% endblock %}