summaryrefslogtreecommitdiff
path: root/templates/exam/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/exam/index.html')
-rw-r--r--templates/exam/index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/exam/index.html b/templates/exam/index.html
new file mode 100644
index 0000000..5470cf5
--- /dev/null
+++ b/templates/exam/index.html
@@ -0,0 +1,12 @@
+<p> Welcome to the Examination. </p>
+<br></br>
+
+{% if question_list %}
+ <ul>
+ {% for question in question_list %}
+ <li> <a href="/exam/{{ question.id }}/">{{ question.summary }} </a> </li>
+ {% endfor %}
+ </ul>
+{% else %}
+ <p> Lucky you, no questions available.</p>
+{% endif %}