From 3918842683580a7265e4420febb13aadf7604e35 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 3 Jul 2014 17:31:19 +0530 Subject: Interface to create question paper --- testapp/templates/exam/ajax_marks.html | 4 + testapp/templates/exam/ajax_questions.html | 31 ++++ testapp/templates/exam/design_questionpaper.html | 184 +++++++++++++++++++++++ testapp/templates/exam/monitor.html | 4 +- 4 files changed, 221 insertions(+), 2 deletions(-) create mode 100644 testapp/templates/exam/ajax_marks.html create mode 100644 testapp/templates/exam/ajax_questions.html create mode 100644 testapp/templates/exam/design_questionpaper.html (limited to 'testapp/templates') diff --git a/testapp/templates/exam/ajax_marks.html b/testapp/templates/exam/ajax_marks.html new file mode 100644 index 0000000..716bb88 --- /dev/null +++ b/testapp/templates/exam/ajax_marks.html @@ -0,0 +1,4 @@ + +{% for mark in marks %} + +{% endfor %} diff --git a/testapp/templates/exam/ajax_questions.html b/testapp/templates/exam/ajax_questions.html new file mode 100644 index 0000000..e343f9b --- /dev/null +++ b/testapp/templates/exam/ajax_questions.html @@ -0,0 +1,31 @@ +
+ {% if questions %} + + Select All + {% endif %} + +
+ +
+ +
diff --git a/testapp/templates/exam/design_questionpaper.html b/testapp/templates/exam/design_questionpaper.html new file mode 100644 index 0000000..8994148 --- /dev/null +++ b/testapp/templates/exam/design_questionpaper.html @@ -0,0 +1,184 @@ +{% extends "manage.html" %} + +{% block subtitle %}Design Question Paper{% endblock %} + +{% block css %} + + + + + +{% endblock %} +{% block script %} + + + + + + + + +{% endblock %} + +{% block manage %} + +
Manual mode to design the {{lang}} Question Paper

+ + +
{% csrf_token %} +
+

Total Marks: 0

+
+
+ +
+
Please select Question type and Marks
+
+ {{ form.question_type }} +
+
+ {{ form.marks }} +
+
+
+
+
+

+ + +
+
+
+
+

Select questions to add:

+
+
+ Add to paper +
+
+
+
+

Fixed questions currently in paper:

+
+
+
+
+
+
+
+ Next > +
+ +
+ + +
+
+
+
+

Select questions to add to the pool:

+
+
+ Add to paper +
+
+
+
+

Pool of questions currently in paper:

+
+
+
+
+
+
+ +
+ Next > +
+
+ +
+
+
Almost finished creating your question paper
+

+ + +
+ +
+
+
+ +
+
+
+ + + + + + + + +{% endblock %} diff --git a/testapp/templates/exam/monitor.html b/testapp/templates/exam/monitor.html index aa8b678..ecdb852 100644 --- a/testapp/templates/exam/monitor.html +++ b/testapp/templates/exam/monitor.html @@ -47,7 +47,7 @@ Roll number Institute Questions answered - Total marks + Marks obtained Attempts {% for paper in papers %} @@ -57,7 +57,7 @@ {{ paper.profile.roll_number }} {{ paper.profile.institute }} {{ paper.get_answered_str }} - {{ paper.get_total_marks }} + {{ paper.marks_obtained }} {{ paper.answers.count }} {% endfor %} -- cgit