summaryrefslogtreecommitdiff
path: root/views/games_active.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-07-24 12:27:25 +0200
committerTor Andersson <tor@ccxvii.net>2022-07-24 13:05:31 +0200
commit007b4d1ce6c868bb2ea631b00839c2a4dce7906e (patch)
treed1aaa7bfa8f875420cae77aadfdc3d08930339fb /views/games_active.pug
parent3e882f6480dd1c7e3148a1e6caf45d7c7568b75b (diff)
downloadserver-007b4d1ce6c868bb2ea631b00839c2a4dce7906e.tar.gz
Add "create game" index page.
Diffstat (limited to 'views/games_active.pug')
-rw-r--r--views/games_active.pug3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/games_active.pug b/views/games_active.pug
index 66ee86c..9e4b909 100644
--- a/views/games_active.pug
+++ b/views/games_active.pug
@@ -18,6 +18,9 @@ html
h2 Open
+gamelist(open_games)
+ p
+ a(href="/create") Create a new game
+
if active_games.length > 0
h2 Active
+gamelist(active_games)