diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-09-15 19:17:32 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-09-20 20:29:16 +0200 |
commit | 5d5f3baa5ae2197fec783ace10d03952e669ed1e (patch) | |
tree | 1b22bf8d4f52873fdbee0aca5b2ffcf0803fd8e9 /views/create.pug | |
parent | 58530e70bbd741d29fbc7b7904c37dcbc3ec1648 (diff) | |
download | server-5d5f3baa5ae2197fec783ace10d03952e669ed1e.tar.gz |
Add pace property to games.
Currently unenforced and only visual effect in game listings.-
Future time control and user penalty features may make use of it.
Diffstat (limited to 'views/create.pug')
-rw-r--r-- | views/create.pug | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/views/create.pug b/views/create.pug index 32fa01b..95e0ea0 100644 --- a/views/create.pug +++ b/views/create.pug @@ -29,6 +29,27 @@ html br input(type="text" autocomplete="off" name="notice" size=50 placeholder="What are you looking for?") + p Pace: + br + label + input(type="radio" name="pace" value="0" checked) + | Any + + br + label + input(type="radio" name="pace" value="1") + | #{EMOJI_LIVE} Live + + br + label + input(type="radio" name="pace" value="2") + | #{EMOJI_FAST} Fast <i>– many moves per day</i> + + br + label + input(type="radio" name="pace" value="3") + | #{EMOJI_SLOW} Slow <i>– one move per day</i> + p label input(type="checkbox" name="is_random" value="true") @@ -38,6 +59,7 @@ html label input(type="checkbox" name="is_private" value="true") | Private + if limit p.error= limit else |