summaryrefslogtreecommitdiff
path: root/views/games_public.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_public.pug
parent3e882f6480dd1c7e3148a1e6caf45d7c7568b75b (diff)
downloadserver-007b4d1ce6c868bb2ea631b00839c2a4dce7906e.tar.gz
Add "create game" index page.
Diffstat (limited to 'views/games_public.pug')
-rw-r--r--views/games_public.pug3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/games_public.pug b/views/games_public.pug
index a3b1407..e1a5387 100644
--- a/views/games_public.pug
+++ b/views/games_public.pug
@@ -21,6 +21,9 @@ html
else
p No open games.
+ p
+ a(href="/create") Create a new game
+
if replacement_games.length > 0
h2 Need replacement
+gamelist(replacement_games)