diff options
author | adityacp | 2020-12-15 20:18:31 +0530 |
---|---|---|
committer | adityacp | 2020-12-15 20:18:31 +0530 |
commit | 3e217025d6130fbbed8fe239b045519a3a7d0f4b (patch) | |
tree | 874d9854f5a537a927bb25f37573081e6ca8f141 /stats | |
parent | 9bbaae821f73a3ea16af92fd6b41cd9e86f00763 (diff) | |
download | online_test-3e217025d6130fbbed8fe239b045519a3a7d0f4b.tar.gz online_test-3e217025d6130fbbed8fe239b045519a3a7d0f4b.tar.bz2 online_test-3e217025d6130fbbed8fe239b045519a3a7d0f4b.zip |
Add new UI over bootstrap
Diffstat (limited to 'stats')
-rw-r--r-- | stats/templates/view_lesson_tracking.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/stats/templates/view_lesson_tracking.html b/stats/templates/view_lesson_tracking.html index a9d3025..75573c0 100644 --- a/stats/templates/view_lesson_tracking.html +++ b/stats/templates/view_lesson_tracking.html @@ -39,7 +39,7 @@ <div class="col" id="barDiv3"></div> </div> <script type="text/javascript"> - var config = {responsive: true} + var config = {responsive: true, displayModeBar: false} var data = [ { x: ["Completed", "Not Completed"], @@ -85,8 +85,9 @@ Plotly.newPlot('barDiv3', data, layout, config); </script> <br> - <table class="table table-responsive" id="stats-table"> - <thead> + <div class="table-responsive"> + <table class="table table-dark table-responsive-sm" id="stats-table"> + <thead class="thead-dark"> <tr> <th>Sr No.</th> <th>Student Name <i class="fa fa-sort"></i></th> @@ -94,12 +95,13 @@ <th>Started on <i class="fa fa-sort"></i></th> <th>Current Duration <i class="fa fa-sort"></i></th> <th>Video Duration <i class="fa fa-sort"></i></th> - <th>Percentage Watched <i class="fa fa-sort"></i></th> - <th>Watched Once Completely <i class="fa fa-sort"></i></th> + <th>Percentage <i class="fa fa-sort"></i></th> + <th>Watched <i class="fa fa-sort"></i></th> <th>Total Time Spent <i class="fa fa-sort"></i></th> <th>Total Visits <i class="fa fa-sort"></i></th> </tr> </thead> + <tbody class="list"> {% for track in trackings %} <tr> <td>{{ forloop.counter0 }}</td> @@ -122,7 +124,9 @@ <td>{{track.get_no_of_vists}}</td> </tr> {% endfor %} + </tbody> </table> + </div> {% endwith %} <br> {% include "yaksh/paginator.html" %} |