From c8b68813ca80aee16261e5f02d541ed48712feae Mon Sep 17 00:00:00 2001 From: Hardik Ghaghada Date: Fri, 26 Apr 2013 16:40:34 +0530 Subject: Dumped JS from HTML pages to separate JS files --- testapp/templates/exam/add_questionpaper.html | 30 ++-------------------- testapp/templates/exam/add_quiz.html | 12 +-------- .../templates/exam/automatic_questionpaper.html | 18 ++----------- testapp/templates/exam/grade_user.html | 17 ++---------- testapp/templates/exam/manual_questionpaper.html | 16 ++---------- testapp/templates/exam/question.html | 30 +++++++++++++++++++++- 6 files changed, 38 insertions(+), 85 deletions(-) (limited to 'testapp/templates') diff --git a/testapp/templates/exam/add_questionpaper.html b/testapp/templates/exam/add_questionpaper.html index 664093c..4cce8a9 100644 --- a/testapp/templates/exam/add_questionpaper.html +++ b/testapp/templates/exam/add_questionpaper.html @@ -10,36 +10,11 @@ {% block script %} - - + {% endblock %} {% block manage %} +
- {% endblock %} diff --git a/testapp/templates/exam/add_quiz.html b/testapp/templates/exam/add_quiz.html index 2667c0c..9851584 100644 --- a/testapp/templates/exam/add_quiz.html +++ b/testapp/templates/exam/add_quiz.html @@ -10,17 +10,7 @@ {% block script %} - + {% endblock %} {% block onload %} onload="javascript:test();" {% endblock %} {% block manage %} diff --git a/testapp/templates/exam/automatic_questionpaper.html b/testapp/templates/exam/automatic_questionpaper.html index 7a70748..1175f55 100644 --- a/testapp/templates/exam/automatic_questionpaper.html +++ b/testapp/templates/exam/automatic_questionpaper.html @@ -16,26 +16,12 @@ select {% block script %} - - + {% endblock %} {% block manage %} +