From d5cd760142772eb91d3c9ce01b3ae8ea86d160da Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Thu, 10 Nov 2011 15:13:55 +0530 Subject: ENH: Cleaning up test code add rollno to monitor Adding a rollnumber to monitor table and cleaning up the test code to be a separate function. This should be more reusable as we could technically run this in a separate process with an unpriviledged user. --- templates/exam/monitor.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'templates/exam/monitor.html') diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html index 21618e9..12360a2 100644 --- a/templates/exam/monitor.html +++ b/templates/exam/monitor.html @@ -3,14 +3,15 @@ {% if quiz_list %} - +
- + {% for paper in quiz_list %} - - + + + -- cgit
Student Questions answered Total marksStudent Roll number Questions answered Total marks
{{ paper.username }} {{ paper.answered }} {{ paper.username }} {{ paper.rollno }} {{ paper.answered }} {{ paper.total }}