summaryrefslogtreecommitdiff
path: root/static/website/templates/leaderboard.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/leaderboard.html')
-rw-r--r--static/website/templates/leaderboard.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/static/website/templates/leaderboard.html b/static/website/templates/leaderboard.html
new file mode 100644
index 0000000..7b56ee8
--- /dev/null
+++ b/static/website/templates/leaderboard.html
@@ -0,0 +1,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 %} \ No newline at end of file