From 3375839bfc531329adc45994659be382295038b6 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Fri, 25 Nov 2011 00:57:41 +0530 Subject: ENH: Adding a convenient grading interface. With this, you can grade a student's answer paper and give comments for each quiz paper they attempt. Also added a link to this grading interface to the user_data view. --- templates/exam/grade_user.html | 62 ++++++++++++++++++++++++++++++++++++++++++ templates/exam/user_data.html | 6 ++++ 2 files changed, 68 insertions(+) create mode 100644 templates/exam/grade_user.html (limited to 'templates') diff --git a/templates/exam/grade_user.html b/templates/exam/grade_user.html new file mode 100644 index 0000000..f671237 --- /dev/null +++ b/templates/exam/grade_user.html @@ -0,0 +1,62 @@ +{% extends "base.html" %} + +{% block title %} Grading papers for {{ data.user.get_full_name.title }} {% endblock title %} + +{% block content %} + +
+Name: {{ data.user.get_full_name.title }}
+{% if data.profile %}
+(roll number: {{ data.profile.roll_number }})
+{{ data.profile.position }},
+{{ data.profile.department }},
+{{ data.profile.institute }}
+{% endif %}
+
+Questions correctly answered: {{ paper.get_answered_str }}
+Total attempts at questions: {{ paper.answers.count }}
+Marks obtained: {{ paper.get_total_marks }}
+Start time: {{ paper.start_time }}
+