diff options
Diffstat (limited to 'templates/exam')
-rw-r--r-- | templates/exam/monitor.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html new file mode 100644 index 0000000..21618e9 --- /dev/null +++ b/templates/exam/monitor.html @@ -0,0 +1,22 @@ +<h1> Current quiz results </h1> + +<meta http-equiv="refresh" content="30"/> + +{% if quiz_list %} +<table border="1"> + <tr> + <th>Student </th> <th>Questions answered</th> <th>Total marks</th> + </tr> + {% for paper in quiz_list %} + <tr> + <td>{{ paper.username }} </td> + <td>{{ paper.answered }} </td> + <td> {{ paper.total }} </td> + + </tr> + {% endfor %} +</table> +{% else %} + <p> No quizzes so far. </p> +{% endif %} + |