From ed05c25abc3a09152c6cf5196034cfefb6ec4fa6 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Fri, 1 Feb 2019 16:50:15 +0530 Subject: Make changes to View Module screen and Quiz screen interface for students - Remove 'Units In This Module' section from View Module page - Increase size of Question marks displayed during Quiz - Change the Question Navigator colours so that Attempted Question number is more visible - Remove footer in Quiz interface - Adjust the logo in the Nav bar on Quit and Complete screen --- yaksh/templates/exam.html | 28 ++-------------------------- yaksh/templates/yaksh/complete.html | 16 ++++++++++------ yaksh/templates/yaksh/question.html | 19 +++++++++++++++---- yaksh/templates/yaksh/quit.html | 16 ++++++++++------ yaksh/templates/yaksh/show_video.html | 31 ------------------------------- 5 files changed, 37 insertions(+), 73 deletions(-) diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index 29ad167..51c2eca 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -24,8 +24,7 @@ {% endif %} - - + @@ -57,7 +56,7 @@ {% endif %} {% endif %} {% if qid in paper.get_questions_answered %} - {{ forloop.counter }} {% endif %} @@ -112,26 +111,3 @@ {% endblock %} - -{% block footer %} - - - -{% endblock %} - diff --git a/yaksh/templates/yaksh/complete.html b/yaksh/templates/yaksh/complete.html index cced41c..f753933 100644 --- a/yaksh/templates/yaksh/complete.html +++ b/yaksh/templates/yaksh/complete.html @@ -1,11 +1,15 @@ {% extends "base.html" %} -{% block pagetitle %} -
- - YAKSH - - +{% block nav %} +
+
{% endblock %} diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index da77702..5a408c5 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -122,8 +122,8 @@ question_type = "{{ question.type }}"
-
{{ question.summary }}
-
+
{{ question.summary }}
+
{% if question.type == "mcq" %} SINGLE CORRECT CHOICE {% elif question.type == "mcc" %} @@ -147,8 +147,19 @@ question_type = "{{ question.type }}" ARRANGE THE OPTIONS IN CORRECT ORDER {% endif %}
-
- {{ question.points }}
Marks +
+
+
+
+ + {{ question.points }} Marks + +
+
+ +
diff --git a/yaksh/templates/yaksh/quit.html b/yaksh/templates/yaksh/quit.html index 3d22746..af7d494 100644 --- a/yaksh/templates/yaksh/quit.html +++ b/yaksh/templates/yaksh/quit.html @@ -1,11 +1,15 @@ {% extends "base.html" %} -{% block pagetitle %} -
- - YAKSH - - +{% block nav %} +
+
{% endblock %} diff --git a/yaksh/templates/yaksh/show_video.html b/yaksh/templates/yaksh/show_video.html index 9f92bc3..9d24b44 100644 --- a/yaksh/templates/yaksh/show_video.html +++ b/yaksh/templates/yaksh/show_video.html @@ -94,37 +94,6 @@ {% if learning_module.html_data%} {% endif %}
-
-
- {% if learning_module.get_learning_units %} -

Units in this module


- {% for unit in learning_module.get_learning_units %} -
- - {% if unit.type == "quiz" %} - {% if unit.quiz.is_exercise %} - - {% else %} - - {% endif %} - {% else %} - - {% endif %} - - - {% if unit.type == "quiz" %} - {{unit.quiz.description}} - {% else %} - {{unit.lesson.name}} - {% endif %} - -
- {% endfor %} - {% else %} -

No Lessons/Quizzes Found

- {% endif %} -
-
{% if first_unit %} -- cgit