diff options
author | prathamesh | 2018-02-13 12:48:19 +0530 |
---|---|---|
committer | adityacp | 2018-03-21 17:32:41 +0530 |
commit | f06a5d2ffbb1a06320935841a4ba24720e651985 (patch) | |
tree | 8b72047eafb25abb2b4556ce4633c9b10375ef5b /grades/templates/add_grades.html | |
parent | 24bce890f07b6696ef1e910443a41a54840a6e90 (diff) | |
download | online_test-f06a5d2ffbb1a06320935841a4ba24720e651985.tar.gz online_test-f06a5d2ffbb1a06320935841a4ba24720e651985.tar.bz2 online_test-f06a5d2ffbb1a06320935841a4ba24720e651985.zip |
Change default grading system behaviour
Cannot edit default system.
Code as per PEP8 standards.
Updates grade after regrade or manual grading
Field change from total marks to percentage
Removed unused fields from grades app
Diffstat (limited to 'grades/templates/add_grades.html')
-rw-r--r-- | grades/templates/add_grades.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/grades/templates/add_grades.html b/grades/templates/add_grades.html index f2f0051..1e4d29e 100644 --- a/grades/templates/add_grades.html +++ b/grades/templates/add_grades.html @@ -20,9 +20,11 @@ </div> <hr> {% endfor %} - - <input type="submit" id="add" name="add" value="Add"> - <input type="submit" id="save" name="save" value="Save"> - + {% if not is_default %} + <input type="submit" id="add" name="add" value="Add"> + <input type="submit" id="save" name="save" value="Save"> + {% else %} + <p><b>Note: This is a default grading system. You cannot change this.</b></p> + {% endif %} </form> </html> |