diff options
author | adityacp | 2020-11-02 15:45:29 +0530 |
---|---|---|
committer | adityacp | 2020-11-02 15:45:29 +0530 |
commit | 167b53a673630c4243c5d82a5966797213a5fa28 (patch) | |
tree | 7f91b5b143311159b9836a6ef4bf4911b24637e7 /yaksh/templates | |
parent | 54740d2e9b3e9c67521074380730cc949dfaefb0 (diff) | |
download | online_test-167b53a673630c4243c5d82a5966797213a5fa28.tar.gz online_test-167b53a673630c4243c5d82a5966797213a5fa28.tar.bz2 online_test-167b53a673630c4243c5d82a5966797213a5fa28.zip |
Minor UI fixes
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/add_lesson.html | 18 | ||||
-rw-r--r-- | yaksh/templates/yaksh/show_toc.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/show_video.html | 4 |
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 <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"> |