summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/base.html19
-rw-r--r--yaksh/templates/yaksh/show_lesson_statistics.html5
-rw-r--r--yaksh/templates/yaksh/show_video.html11
3 files changed, 28 insertions, 7 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index 53edbee..8bf7fbc 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -22,6 +22,7 @@
<link rel="stylesheet" href="{% static 'yaksh/css/ontop.css' %}" type="text/css" />
<link rel="stylesheet" href="{% static 'yaksh/css/plyr.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'yaksh/css/simplemde.min.css' %}">
+ <link rel="stylesheet" href="{% static 'yaksh/css/toastr.min.css' %}" />">
{% block meta %}
@@ -42,6 +43,8 @@
<script src="{% static 'yaksh/js/plyr.js' %}"></script>
<script type="text/javascript" src="{% static 'yaksh/js/simplemde.min.js' %}">
</script>
+ <script type="text/javascript" src="{% static 'yaksh/js/toastr.min.js' %}">
+ </script>
<script>
new WOW().init();
@@ -57,6 +60,22 @@
Checking...<img src="{% static 'yaksh/images/check_answer.gif' %}"/>
</div>
</div>
+ <div id="loader">
+ <div id="state1">
+ <div class="spinner-grow text-success" role="status">
+ <span class="sr-only">Loading...</span>
+ </div>
+ <div class="spinner-grow text-danger" role="status">
+ <span class="sr-only">Loading...</span>
+ </div>
+ <div class="spinner-grow text-warning" role="status">
+ <span class="sr-only">Loading...</span>
+ </div>
+ <div class="spinner-grow text-primary" role="status">
+ <span class="sr-only">Loading...</span>
+ </div>
+ </div>
+ </div>
{% block nav %}
{% endblock %}
diff --git a/yaksh/templates/yaksh/show_lesson_statistics.html b/yaksh/templates/yaksh/show_lesson_statistics.html
new file mode 100644
index 0000000..36b1fbd
--- /dev/null
+++ b/yaksh/templates/yaksh/show_lesson_statistics.html
@@ -0,0 +1,5 @@
+{% extends "manage.html" %}
+{% block title %} Lesson Statistics {% endblock %}
+{% block content %}
+{{data}}
+{% endblock %} \ No newline at end of file
diff --git a/yaksh/templates/yaksh/show_video.html b/yaksh/templates/yaksh/show_video.html
index 8f8bbb2..f6e247c 100644
--- a/yaksh/templates/yaksh/show_video.html
+++ b/yaksh/templates/yaksh/show_video.html
@@ -90,11 +90,9 @@
<!-- Page Content -->
<div id="content">
-
<button type="button" id="sidebarCollapse" class="btn btn-outline-info">
<i class="fa fa-navicon fa-lg"></i>
</button>
-
<br><br>
<ol class="breadcrumb">
<li class="breadcrumb-item">
@@ -108,7 +106,6 @@
{% endif %}
</ol>
<br>
-
{% if msg %}
<center>
<div class="alert alert-dismissible alert-warning">
@@ -171,7 +168,9 @@
{% with content.get_toc_text as toc_name %}
<tr>
<td>
- <a href="#" onclick="select_toc(this);" data-toc="{{content.id}}" data-content-type="{{content.content}}">{{ toc_name }}</a>
+ <a href="#" onclick="select_toc(this);" data-toc="{{content.id}}" data-toc-type="{{content.content}}">
+ {{ toc_name }}
+ </a>
</td>
<td>
{{content.get_content_display}}
@@ -179,9 +178,7 @@
<td id="toc_time_{{content.id}}">
{{content.time}}
</td>
- <td>
- <input type="hidden" id="toc_{{content.id}}" value="{% url 'yaksh:get_marker_quiz' course.id content.id %}" data-content="{{content.content}}"/>
- </td>
+ <input type="hidden" id="toc_{{content.id}}" value="{% url 'yaksh:get_marker_quiz' course.id content.id %}" data-content="{{content.content}}"/>
</tr>
{% endwith %}
{% empty %}