From 4cfbe0019331c8fb2d381606806e6bea253ca14a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 15 Jan 2022 23:00:42 +0100 Subject: Separate open and ready to start game lists. --- views/games.pug | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'views/games.pug') 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) -- cgit v1.2.3