diff options
author | hardythe1 | 2012-03-22 16:56:22 +0530 |
---|---|---|
committer | hardythe1 | 2012-03-22 16:56:22 +0530 |
commit | b1ba290f249d84989cb3cc38d018482794582a46 (patch) | |
tree | a0503ec456315e035c515b7dfb881e714a1d4599 /testapp/templates/exam/show_quiz.html | |
parent | 4884af693bfb0b9bb70ed6b3d8489267a86d90f9 (diff) | |
download | online_test-b1ba290f249d84989cb3cc38d018482794582a46.tar.gz online_test-b1ba290f249d84989cb3cc38d018482794582a46.tar.bz2 online_test-b1ba290f249d84989cb3cc38d018482794582a46.zip |
Autocomplete tagging functionality
Diffstat (limited to 'testapp/templates/exam/show_quiz.html')
-rw-r--r-- | testapp/templates/exam/show_quiz.html | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/testapp/templates/exam/show_quiz.html b/testapp/templates/exam/show_quiz.html index 684cfd2..1a4c289 100644 --- a/testapp/templates/exam/show_quiz.html +++ b/testapp/templates/exam/show_quiz.html @@ -3,33 +3,9 @@ {% block title %} Quiz List {% endblock title %} {% block script %} - <script type='text/javascript'> - function my_confirm(frm) - { - var r = confirm("Are you Sure ?"); - if(r==false) - { - for(i=0;i<frm.quiz.length;i++) - { - frm.quiz[i].checked=false; - } - location.replace("{{URL_ROOT}}/exam/manage/showquiz"); - } - } - function confirm_edit(frm) - { - var n = 0; - for (var i =0;i<frm.quiz.length;i++) - { - if (frm.quiz[i].checked == false) - n = n + 1 ; - } - if(n == frm.quiz.length) - location.replace("{{URL_ROOT}}/exam/manage/showquiz"); - } - - </script> +<script src="{{ URL_ROOT }}/static/exam/js/show_quiz.js"></script> {% endblock %} + {% block subtitle %} Quiz List {% endblock %} {% block manage %} {% if not quizzes and not quiz %} |