summaryrefslogtreecommitdiff
path: root/static/website/templates/leaderboard.html
diff options
context:
space:
mode:
authorSashi202018-10-10 15:03:02 +0530
committerGitHub2018-10-10 15:03:02 +0530
commitcfc007e023c5a0c3fcc2a534dd5c64ad37581e9b (patch)
tree8c13a8cd762971e86bb39a95029eb2a16784ded0 /static/website/templates/leaderboard.html
parent78e35b6ffa9ad3336484168b569e9f26c2d9a67e (diff)
parenta80d99243f843181c7356d71a1b3446d5cc80637 (diff)
downloadnccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.tar.gz
nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.tar.bz2
nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.zip
Merge pull request #24 from Akshen/develop
DWSIM Quiz NCCP-2018
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