summaryrefslogtreecommitdiff
path: root/templates/exam/monitor.html
blob: d79bb35299ec5268912c4e14edf054bea96b38ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "base.html" %}

{% block title %} Quiz results {% endblock title %}

{% block meta %} <meta http-equiv="refresh" content="30"/> {% endblock meta %}

{% block content %}
<h1> Current quiz results </h1>


{% if paper_list %}
<table border="1" cellpadding="3">
    <tr>
        <th>Student </th> <th> Roll number </th>  <th>Questions answered</th> <th>Total marks</th>
    </tr>
    {% for paper in paper_list %}
    <tr> 
        <td> {{ paper.username }} </td>
        <td> {{ paper.rollno }} </td>
        <td> {{ paper.answered }} </td> 
        <td> {{ paper.total }} </td>
    
    </tr>
    {% endfor %}
</table>
{% else %}
    <p> No answer papers so far. </p>
{% endif %}

{% endblock content %}