From e2b3d315c3cd3eab79ad74224436b681cbf84371 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Thu, 17 Nov 2011 02:15:33 +0530 Subject: ENH: Changing Quiz to QuestionPaper. This changes the models. The Quiz should really be QuestionPaper and a Quiz should be like an event that the admin creates to start a quiz and each QuestionPaper should be related to a Quiz. This will be added later. --- templates/exam/complete.html | 2 +- templates/exam/monitor.html | 6 +++--- templates/exam/question.html | 8 +++++--- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'templates/exam') diff --git a/templates/exam/complete.html b/templates/exam/complete.html index e42704f..ded38f7 100644 --- a/templates/exam/complete.html +++ b/templates/exam/complete.html @@ -1,3 +1,3 @@ -
Quiz is complete. Thank you.
+Exam is complete. Thank you.
You may now close the browser.
diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html index 12360a2..f1c7779 100644 --- a/templates/exam/monitor.html +++ b/templates/exam/monitor.html @@ -2,12 +2,12 @@ -{% if quiz_list %} +{% if paper_list %}Student | Roll number | Questions answered | Total marks |
---|---|---|---|
{{ paper.username }} | {{ paper.rollno }} | @@ -18,6 +18,6 @@ {% endfor %}
No quizzes so far.
+No answer papers so far.
{% endif %} diff --git a/templates/exam/question.html b/templates/exam/question.html index 1798606..75e5a62 100644 --- a/templates/exam/question.html +++ b/templates/exam/question.html @@ -1,6 +1,7 @@{{ question.description }}
@@ -29,11 +31,11 @@ function submitCode(){{ user.first_name.title }} {{ user.last_name.title }}, you have {{ quiz.questions_left }} question(s) left.
+{{ user.first_name.title }} {{ user.last_name.title }}, you have {{ paper.questions_left }} question(s) left.