diff options
Diffstat (limited to 'static/website/templates/leaderboard.html')
-rw-r--r-- | static/website/templates/leaderboard.html | 36 |
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> +   + <th>Score</th> + </tr> + </thead> + + {% for participant in leaderboard %} + <tbody> + <tr> + <td> +   {{ participant.0.user.get_full_name }} + </td> + + <td> +   {{ participant.1 }} + </td> + </tr> + </tbody> + {% endfor %} + </table> + + </div> + </section> +<br><br> + {% endblock %}
\ No newline at end of file |