From 93aa9f5995053166d51989a820f9b44d977423b9 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Thu, 26 Oct 2023 15:22:52 +1300 Subject: [PATCH] Reorganize keyboard templates. --- src/Text/HTML/Form/WebApp.hs | 25 +++++++++++++++---- src/Text/HTML/Form/WebApp/Ginger.hs | 7 +++--- tpl/{ => keyboards}/latin1.html | 2 +- .../latin1}/latin1-accent-lower.html | 2 +- tpl/{ => keyboards/latin1}/latin1-accent.html | 2 +- tpl/{ => keyboards/latin1}/latin1-symbol.html | 2 +- tpl/{ => keyboards/latin1}/latin1-upper.html | 2 +- 7 files changed, 29 insertions(+), 13 deletions(-) rename tpl/{ => keyboards}/latin1.html (98%) rename tpl/{ => keyboards/latin1}/latin1-accent-lower.html (98%) rename tpl/{ => keyboards/latin1}/latin1-accent.html (98%) rename tpl/{ => keyboards/latin1}/latin1-symbol.html (99%) rename tpl/{ => keyboards/latin1}/latin1-upper.html (98%) diff --git a/src/Text/HTML/Form/WebApp.hs b/src/Text/HTML/Form/WebApp.hs index e5d28ed..c1cb419 100644 --- a/src/Text/HTML/Form/WebApp.hs +++ b/src/Text/HTML/Form/WebApp.hs @@ -65,17 +65,32 @@ renderInput form ix input@Input {inputType="radio", inputName=k', value=v'} [] q renderInput form ix input@Input { inputType="