From f20dfc471fb5167399c4fda131ee0d9b0f9094d5 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 6 Oct 2016 12:53:52 +0530 Subject: Fixed div collapse inconsistency It was possible that some collapse have the same href. So if we click on any one group with the same href then only the first collapse div would collapse. --- yaksh/templates/yaksh/regrade.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/regrade.html b/yaksh/templates/yaksh/regrade.html index 77d8ec4..5cfc1b0 100644 --- a/yaksh/templates/yaksh/regrade.html +++ b/yaksh/templates/yaksh/regrade.html @@ -44,8 +44,8 @@
{% for quiz in course.quiz_set.all %} -

Quiz: {{ quiz }}

-
+

Quiz: {{ quiz }}

+
{% with questionpaper=quiz.questionpaper_set.get %}

Questions:

    @@ -80,8 +80,8 @@
    {% for quiz in course.quiz_set.all %} -

    Quiz: {{ quiz }}

    -
    +

    Quiz: {{ quiz }}

    +
      {% for answerpaper in quiz.questionpaper_set.get.answerpaper_set.all %}
    1. @@ -114,8 +114,8 @@
      {% for user in course.students.all %} -

      Answer Papers for {{ user.get_full_name }}

      -
      +

      Answer Papers for {{ user.get_full_name }}

      +
        {% for answerpaper in user.answerpaper_set.all %}
      1. Quiz: {{answerpaper.question_paper.quiz.description }}; Attempt Number: {{ answerpaper.attempt_number }} -- cgit From d231fbd10c087f721f1fd8a576b4c40a84e0a5a0 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Wed, 26 Oct 2016 18:05:04 +0530 Subject: Migration from bootstrap 1.4 to bootstrap 3.3 Removed css redundancy. Removed unwanted css. Included css and js imports in base template. Upgraded jquery to v1.9 for now. --- yaksh/templates/base.html | 21 ++-- yaksh/templates/manage.html | 147 ++++------------------ yaksh/templates/user.html | 80 +++--------- yaksh/templates/yaksh/add_course.html | 2 +- yaksh/templates/yaksh/add_question.html | 8 +- yaksh/templates/yaksh/add_questionpaper.html | 27 ---- yaksh/templates/yaksh/add_quiz.html | 2 +- yaksh/templates/yaksh/addteacher.html | 2 +- yaksh/templates/yaksh/complete.html | 4 +- yaksh/templates/yaksh/course_detail.html | 2 +- yaksh/templates/yaksh/courses.html | 2 +- yaksh/templates/yaksh/design_questionpaper.html | 2 +- yaksh/templates/yaksh/editprofile.html | 5 +- yaksh/templates/yaksh/grade_user.html | 34 ++--- yaksh/templates/yaksh/intro.html | 42 ++++--- yaksh/templates/yaksh/login.html | 17 +-- yaksh/templates/yaksh/moderator_dashboard.html | 69 +++++++++++ yaksh/templates/yaksh/monitor.html | 16 +-- yaksh/templates/yaksh/profile_updated.html | 2 - yaksh/templates/yaksh/question.html | 158 +++++++++++------------- yaksh/templates/yaksh/quizzes_user.html | 38 +++--- yaksh/templates/yaksh/register.html | 12 +- yaksh/templates/yaksh/regrade.html | 14 +-- yaksh/templates/yaksh/results_user.html | 14 +-- yaksh/templates/yaksh/showquestions.html | 29 ++--- yaksh/templates/yaksh/statistics_question.html | 16 +-- yaksh/templates/yaksh/user_data.html | 12 +- yaksh/templates/yaksh/view_answerpaper.html | 11 +- 28 files changed, 304 insertions(+), 484 deletions(-) delete mode 100644 yaksh/templates/yaksh/add_questionpaper.html create mode 100644 yaksh/templates/yaksh/moderator_dashboard.html (limited to 'yaksh/templates') diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html index 7fe2d27..00b0867 100644 --- a/yaksh/templates/base.html +++ b/yaksh/templates/base.html @@ -15,8 +15,8 @@ - +