summaryrefslogtreecommitdiff
path: root/views/leaderboards.html
diff options
context:
space:
mode:
authorJannick <[email protected]>2024-05-02 10:53:42 +0200
committerJannick <[email protected]>2024-05-02 10:53:42 +0200
commitce74a2c562a2d2f03a4fe1cf95316096676ebbb6 (patch)
tree25f67e6adf20be6262bf997c9e2970f7ed8406f0 /views/leaderboards.html
parentde9b1edd68b94700d5a8ff65eeef3ecede7c907a (diff)
Added leaderboard page
Added a button on the navbar, that'll take you to the leaderboard page. Added leaderboards.html as well as leaderboards.css
Diffstat (limited to 'views/leaderboards.html')
-rw-r--r--views/leaderboards.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/views/leaderboards.html b/views/leaderboards.html
new file mode 100644
index 0000000..2e64c55
--- /dev/null
+++ b/views/leaderboards.html
@@ -0,0 +1,26 @@
+{% extends "base.html" %}
+
+{% block head %}
+ <link rel="stylesheet" href="/styles/leaderboards.css">
+{% endblock %}
+
+{% block content %}
+ <div class="wrapper">
+ <h1>Leaderboard</h1>
+ <p>You can swap leadboard using the dropdown (not implemented)</p>
+ </div>
+ <table class="leaderboard" cellspacing="0">
+ <tr class="top_row row">
+ <th>Character name</th>
+ <th>Time in guild</th>
+ <th>Ranking</th>
+ </tr>
+ {% for character in all_members %}
+ <tr class="row">
+ <td class="data">{{ character[0] }}</td>
+ <td class="data">{{ character[1] }}</td>
+ <td class="data">{{ character[2] }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+{% endblock %} \ No newline at end of file