From 06747caf41af01f35a8ac986b200774b008d4bed Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 12 Nov 2020 17:33:44 +0530 Subject: Change templates and js - Fix issue onlick toc jump to player time - Use bootstrap modal instead of jquery dialog for responsive interface - Disallow empty question submission for lesson quiz --- yaksh/templates/base.html | 1 - yaksh/templates/yaksh/course_modules.html | 2 +- yaksh/templates/yaksh/show_lesson_quiz.html | 8 ++++---- yaksh/templates/yaksh/show_video.html | 9 +++++++-- 4 files changed, 12 insertions(+), 8 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html index 90a6299..a946c12 100644 --- a/yaksh/templates/base.html +++ b/yaksh/templates/base.html @@ -47,7 +47,6 @@ - diff --git a/yaksh/templates/yaksh/course_modules.html b/yaksh/templates/yaksh/course_modules.html index b808562..2ac1962 100644 --- a/yaksh/templates/yaksh/course_modules.html +++ b/yaksh/templates/yaksh/course_modules.html @@ -7,7 +7,7 @@
{{ course.name }} - Discussion Forum + Discussion Forum
{% if course.view_grade %} diff --git a/yaksh/templates/yaksh/show_lesson_quiz.html b/yaksh/templates/yaksh/show_lesson_quiz.html index 39e590c..71c997d 100644 --- a/yaksh/templates/yaksh/show_lesson_quiz.html +++ b/yaksh/templates/yaksh/show_lesson_quiz.html @@ -71,7 +71,7 @@ {{ test_case.options|safe }}
{% else %} - + {{ test_case.options|safe }}
{% endif %} {% endfor %} @@ -80,21 +80,21 @@ {% if question.type == "integer" %} Enter Integer:
- +

{% endif %} {% if question.type == "string" %} Enter Text:
- +

{% endif %} {% if question.type == "float" %} Enter Decimal Value :
- +

{% endif %} diff --git a/yaksh/templates/yaksh/show_video.html b/yaksh/templates/yaksh/show_video.html index d6d08ea..1b2efcb 100644 --- a/yaksh/templates/yaksh/show_video.html +++ b/yaksh/templates/yaksh/show_video.html @@ -14,8 +14,6 @@ - {% endblock %} {% block css %} @@ -282,5 +280,12 @@
+ {% endblock %} -- cgit From 7ccebf2cc79a2e5a20664f44577a4d8bc2635895 Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 12 Nov 2020 17:53:49 +0530 Subject: Remove unnecessary dialog --- yaksh/templates/yaksh/show_video.html | 5 ----- 1 file changed, 5 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/show_video.html b/yaksh/templates/yaksh/show_video.html index 1b2efcb..0151f6b 100644 --- a/yaksh/templates/yaksh/show_video.html +++ b/yaksh/templates/yaksh/show_video.html @@ -10,15 +10,11 @@ var loc = 0; var video_time = []; - {% endblock %} -{% block css %} - -{% endblock %} {% block main %}
@@ -279,7 +275,6 @@ {% endif %}
-