diff options
author | Prabhu Ramachandran | 2011-11-25 18:48:13 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-25 18:48:13 +0530 |
commit | fdc531b561565345847812f409ee44af0a784e82 (patch) | |
tree | 447b297d28dccb700dcd244404e6cd748191890d /templates/exam/monitor.html | |
parent | b4023e17d6f97e51ffde740c17d19630b5a9c2d1 (diff) | |
download | online_test-fdc531b561565345847812f409ee44af0a784e82.tar.gz online_test-fdc531b561565345847812f409ee44af0a784e82.tar.bz2 online_test-fdc531b561565345847812f409ee44af0a784e82.zip |
ENH: Adding support for Multiple Choice Questions
Adds simple support for multiple choice questions that are also
auto-checked. Many fixes to the templates and useful feature additions.
This changes the database.
Diffstat (limited to 'templates/exam/monitor.html')
-rw-r--r-- | templates/exam/monitor.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html index a15b2a2..fb6cb58 100644 --- a/templates/exam/monitor.html +++ b/templates/exam/monitor.html @@ -6,7 +6,7 @@ {% block content %} -{% if not quizzes and not papers %} +{% if not quizzes and not quiz %} <h1> Quiz results </h1> <p> No quizzes available. </p> @@ -27,9 +27,9 @@ {# ############################################################### #} {# This is rendered when we are just viewing exam/monitor/quiz_num #} -{% if papers %} +{% if quiz %} <h1> {{ quiz.description }} results </h1> - +{% if papers %} {# <p> Quiz: {{ quiz_name }}</p> #} <p>Number of papers: {{ papers|length }} </p> @@ -57,9 +57,9 @@ </tr> {% endfor %} </table> -{% else %} {% if quiz %} - <p> No answer papers so far. </p> - {% endif %} +{% else %} +<p> No answer papers so far. </p> +{% endif %} {# if papers #} {% endif %} <a href="{{URL_ROOT}}/admin/">Admin</a> |