From c0fcc1181e209192f6d11f2ca521e55e33a4ead7 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Mon, 2 Apr 2012 18:04:43 +0530 Subject: Question Paper generator changes --- .../templates/exam/automatic_questionpaper.html | 101 +++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 testapp/templates/exam/automatic_questionpaper.html (limited to 'testapp/templates/exam/automatic_questionpaper.html') diff --git a/testapp/templates/exam/automatic_questionpaper.html b/testapp/templates/exam/automatic_questionpaper.html new file mode 100644 index 0000000..b961711 --- /dev/null +++ b/testapp/templates/exam/automatic_questionpaper.html @@ -0,0 +1,101 @@ +{% extends "manage.html" %} + + +{% block subtitle %}Design Question Paper{% endblock %} + +{% block css %} + + + +{% endblock %} +{% block script %} + + + + +{% endblock %} + +{% block manage %} +
Automotic mode to design the Question Paper

+ +
+ {% csrf_token %} +
+ Tag Conditions: + + + + + + + + + +
+ +
+ +
Number of question:  
+ +
+
+

Below is the list of Questions fetched according to the given tag conditions

+
+
+ +
+ {% endfor %} +
Summary + Type + Points + Tags + {% for question in data.questions %} +
{{ question.summary }} {{ question.type }} {{ question.points }} + {% for tag in question.tags.all %} + {{ tag }} + {% endfor %} +
+ {% if data.msg %}
{{ data.msg }}
{% endif %} +
+ + +{% endblock %} -- cgit