From add9e3f36254f578364c99d66c2eb9364e5aa3a5 Mon Sep 17 00:00:00 2001 From: FOSSEE Project Date: Sun, 29 Jun 2014 16:20:36 +0530 Subject: changing moderator's landing page to show list of all quizzes --- testapp/templates/manage.html | 63 ++++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 18 deletions(-) (limited to 'testapp/templates') diff --git a/testapp/templates/manage.html b/testapp/templates/manage.html index 0f122b0..1db8a78 100644 --- a/testapp/templates/manage.html +++ b/testapp/templates/manage.html @@ -1,6 +1,3 @@ - - @@ -9,12 +6,13 @@ {% block meta %} - - - + + + {% endblock %} - + + {% block css %} {% endblock %} @@ -26,16 +24,15 @@
@@ -43,12 +40,42 @@
- {% block manage %} - {% endblock %} + {% block manage %} +

List of quizzes! Click on the given links to have a look at answer papers for a quiz.

+
+ + + + + + {% for paper, answer_papers, users_passed, users_failed in users_per_paper %} + + + + + + + {% endfor %} +
QuizTaken ByNo. of users PassedNo. of users Failed
+ {{ paper.quiz.description }} + + {{ answer_papers|length }} user(s) + + {{ users_passed }} + + {{ users_failed }} +
+
+
+

Moderator's Dashboard!

+
Click on the button given below to add a new quiz.
+ +
+{% endblock %}
-- cgit