summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/templates/yaksh/add_lesson.html18
-rw-r--r--yaksh/templates/yaksh/show_toc.html2
-rw-r--r--yaksh/templates/yaksh/show_video.html4
3 files changed, 14 insertions, 10 deletions
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}}
<br>
Video File:
- <span class="badge badge-info">
- {{lesson_form.video_file.help_text}}
- </span>
+ <div class="table-responsive">
+ <span class="badge badge-info">
+ {{lesson_form.video_file.help_text}}
+ </span>
+ </div>
<div class="col-md-4">
{{lesson_form.video_file}}
</div>
@@ -210,10 +212,12 @@
</div>
{% endwith %}
{% else %}
- <div class="badge badge-info">
- <strong>
- Add a Video Path or Upload a video file to setup lesson contents
- </strong>
+ <div class="table-responsive">
+ <div class="badge badge-info">
+ <strong>
+ Add a Video Path or Upload a video file to setup lesson contents
+ </strong>
+ </div>
</div>
{% endif %}
</div>
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 @@
</div>
<hr>
{% endif %}
-<table class="table table-responsive-sm">
+<table class="table table-responsive">
{% for toc in contents %}
{% with toc.get_toc_text as toc_name %}
<tr>
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 @@
</tr>
{% endwith %}
{% empty %}
- <center>
+ <center class=table-responsive>
<span class="badge badge-warning">No Table of contents added</span>
</center>
{% endfor %}
@@ -229,10 +229,10 @@
<a href="{% url 'yaksh:next_unit' course.id learning_module.id current_unit.id %}" class="btn btn-info btn-lg" >
Next&nbsp;<i class="fa fa-step-forward"></i>
</a>
- <hr>
{% endif %}
{% if state == 'lesson' %}
<div class="col-md-8">
+ <hr>
<b><u>Comments:</u></b>
<form action="" method="POST" enctype='multipart/form-data'>
<div class="form-group">