diff options
author | Prabhu Ramachandran | 2013-04-27 15:28:28 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2013-04-27 15:28:28 +0530 |
commit | 8b6ac259503323bc3d8333382d3769e5d10f162a (patch) | |
tree | 5d260a3db043492ef731b4241cf0f07563591743 /testapp/templates/exam/edit_quiz.html | |
parent | fd044e4a9f08366c9425cb241b7452da2ba904e1 (diff) | |
parent | 5c7f66806e4be50985655b7c12bf3190ee91ae46 (diff) | |
download | online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.tar.gz online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.tar.bz2 online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.zip |
Merge branch 'model_changes' of ...
https://github.com/hardythe1/online_test into master.
Conflicts:
production.cfg
testapp/production.py
Diffstat (limited to 'testapp/templates/exam/edit_quiz.html')
-rw-r--r-- | testapp/templates/exam/edit_quiz.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testapp/templates/exam/edit_quiz.html b/testapp/templates/exam/edit_quiz.html new file mode 100644 index 0000000..0ea4aae --- /dev/null +++ b/testapp/templates/exam/edit_quiz.html @@ -0,0 +1,40 @@ +{% extends "manage.html" %} + + +{% block subtitle %}Edit Quiz(zes){% 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="{{ URL_ROOT }}/static/exam/js/edit_quiz.js"></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> +{% 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 }} + <tr><td><b>Active: <td> {{ form.active }} + <tr><td><b>Tags: <td> {{ form.tags }} + <tr><td><b>Description: <td> {{ form.description }} + <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 %} |