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" %}
Sr No. | Roll No. | -Name | Current Unit | Course Completion Percentage | Grade | @@ -151,26 +160,18 @@||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- {{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 }} -
+
-
+
|