summaryrefslogtreecommitdiff
path: root/views/game_stats.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/game_stats.pug')
-rw-r--r--views/game_stats.pug25
1 files changed, 25 insertions, 0 deletions
diff --git a/views/game_stats.pug b/views/game_stats.pug
new file mode 100644
index 0000000..a60d7cb
--- /dev/null
+++ b/views/game_stats.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(style="min-width:auto")
+ thead
+ tr
+ th Player
+ th.r Rating
+ th.r Plays
+ th.r Last played
+ tbody
+ each row in ratings
+ tr
+ td= row.name
+ td.r= row.rating
+ td.r= row.count
+ td.r= row.last