From c61396a219efb3b078094d028e41fe51bc857fe3 Mon Sep 17 00:00:00 2001
From: hardythe1
Date: Mon, 20 Feb 2012 20:28:51 +0530
Subject: new file to manage quiz
---
testapp/templates/exam/show_quiz.html | 46 +++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 testapp/templates/exam/show_quiz.html
(limited to 'testapp/templates/exam/show_quiz.html')
diff --git a/testapp/templates/exam/show_quiz.html b/testapp/templates/exam/show_quiz.html
new file mode 100644
index 0000000..a113953
--- /dev/null
+++ b/testapp/templates/exam/show_quiz.html
@@ -0,0 +1,46 @@
+{% extends "manage.html" %}
+
+{% block title %} Quiz List {% endblock title %}
+
+{% block script %}
+
+{% endblock %}
+
+{% block manage %}
+{% if not quizzes and not quiz %}
+
Available Quiz
+
+
No quizzes available.
+
+{% endif %}
+
+{# ############################################################### #}
+{# This is rendered when we are just viewing exam/monitor #}
+{% if quizzes %}
+
List of Quizzes
+
+{% endif %}
+{% endblock %}
--
cgit
From 6b608e174fbd9367c9453f7933b69a35516811d2 Mon Sep 17 00:00:00 2001
From: hardythe1
Date: Tue, 21 Feb 2012 11:35:56 +0530
Subject: add docstrings to each view in views.py
---
testapp/templates/exam/show_quiz.html | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
(limited to 'testapp/templates/exam/show_quiz.html')
diff --git a/testapp/templates/exam/show_quiz.html b/testapp/templates/exam/show_quiz.html
index a113953..bbea77f 100644
--- a/testapp/templates/exam/show_quiz.html
+++ b/testapp/templates/exam/show_quiz.html
@@ -23,16 +23,14 @@ function my_confirm(frm)
{% block manage %}
{% if not quizzes and not quiz %}
-
Available Quiz
-
+
Available Quiz
No quizzes available.
-
{% endif %}
{# ############################################################### #}
{# This is rendered when we are just viewing exam/monitor #}
{% if quizzes %}
-
List of Quizzes
+
Quiz List
{% endif %}
{% endblock %}
--
cgit
From b1fbf5b02280de5b78b0249e777a179e34b50b98 Mon Sep 17 00:00:00 2001
From: hardythe1
Date: Fri, 24 Feb 2012 16:16:38 +0530
Subject: formating and identation
---
testapp/templates/exam/show_quiz.html | 39 +++++++++++++++++------------------
1 file changed, 19 insertions(+), 20 deletions(-)
(limited to 'testapp/templates/exam/show_quiz.html')
diff --git a/testapp/templates/exam/show_quiz.html b/testapp/templates/exam/show_quiz.html
index d546b06..e6aecd6 100644
--- a/testapp/templates/exam/show_quiz.html
+++ b/testapp/templates/exam/show_quiz.html
@@ -3,33 +3,31 @@
{% block title %} Quiz List {% endblock title %}
{% block script %}
-
+ }
+
{% endblock %}
{% block manage %}
@@ -46,13 +44,14 @@ function confirm_edit(frm)
{% csrf_token %}
{% for quiz in quizzes %}
-
{{ quiz.description }}
{% endfor %}
+
{% endif %}
+
{% endblock %}
--
cgit
From a7c84a478789e9e835dcbb3ea41b1d519ba69b4d Mon Sep 17 00:00:00 2001
From: jayparikh111
Date: Tue, 13 Mar 2012 18:44:01 +0530
Subject: minor changes for UI
---
testapp/templates/exam/show_quiz.html | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
(limited to 'testapp/templates/exam/show_quiz.html')
diff --git a/testapp/templates/exam/show_quiz.html b/testapp/templates/exam/show_quiz.html
index e6aecd6..684cfd2 100644
--- a/testapp/templates/exam/show_quiz.html
+++ b/testapp/templates/exam/show_quiz.html
@@ -27,19 +27,18 @@
if(n == frm.quiz.length)
location.replace("{{URL_ROOT}}/exam/manage/showquiz");
}
+
{% endblock %}
-
+{% block subtitle %} Quiz List {% endblock %}
{% block manage %}
{% if not quizzes and not quiz %}
-
Available Quiz
No quizzes available.
{% endif %}
{# ############################################################### #}
{# This is rendered when we are just viewing exam/monitor #}
{% if quizzes %}
-