summaryrefslogtreecommitdiff
path: root/static/website/templates/leaderboard.html
blob: 7b56ee8726dc24913b8a49e2fce032c550522ac6 (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
31
32
33
34
35
36
{% extends "base.html" %}

{% load static %}
 {% block content %}
 <br><br><br>
 
    <section>
    <div class="container">
        <table border="1" width="90%"> 
            <thead>
                <tr>
                    <th>Participant Name</th>
                    &nbsp
                    <th>Score</th>
                </tr>
            </thead>
            
            {% for participant in leaderboard %}
            <tbody>
                <tr>
                    <td>
                        &nbsp {{ participant.0.user.get_full_name }}
                    </td>

                    <td>
                        &nbsp {{ participant.1 }}
                    </td>
                </tr>
            </tbody>
            {% endfor %}
        </table>

    </div>
    </section>
<br><br>
 {% endblock %}