summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/showquestions.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates/exam/showquestions.html')
-rw-r--r--testapp/templates/exam/showquestions.html26
1 files changed, 1 insertions, 25 deletions
diff --git a/testapp/templates/exam/showquestions.html b/testapp/templates/exam/showquestions.html
index 116e747..d406522 100644
--- a/testapp/templates/exam/showquestions.html
+++ b/testapp/templates/exam/showquestions.html
@@ -4,31 +4,7 @@
{% block subtitle %}List of Questions {% endblock %}
{% block script %}
- <script type='text/javascript'>
- function confirm_delete(frm)
- {
- var r = confirm("Are you Sure ?");
- if(r==false)
- {
- for(i=0;i<frm.question.length;i++)
- {
- frm.question[i].checked=false;
- }
- location.replace("{{URL_ROOT}}/exam/manage/showquestion");
- }
- }
- function confirm_edit(frm)
- {
- var n = 0;
- for(i=0;i<frm.question.length;i++)
- {
- if(frm.question[i].checked==true)
- n = n+1;
- }
- if(n==0)
- location.replace("{{URL_ROOT}}/exam/manage/showquestion");
- }
- </script>
+<script src="{{ URL_ROOT }}/static/exam/js/show_question.js"></script>
{% endblock %}
{% block manage %}