From e461b7c71d3d33f7e1cde4415ae35733078f4070 Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 3 Dec 2020 14:32:15 +0530 Subject: Show graphs for the lesson video statistics --- stats/templates/view_lesson_tracking.html | 59 ++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 4 deletions(-) (limited to 'stats/templates/view_lesson_tracking.html') diff --git a/stats/templates/view_lesson_tracking.html b/stats/templates/view_lesson_tracking.html index d8d35c2..a9d3025 100644 --- a/stats/templates/view_lesson_tracking.html +++ b/stats/templates/view_lesson_tracking.html @@ -1,6 +1,6 @@ {% extends "manage.html" %} {% load static %} -{% block title %} Lesson Views {% endblock %} +{% block title %} Lesson Video Stats {% endblock %} {% block script %} @@ -33,7 +33,58 @@

{% include "yaksh/paginator.html" %}
-

{{total}} student(s) viewed this lesson

+
+
+
+
+
+ +
@@ -57,13 +108,13 @@ - + -- cgit
{{track.creation_time}} {{track.get_current_time}} {{track.get_video_duration}}{{track.get_percentage_complete}}{{track.get_percentage_complete}} % {% with track.get_watched as watched %} {% if watched %} {{watched}} {% else %} - {{watched}} + {{watched}} {% endif %} {% endwith %}