From 5b665a840bd3193c9be7b21fbe6f66e119e92d74 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 23 Jul 2024 21:18:08 +0200 Subject: New time control. --- views/create.pug | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'views/create.pug') diff --git a/views/create.pug b/views/create.pug index 912156c..d45903e 100644 --- a/views/create.pug +++ b/views/create.pug @@ -49,25 +49,11 @@ html input(type="text" autocomplete="off" name="notice" size=45 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 + each text, pace in PACE_TEXT + br + label + input(type="radio" name="pace" value=pace checked=pace===0) + | #{PACE_ICON[pace]} #{text} p label -- cgit v1.2.3