From 540319cf4a5069ad529fcc11016527527232dc02 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Mon, 6 Nov 2023 15:01:14 +1300 Subject: [PATCH] Add support for url inputs! --- form.html | 1 + tpl/keyboards/latin1.html | 8 ++++++-- tpl/keyboards/latin1/latin1-accent-lower.html | 8 ++++++-- tpl/keyboards/latin1/latin1-accent.html | 8 ++++++-- tpl/keyboards/latin1/latin1-symbol.html | 8 ++++++-- tpl/keyboards/latin1/latin1-upper.html | 8 ++++++-- 6 files changed, 31 insertions(+), 10 deletions(-) diff --git a/form.html b/form.html index 184277e..6561c09 100644 --- a/form.html +++ b/form.html @@ -14,6 +14,7 @@ + diff --git a/tpl/keyboards/latin1.html b/tpl/keyboards/latin1.html index f0211d0..441e49b 100644 --- a/tpl/keyboards/latin1.html +++ b/tpl/keyboards/latin1.html @@ -59,8 +59,12 @@ 9 0 - {% if input.inputType == "email" %} - @ + {% if input.inputType == "email" || input.inputType == "url" %} + {% if input.inputType == "email" %} + @ + {% else %} + / + {% endif %} . .com .org diff --git a/tpl/keyboards/latin1/latin1-accent-lower.html b/tpl/keyboards/latin1/latin1-accent-lower.html index 7f8f921..22c34d2 100644 --- a/tpl/keyboards/latin1/latin1-accent-lower.html +++ b/tpl/keyboards/latin1/latin1-accent-lower.html @@ -50,8 +50,12 @@ ý ÿ - {% if input.inputType == "email" %} - @ + {% if input.inputType == "email" || input.inputType == "url" %} + {% if input.inputType == "email" %} + @ + {% else %} + / + {% endif %} . .com .org diff --git a/tpl/keyboards/latin1/latin1-accent.html b/tpl/keyboards/latin1/latin1-accent.html index 419c841..db2d03e 100644 --- a/tpl/keyboards/latin1/latin1-accent.html +++ b/tpl/keyboards/latin1/latin1-accent.html @@ -51,8 +51,12 @@ Ý ß - {% if input.inputType == "email" %} - @ + {% if input.inputType == "email" || input.inputType == "url" %} + {% if input.inputType == "email" %} + @ + {% else %} + / + {% endif %} . .com .org diff --git a/tpl/keyboards/latin1/latin1-symbol.html b/tpl/keyboards/latin1/latin1-symbol.html index d306d86..586974e 100644 --- a/tpl/keyboards/latin1/latin1-symbol.html +++ b/tpl/keyboards/latin1/latin1-symbol.html @@ -91,8 +91,12 @@ ½ ¾ - {% if input.inputType == "email" %} - @ + {% if input.inputType == "email" || input.inputType == "url" %} + {% if input.inputType == "email" %} + @ + {% else %} + / + {% endif %} . .com .org diff --git a/tpl/keyboards/latin1/latin1-upper.html b/tpl/keyboards/latin1/latin1-upper.html index 43414f6..5666e49 100644 --- a/tpl/keyboards/latin1/latin1-upper.html +++ b/tpl/keyboards/latin1/latin1-upper.html @@ -59,8 +59,12 @@ 9 0 - {% if input.inputType == "email" %} - @ + {% if input.inputType == "email" || input.inputType == "url" %} + {% if input.inputType == "email" %} + @ + {% else %} + / + {% endif %} . .com .org -- 2.30.2