summaryrefslogtreecommitdiff
path: root/testapp/yaksh_app/templates/yaksh_app/edit_quiz.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/yaksh_app/templates/yaksh_app/edit_quiz.html')
-rw-r--r--testapp/yaksh_app/templates/yaksh_app/edit_quiz.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/testapp/yaksh_app/templates/yaksh_app/edit_quiz.html b/testapp/yaksh_app/templates/yaksh_app/edit_quiz.html
new file mode 100644
index 0000000..c8a36e7
--- /dev/null
+++ b/testapp/yaksh_app/templates/yaksh_app/edit_quiz.html
@@ -0,0 +1,39 @@
+{% extends "manage.html" %}
+
+
+{% block subtitle %}Edit Quiz(zes){% endblock %}
+
+{% block css %}
+<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh_app/css/question_quiz.css" type="text/css" />
+{% endblock %}
+
+{% block script %}
+<script src="{{ URL_ROOT }}/static/yaksh_app/js/edit_quiz.js"></script>
+{% endblock %}
+
+{% block onload %} onload = 'javascript:form_load();' {% endblock %}
+
+{% block manage %}
+<form name=frm action="{{URL_ROOT}}/exam/manage/editquiz/" method="post">
+ {% csrf_token %}
+ <center>
+ <table class=span1>
+ {% for form in forms %}
+ <tr><td><b>Start Date: <td>{{ form.start_date}}
+ <tr><td><b>Duration: <td> {{ form.duration }}<br>{{form.duration.help_text}}
+ <tr><td><b>Active: <td> {{ form.active }}
+ <tr><td><b>Description: <td> {{ form.description }}
+ <tr><td><b>Passing Criteria: <td> {{ form.pass_criteria }}<br>{{form.pass_criteria.help_text}}
+ <tr><td><b>Language: <td> {{ form.language }}
+ <tr><td><b>Prerequisite: <td> {{ form.prerequisite }}
+ <hr>
+ {% endfor %}
+ </table>
+ </center>
+{% for i in data %}
+ <input type=hidden name='quizzes' value="{{ i }}" />
+{% endfor %}
+ <center><button class="btn" type="submit" name="save">Save</button>
+ <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/showquiz/");'>Cancel</button> </center>
+</form>
+{% endblock %}