From e85207d29881a9d0e3c268cf5b9b0eac0a47088d Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Fri, 27 Oct 2023 14:51:17 +1300 Subject: [PATCH] Don't display passwords onscreen --- tpl/base.html | 5 ++++- tpl/keyboards/latin1.html | 2 ++ tpl/keyboards/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 ++ 6 files changed, 14 insertions(+), 1 deletion(-) diff --git a/tpl/base.html b/tpl/base.html index 17db7aa..df6f8f8 100644 --- a/tpl/base.html +++ b/tpl/base.html @@ -34,10 +34,13 @@ {% block main %} diff --git a/tpl/keyboards/latin1.html b/tpl/keyboards/latin1.html index d1b6b45..d777b1c 100644 --- a/tpl/keyboards/latin1.html +++ b/tpl/keyboards/latin1.html @@ -1,9 +1,11 @@ {% extends "/base.html" %} {%- block control -%}
+ {% if input.type != 'password' %}

{{ input.value }} {% if input.multiple %}{% endif %}


+ {% endif %}

abc | ABC | !@# | àêï | diff --git a/tpl/keyboards/latin1/latin1-accent-lower.html b/tpl/keyboards/latin1/latin1-accent-lower.html index aa4c81f..b6be56a 100644 --- a/tpl/keyboards/latin1/latin1-accent-lower.html +++ b/tpl/keyboards/latin1/latin1-accent-lower.html @@ -1,9 +1,11 @@ {% extends "/base.html" %} {%- block control -%}

+ {% if input.type != 'password' %}

{{ input.value }} {% if input.multiple %}{% endif %}


+ {% endif %}

abc | ABC | !@# | àêï | ÀÊÏ

diff --git a/tpl/keyboards/latin1/latin1-accent.html b/tpl/keyboards/latin1/latin1-accent.html index b306a4c..f645f7b 100644 --- a/tpl/keyboards/latin1/latin1-accent.html +++ b/tpl/keyboards/latin1/latin1-accent.html @@ -1,9 +1,11 @@ {% extends "/base.html" %} {%- block control -%}
+ {% if input.type != 'password' %}

{{ input.value }} {% if input.multiple %}{% endif %}


+ {% endif %}

abc | ABC | !@# | àêï | diff --git a/tpl/keyboards/latin1/latin1-symbol.html b/tpl/keyboards/latin1/latin1-symbol.html index 635a737..f527e3d 100644 --- a/tpl/keyboards/latin1/latin1-symbol.html +++ b/tpl/keyboards/latin1/latin1-symbol.html @@ -1,9 +1,11 @@ {% extends "/base.html" %} {%- block control -%}

+ {% if input.type != 'password' %}

{{ input.value }} {% if input.multiple %}{% endif %}


+ {% endif %}

abc | ABC | !@# | àêï | ÀÊÏ

diff --git a/tpl/keyboards/latin1/latin1-upper.html b/tpl/keyboards/latin1/latin1-upper.html index 66d4f24..2eb0a6c 100644 --- a/tpl/keyboards/latin1/latin1-upper.html +++ b/tpl/keyboards/latin1/latin1-upper.html @@ -1,9 +1,11 @@ {% extends "/base.html" %} {%- block control -%}
+ {% if input.type != 'password' %}

{{ input.value }} {% if input.multiple %}{% endif %}


+ {% endif %}

abc | ABC | !@# | àêï | -- 2.30.2