summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js1
-rw-r--r--views/signup.pug9
2 files changed, 10 insertions, 0 deletions
diff --git a/server.js b/server.js
index d964048..b4620e6 100644
--- a/server.js
+++ b/server.js
@@ -166,6 +166,7 @@ function set_static_headers(res, path) {
let app = express()
app.locals.SITE_NAME = SITE_NAME
+app.locals.SITE_NAME_P = SITE_NAME.endsWith("!") ? SITE_NAME : SITE_NAME + "."
app.locals.SITE_URL = SITE_URL
app.locals.SITE_THEME = process.env.SITE_THEME
app.locals.SITE_ICON = process.env.SITE_ICON
diff --git a/views/signup.pug b/views/signup.pug
index f0ff37f..70de257 100644
--- a/views/signup.pug
+++ b/views/signup.pug
@@ -15,14 +15,23 @@ html
p You're already logged in!
else
form(method="post" action="/signup")
+ p You need to sign up for a free account to play games on #{SITE_NAME_P}
p
label Name:
br
input(type="text" name="username" required)
+ br
+ i How you will be known to other players.
+ br
+ i You can change your user name at any time.
p
label Mail:
br
input(type="email" name="mail" required)
+ br
+ i Your mail address is only used for turn notifications and password recovery.
+ br
+ i It will not be visible to other players.
p
label Password:
br