summaryrefslogtreecommitdiff
path: root/views/create-index.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/create-index.pug
parent3e882f6480dd1c7e3148a1e6caf45d7c7568b75b (diff)
downloadserver-007b4d1ce6c868bb2ea631b00839c2a4dce7906e.tar.gz
Add "create game" index page.
Diffstat (limited to 'views/create-index.pug')
-rw-r--r--views/create-index.pug16
1 files changed, 16 insertions, 0 deletions
diff --git a/views/create-index.pug b/views/create-index.pug
new file mode 100644
index 0000000..6c45961
--- /dev/null
+++ b/views/create-index.pug
@@ -0,0 +1,16 @@
+//- vim:ts=4:sw=4:
+doctype html
+html
+ head
+ include head
+ title= SITE_NAME
+ body
+ include header
+ article
+ h1 Create a new game
+
+ ul
+ each title in titles
+ unless title.is_hidden
+ li
+ a(href="/create/"+title.title_id)= title.title_name