summaryrefslogtreecommitdiff
path: root/views/info.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-01-15 23:00:42 +0100
committerTor Andersson <tor@ccxvii.net>2022-01-15 23:00:48 +0100
commit4cfbe0019331c8fb2d381606806e6bea253ca14a (patch)
tree2401a00273b7b19bdbefe70a60515a7b00833734 /views/info.pug
parentc3d34c80112b291f13375b477e4fb6d70b59ed0a (diff)
downloadserver-4cfbe0019331c8fb2d381606806e6bea253ca14a.tar.gz
Separate open and ready to start game lists.
Diffstat (limited to 'views/info.pug')
-rw-r--r--views/info.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/info.pug b/views/info.pug
index 86a74d0..e38091c 100644
--- a/views/info.pug
+++ b/views/info.pug
@@ -25,6 +25,10 @@ html
p
a(href="/create/"+title.title_id) Create a new game
+ if ready_games.length > 0
+ h2 Ready to start
+ +gametable(0,ready_games)
+
if active_games.length > 0
h2 Active games
+gametable(1,active_games,1)