From 9089461c8dee41e7baedb786cf3365f3348da163 Mon Sep 17 00:00:00 2001 From: blek Date: Fri, 27 Oct 2023 01:13:46 +1000 Subject: [PATCH] add js UX for pass entry --- filed/templates/index.html | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/filed/templates/index.html b/filed/templates/index.html index f9e56dd..359ecbb 100644 --- a/filed/templates/index.html +++ b/filed/templates/index.html @@ -9,6 +9,31 @@ {% endblock %} +{% block scripts %} + +{%- if conf.files.upload_pass.is_some() -%} + + {#- Script to disable button when password is not entered -#} +{#- -#} + +{%- endif -%} + +{% endblock %} + {% block body %}
@@ -125,7 +150,7 @@

@@ -160,7 +185,7 @@

-