diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-15 23:00:42 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-01-15 23:00:48 +0100 |
commit | 4cfbe0019331c8fb2d381606806e6bea253ca14a (patch) | |
tree | 2401a00273b7b19bdbefe70a60515a7b00833734 /views/info.pug | |
parent | c3d34c80112b291f13375b477e4fb6d70b59ed0a (diff) | |
download | server-4cfbe0019331c8fb2d381606806e6bea253ca14a.tar.gz |
Separate open and ready to start game lists.
Diffstat (limited to 'views/info.pug')
-rw-r--r-- | views/info.pug | 4 |
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) |