summaryrefslogtreecommitdiff
path: root/views/stats_title.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-05-06 20:25:36 +0200
committerTor Andersson <tor@ccxvii.net>2025-05-06 20:25:36 +0200
commit644c287eede443c608eeab0cc6cd41da228947e3 (patch)
tree2bf71850e6afe5c954515edcc110f7c91cf6d7f2 /views/stats_title.pug
parent2d22fd6f23e2afe24b64e4b8ab09bf1b5404e3e4 (diff)
downloadserver-644c287eede443c608eeab0cc6cd41da228947e3.tar.gz
Remove "api" prefix on many routes.
Diffstat (limited to 'views/stats_title.pug')
-rw-r--r--views/stats_title.pug25
1 files changed, 25 insertions, 0 deletions
diff --git a/views/stats_title.pug b/views/stats_title.pug
new file mode 100644
index 0000000..2107b93
--- /dev/null
+++ b/views/stats_title.pug
@@ -0,0 +1,25 @@
+//- vim:ts=4:sw=4:
+doctype html
+html
+ head
+ include head
+ title #{title_name} - Ranking
+ body
+ include header
+ article
+ h1 #{title_name} - Ranking
+
+ table.striped
+ thead
+ tr
+ th Player
+ th.r Rating
+ th.r Plays
+ th.r Last played
+ tbody
+ each row in ratings
+ tr
+ td <a class="black" href="user/#{row.name}">#{row.name}</a>
+ td.r= row.rating
+ td.r= row.count
+ td.r= row.last