From eb2207fb62847c10320610004a383a397d851cca Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Mon, 23 Feb 2026 16:33:33 +0100 Subject: [PATCH] feat: password fields with masked input, reveal toggle, confirmation - Password deploy fields now use type=password (masked by default) - Added eye toggle button to reveal/hide password and confirm fields - Added confirmation field below each password input - Generate button fills both password and confirmation fields - Form validation checks password confirmation matches before deploy - Confirmation field only shown for new deployments (not already deployed) Co-Authored-By: Claude Opus 4.6 --- controller/internal/web/templates/deploy.html | 41 +++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/controller/internal/web/templates/deploy.html b/controller/internal/web/templates/deploy.html index 82469fc..69ef23f 100644 --- a/controller/internal/web/templates/deploy.html +++ b/controller/internal/web/templates/deploy.html @@ -308,15 +308,25 @@ {{else if eq .Type "password"}}
- + + onclick="generatePassword('field-{{.EnvVar}}', 'field-confirm-{{.EnvVar}}')">Generálás
+ {{if not $.AlreadyDeployed}} +
+ +
+ {{end}} {{else if eq .Type "boolean"}}