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/games.pug | |
parent | c3d34c80112b291f13375b477e4fb6d70b59ed0a (diff) | |
download | server-4cfbe0019331c8fb2d381606806e6bea253ca14a.tar.gz |
Separate open and ready to start game lists.
Diffstat (limited to 'views/games.pug')
-rw-r--r-- | views/games.pug | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/views/games.pug b/views/games.pug index 2ab54f1..14ea168 100644 --- a/views/games.pug +++ b/views/games.pug @@ -3,16 +3,20 @@ doctype html html head include head - title Public Games + title= SITE_NAME if user meta(http-equiv="refresh" content=300) body include header article - h1 Public Games + h1= SITE_NAME h2 Open +gametable(0, open_games) + if ready_games.length > 0 + h2 Ready to start + +gametable(0, ready_games) + h2 Active +gametable(1, active_games) |