From fe5b3c41aa898fa7491a7ec9bce28c5e1c5b542d Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 6 Nov 2020 18:21:48 +0530 Subject: Statistics app for video tracking --- stats/templates/view_lesson_tracking.html | 69 +++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 stats/templates/view_lesson_tracking.html (limited to 'stats/templates/view_lesson_tracking.html') diff --git a/stats/templates/view_lesson_tracking.html b/stats/templates/view_lesson_tracking.html new file mode 100644 index 0000000..fd87d70 --- /dev/null +++ b/stats/templates/view_lesson_tracking.html @@ -0,0 +1,69 @@ +{% extends "manage.html" %} + +{% block title %} Lesson Views {% endblock %} +{% block script %} + +{% endblock %} +{% block content %} +
+ {% with objects.object_list as trackings %} +
+

Statistics for {% with trackings|first as entry %} {{entry.lesson}} {% endwith %}

+
+ +  Back + +

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

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

+ + + + + + + + + + + {% for track in trackings %} + + + + + + + + + + {% endfor %} +
Sr No.Student NameLast access onStarted onCurrent TimeVideo DurationPercentage watched
{{ forloop.counter0|add:objects.start_index }}{{track.user.get_full_name}}{{track.last_access_time}}{{track.creation_time}}{{track.current_time}}{{track.video_duration}} + +
+ {% endwith %} +
+ {% include "yaksh/paginator.html" %} +
+{% endblock %} \ No newline at end of file -- cgit From 7419b67b1928f30824a332d36afcdfddebaf2479 Mon Sep 17 00:00:00 2001 From: adityacp Date: Sat, 7 Nov 2020 12:09:22 +0530 Subject: Add table sorter --- stats/templates/view_lesson_tracking.html | 34 ++++++++++++++++--------------- 1 file changed, 18 insertions(+), 16 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 fd87d70..fa891e3 100644 --- a/stats/templates/view_lesson_tracking.html +++ b/stats/templates/view_lesson_tracking.html @@ -1,7 +1,9 @@ {% extends "manage.html" %} - +{% load static %} {% block title %} Lesson Views {% endblock %} {% block script %} +