summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/manual_questionpaper.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates/exam/manual_questionpaper.html')
-rw-r--r--testapp/templates/exam/manual_questionpaper.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/testapp/templates/exam/manual_questionpaper.html b/testapp/templates/exam/manual_questionpaper.html
new file mode 100644
index 0000000..96370c0
--- /dev/null
+++ b/testapp/templates/exam/manual_questionpaper.html
@@ -0,0 +1,42 @@
+{% extends "manage.html" %}
+
+
+{% block subtitle %}Design Question Paper{% endblock %}
+
+{% block css %}
+<link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/question_quiz.css" type="text/css" />
+<link rel="stylesheet" media="all" type="text/css" href="{{ URL_ROOT }}/static/exam/css/autotaggit.css" />
+{% endblock %}
+{% block script %}
+<script src="/static/taggit_autocomplete_modified/jquery.min.js" type="text/javascript"></script>
+<script src="/static/taggit_autocomplete_modified/jquery.autocomplete.js" type="text/javascript"></script>
+
+<script>
+function load_data()
+{
+ var value = document.getElementById('mode').value;
+ if (value == 'Automatic')
+ {
+ window.location = "{{ URL_ROOT }}/exam/manage/designquestionpaper/automatic";
+ }
+ else if(value == "Manual")
+ {
+ window.location = "{{ URL_ROOT }}/exam/manage/designquestionpaper/manual";
+ }
+}
+</script>
+{% endblock %}
+
+{% block manage %}
+<form >
+{% csrf_token %}
+Select mode to design Question Paper:
+<select name='mode' id='mode' onChange='javascript:load_data();'>
+ <option>Manual</option>
+ <option>Automatic</option>
+</select>
+</form>
+
+
+
+{% endblock %}