summaryrefslogtreecommitdiff
path: root/views/games_active.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-11 02:06:51 +0200
committerTor Andersson <tor@ccxvii.net>2022-06-11 13:36:18 +0200
commit8175df9f9af2393964f053af5a98851c376e1675 (patch)
treea08a63eadf33599dc186a3586ea656bf2724969b /views/games_active.pug
parenta747178b4336480feee79d8f90afc5a2ab6ffc87 (diff)
downloadserver-8175df9f9af2393964f053af5a98851c376e1675.tar.gz
Use game boxes instead of tables.
Diffstat (limited to 'views/games_active.pug')
-rw-r--r--views/games_active.pug10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/games_active.pug b/views/games_active.pug
index 49d20d8..16d8ceb 100644
--- a/views/games_active.pug
+++ b/views/games_active.pug
@@ -13,24 +13,24 @@ html
if ready_games.length > 0
h2 Ready to start
- +gametable(0,ready_games)
+ +gamelist(ready_games, "ready")
if open_games.length > 0
h2 Open
- +gametable(0,open_games)
+ +gamelist(open_games, "open")
if replacement_games.length > 0
h2 Need replacement
- +gametable(0, replacement_games)
+ +gamelist(replacement_games, "replacement")
if active_games.length > 0
h2 Active
- +gametable(1,active_games)
+ +gamelist(active_games, "active")
if finished_games.length > 0
h2 Recently finished
- +gametable(2,finished_games)
+ +gamelist(finished_games, "finished")
p <a href="/games/finished">All your finished games</a>