summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2020-11-18 15:35:03 +0530
committeradityacp2020-11-18 15:35:03 +0530
commita149bf483fe724deb6427cad781279bef28da9fe (patch)
tree39de4e7389d9857df2af885d3e7decbd8eac05e4 /yaksh/templates
parenteda9184c193f3a6779b834ace796efbb6dad8b7b (diff)
downloadonline_test-a149bf483fe724deb6427cad781279bef28da9fe.tar.gz
online_test-a149bf483fe724deb6427cad781279bef28da9fe.tar.bz2
online_test-a149bf483fe724deb6427cad781279bef28da9fe.zip
Add dropdown selection for lesson video options
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/add_lesson.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/yaksh/templates/yaksh/add_lesson.html b/yaksh/templates/yaksh/add_lesson.html
index 04838a6..385ebe0 100644
--- a/yaksh/templates/yaksh/add_lesson.html
+++ b/yaksh/templates/yaksh/add_lesson.html
@@ -84,9 +84,12 @@
Active: {{lesson_form.active}}
<br><br>
Video Path:
- <span class="badge badge-info">
- {{lesson_form.video_path.help_text}}
- </span>
+ <a data-toggle="tooltip" id="video_msg">
+ <i class="fa fa-question-circle"></i>
+ </a>
+ {{lesson_form.video_option}}
+ <br><br>
+ {{lesson_form.video_url}}
{{lesson_form.video_path}}
<br>
Video File:
@@ -133,12 +136,13 @@
</center>
{% endif %}
<center>
- <button class="btn btn-success btn-lg" type="submit" id="submit" name="Save">
+ <button class="btn btn-success btn-lg" type="submit" id="submit-lesson" name="Save">
<i class="fa fa-save"></i>
Save
</button>
{% if lesson_files %}
- <button class="btn btn-danger btn-lg" type="submit" id="submit" name="Delete"> <i class="fa fa-trash"></i>&nbsp;Delete Files
+ <button class="btn btn-danger btn-lg" type="submit" name="Delete">
+ <i class="fa fa-trash"></i>&nbsp;Delete Files
</button>
{% endif %}
</center>