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-08 12:27:31 +0200
commit83949e45c0f3abfba5432a4bdf38e2fc744afec2 (patch)
tree2bf71850e6afe5c954515edcc110f7c91cf6d7f2 /views/stats_title.pug
parent4fabe52169e718af25b407533d775da3f3192015 (diff)
downloadserver-83949e45c0f3abfba5432a4bdf38e2fc744afec2.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