From 5d5f3baa5ae2197fec783ace10d03952e669ed1e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 15 Sep 2023 19:17:32 +0200 Subject: 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. --- views/create.pug | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'views/create.pug') 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 – many moves per day + + br + label + input(type="radio" name="pace" value="3") + | #{EMOJI_SLOW} Slow – one move per day + 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 -- cgit v1.2.3