From a3f720071256131ece6bbe41130fb0b5bdda72be Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Tue, 19 Feb 2019 11:35:40 +0530 Subject: Multiple UI Changes: - Change Course Status page UI - Fix breaking alignment in Monitor Page summary table --- yaksh/templates/yaksh/course_detail.html | 31 +++++++++++---------- yaksh/templates/yaksh/monitor.html | 47 +++++++++++++++++++++----------- 2 files changed, 47 insertions(+), 31 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html index a0a6ed2..eccdceb 100644 --- a/yaksh/templates/yaksh/course_detail.html +++ b/yaksh/templates/yaksh/course_detail.html @@ -132,17 +132,26 @@ {% elif state == "course_status" %}
-
- - Export to CSV
Course Status
-
+
+
+
+
Course Status
+
+
+ Number Of Students: {{ student_details | length }} +
+ +
+
- - + @@ -151,26 +160,18 @@ {% for student, grade, percent, unit in student_details %} -
Sr No. Roll No.EmailName Current Unit Course Completion Percentage Grade
- {{forloop.counter}}. - {{ student.profile.roll_number}} - {% if student.email %} - {{ student.email }} - {% else %} - {{ student.get_full_name|title}} - {% endif %} + {{ student.get_full_name|title}} - {{ student.get_full_name|title }} {% if unit %} {% if unit.type == 'quiz' %} {{unit.quiz.description}} diff --git a/yaksh/templates/yaksh/monitor.html b/yaksh/templates/yaksh/monitor.html index 1f85938..54e4ce1 100644 --- a/yaksh/templates/yaksh/monitor.html +++ b/yaksh/templates/yaksh/monitor.html @@ -68,24 +68,39 @@ $(document).ready(function() {% if quiz %} {% if papers %}
-
-
-
Course Name:
Quiz Name:
Number of papers:
Papers completed:
Papers in progress:
-
-
- {{ course.name }}
- {{ quiz.description }}
- {{ papers|length }}
- {% completed papers as completed_papers %} - {# template tag used to get the count of completed papers #} - {{ completed_papers }}
- {% inprogress papers as inprogress_papers %} - {# template tag used to get the count of inprogress papers #} - {{ inprogress_papers }} -
+
+
+ + + + + + + + + + + + + + + + + + + + + +
Course Name: {{course.name}}
Quiz Name: {{quiz.description}}
Number of papers:  {{papers|length}}
Papers Completed:   + {% completed papers as completed_papers %} + {{completed_papers}} +
Papers in progress:   + {% inprogress papers as inprogress_papers %} + {{ inprogress_papers }} +
-