diff options
author | hardythe1 | 2012-03-21 17:18:19 +0530 |
---|---|---|
committer | hardythe1 | 2012-03-21 17:18:19 +0530 |
commit | 8bedc83e30c80636df18b301a84c69cb6a543e53 (patch) | |
tree | 2065b5d0dd346a350f91e0b873c34e76bc3ab111 /testapp/templates/exam | |
parent | e524bef336df95fd307d045af37c379bccf3ea14 (diff) | |
download | online_test-8bedc83e30c80636df18b301a84c69cb6a543e53.tar.gz online_test-8bedc83e30c80636df18b301a84c69cb6a543e53.tar.bz2 online_test-8bedc83e30c80636df18b301a84c69cb6a543e53.zip |
Modifications to show quizlist
Diffstat (limited to 'testapp/templates/exam')
-rw-r--r-- | testapp/templates/exam/quizlist.html | 24 |
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 %} |