From b3f5721f3cf4225902000f2f76e5138135383792 Mon Sep 17 00:00:00 2001
From: prathamesh
Date: Thu, 8 Feb 2018 14:29:38 +0530
Subject: Add weightage for Quiz and Create Grading System App
App Name: grades
Grading System provides with the grade for a given value.
It contains different grade ranges.
Has its own default grading system.
Allows you to modify and add grading system wth grade ranges.
To be done:
- Need to add README
- Good UI
- There are fields like can_be_used and order in models for future use.
- More tests
App name: Yaksh
Now every quiz has a default weightage of 100%, can be changed.
An aggregate is calculated for a given course.
Using grades app a grade is provide to the aggregate value.
---
grades/templates/grading_systems.html | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 grades/templates/grading_systems.html
(limited to 'grades/templates/grading_systems.html')
diff --git a/grades/templates/grading_systems.html b/grades/templates/grading_systems.html
new file mode 100644
index 0000000..143b037
--- /dev/null
+++ b/grades/templates/grading_systems.html
@@ -0,0 +1,17 @@
+
+ Default Grading System:
+
+ My grading System:
+ {% if grading_systems %}
+
+ {% else %}
+ None. You can add one.
+ {% endif %}
+ Add a Grading System
+
--
cgit
From 95f5f27c18380e2fb2f33526c467e822dd10c4d8 Mon Sep 17 00:00:00 2001
From: adityacp
Date: Thu, 1 Mar 2018 18:56:13 +0530
Subject: Add basic UI for grading system
---
grades/templates/grading_systems.html | 80 +++++++++++++++++++++++++++++------
1 file changed, 68 insertions(+), 12 deletions(-)
(limited to 'grades/templates/grading_systems.html')
diff --git a/grades/templates/grading_systems.html b/grades/templates/grading_systems.html
index 143b037..baa5610 100644
--- a/grades/templates/grading_systems.html
+++ b/grades/templates/grading_systems.html
@@ -1,17 +1,73 @@
+{% extends "manage.html" %}
+{% block main %}
- Default Grading System:
-
- My grading System:
- {% if grading_systems %}
-
+ Add a Grading System
+
+ Available Grading Systems:
+
+
+ Grading System |
+ Grading Ranges |
+
+
+
+
+ {{ default_grading_system.name }} (Default Grading System)
+ |
+
+
+
+ Lower Limit |
+ Upper Limit |
+ Grade |
+ Description |
+
+ {% for range in default_grading_system.graderange_set.all %}
+
+ {{range.lower_limit}} |
+ {{range.upper_limit}} |
+ {{range.grade}} |
+ {% if range.description %}
+ {{range.description}} |
+ {% else %}
+ ------ |
+ {% endif %}
+
+ {% endfor %}
+
+ |
+
+ {% if grading_systems %}
{% for system in grading_systems %}
- - {{ system.name }}
+
+
+ {{ system.name }}
+ |
+
+
+
+ Lower Limit |
+ Upper Limit |
+ Grade |
+ Description |
+
+ {% for range in system.graderange_set.all %}
+
+ {{range.lower_limit}} |
+ {{range.upper_limit}} |
+ {{range.grade}} |
+ {% if range.description %}
+ {{range.description}} |
+ {% else %}
+ ------ |
+ {% endif %}
+
+ {% endfor %}
+
+ |
+
{% endfor %}
-
- {% else %}
- None. You can add one.
+
{% endif %}
- Add a Grading System
+{% endblock %}
--
cgit
From e1c1d0d0d6ae170d3ce9966b98ec6d03ff35c062 Mon Sep 17 00:00:00 2001
From: adityacp
Date: Wed, 21 Mar 2018 17:43:26 +0530
Subject: Move Grading systems from navbar to Courses sidebar
---
grades/templates/grading_systems.html | 1 +
1 file changed, 1 insertion(+)
(limited to 'grades/templates/grading_systems.html')
diff --git a/grades/templates/grading_systems.html b/grades/templates/grading_systems.html
index baa5610..3a71ebf 100644
--- a/grades/templates/grading_systems.html
+++ b/grades/templates/grading_systems.html
@@ -2,6 +2,7 @@
{% block main %}
Add a Grading System
+ Back to Courses
Available Grading Systems: