From 167b53a673630c4243c5d82a5966797213a5fa28 Mon Sep 17 00:00:00 2001 From: adityacp Date: Mon, 2 Nov 2020 15:45:29 +0530 Subject: Minor UI fixes --- yaksh/templates/yaksh/add_lesson.html | 18 +++++++++++------- yaksh/templates/yaksh/show_toc.html | 2 +- yaksh/templates/yaksh/show_video.html | 4 ++-- 3 files changed, 14 insertions(+), 10 deletions(-) (limited to 'yaksh') diff --git a/yaksh/templates/yaksh/add_lesson.html b/yaksh/templates/yaksh/add_lesson.html index 329a8e0..d8ce09c 100644 --- a/yaksh/templates/yaksh/add_lesson.html +++ b/yaksh/templates/yaksh/add_lesson.html @@ -89,9 +89,11 @@ {{lesson_form.video_path}}
Video File: - - {{lesson_form.video_file.help_text}} - +
+ + {{lesson_form.video_file.help_text}} + +
{{lesson_form.video_file}}
@@ -210,10 +212,12 @@ {% endwith %} {% else %} -
- - Add a Video Path or Upload a video file to setup lesson contents - +
+
+ + Add a Video Path or Upload a video file to setup lesson contents + +
{% endif %}
diff --git a/yaksh/templates/yaksh/show_toc.html b/yaksh/templates/yaksh/show_toc.html index 92ea0cd..104815f 100644 --- a/yaksh/templates/yaksh/show_toc.html +++ b/yaksh/templates/yaksh/show_toc.html @@ -16,7 +16,7 @@
{% endif %} - +
{% for toc in contents %} {% with toc.get_toc_text as toc_name %} diff --git a/yaksh/templates/yaksh/show_video.html b/yaksh/templates/yaksh/show_video.html index 58c7e04..9061e70 100644 --- a/yaksh/templates/yaksh/show_video.html +++ b/yaksh/templates/yaksh/show_video.html @@ -184,7 +184,7 @@ {% endwith %} {% empty %} -
+
No Table of contents added
{% endfor %} @@ -229,10 +229,10 @@ Next  -
{% endif %} {% if state == 'lesson' %}
+
Comments:
-- cgit