From b1ba290f249d84989cb3cc38d018482794582a46 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Thu, 22 Mar 2012 16:56:22 +0530 Subject: Autocomplete tagging functionality --- testapp/templates/exam/add_question.html | 121 ++------------------- testapp/templates/exam/add_quiz.html | 3 + testapp/templates/exam/edit_question.html | 171 +----------------------------- testapp/templates/exam/question.html | 40 +------ testapp/templates/exam/show_quiz.html | 28 +---- testapp/templates/exam/showquestions.html | 26 +---- 6 files changed, 18 insertions(+), 371 deletions(-) (limited to 'testapp/templates/exam') diff --git a/testapp/templates/exam/add_question.html b/testapp/templates/exam/add_question.html index 3f8637e..9651600 100644 --- a/testapp/templates/exam/add_question.html +++ b/testapp/templates/exam/add_question.html @@ -4,124 +4,15 @@ {% block subtitle %}Add Question{% endblock %} {% block css %} - + + {% endblock %} {% block script %} - - + + + + {% endblock %} {% block onload %} onload='javascript:textareaformat();' {% endblock %} diff --git a/testapp/templates/exam/add_quiz.html b/testapp/templates/exam/add_quiz.html index 570b3c2..c5998d8 100644 --- a/testapp/templates/exam/add_quiz.html +++ b/testapp/templates/exam/add_quiz.html @@ -5,8 +5,11 @@ {% block css %} + {% endblock %} {% block script %} + + + + + {% endblock %} {% block onload %} onload = 'javascript:textareaformat();' {% endblock %} @@ -196,9 +35,9 @@ function autosubmit() Rendered:

Description: {{ form.description }} {{form.description.errors}} Test: {{ form.test }}{{form.test.errors}} + Tags: {{ form.tags }} Options: {{ form.options }} {{form.options.errors}} {{form.options.helptext}} - {% endfor %} diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index b4b171e..981af7f 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -9,45 +9,7 @@ {% endblock %} {% block script %} - + {% endblock script %} {% block onload %} onload="update_time()" {% endblock onload %} 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 %} - + {% endblock %} + {% block subtitle %} Quiz List {% endblock %} {% block manage %} {% if not quizzes and not quiz %} 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 %} - + {% endblock %} {% block manage %} -- cgit