diff options
author | prathamesh | 2014-07-11 14:14:19 +0530 |
---|---|---|
committer | prathamesh | 2014-07-11 14:14:19 +0530 |
commit | 0143710e78ae01bae78a3b760fc8410bc86a3b2b (patch) | |
tree | 59fbd9e0abd47b04e20727c502d8d7a509f9495e /testapp/templates/exam/showquestions.html | |
parent | e89f0b0e3a74195b3bce0f68c337ead9dc18a11e (diff) | |
download | online_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.tar.gz online_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.tar.bz2 online_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.zip |
Moved templates and static inside the app.
Diffstat (limited to 'testapp/templates/exam/showquestions.html')
-rw-r--r-- | testapp/templates/exam/showquestions.html | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/testapp/templates/exam/showquestions.html b/testapp/templates/exam/showquestions.html deleted file mode 100644 index 62b40e4..0000000 --- a/testapp/templates/exam/showquestions.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}List of Questions {% endblock %} - -{% block script %} -<script src="{{ URL_ROOT }}/static/exam/js/show_question.js"></script> -{% endblock %} - -{% block manage %} -<form name=frm action="" method="post"> -{% csrf_token %} -{% for i in questions %} -<input type="checkbox" name="question" value="{{ i.id }}"> <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ i.id }}">{{ i }}</a><br> -{% endfor %} -<br> -<button class="btn" type="button" onclick='location.replace("{{URL_ROOT}}/exam/manage/addquestion/");'>Add Question</button> -<button class="btn" type="submit" name='edit' value='edit' onClick="return confirm_edit(frm);">Edit Selected</button> -<button class="btn" type="submit" onClick="return confirm_delete(frm);" name='delete' value='delete'>Delete Selected</button> -</form> -{% endblock %} |