From 85f9af4ffca3a63398dc6ea136db6358d0809324 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 9 Apr 2026 02:27:55 +0200 Subject: [PATCH] Remove prompt() dialogs, breach warnings, cost display; fix 2FA disable UI - Replace browser prompt() with inline UI for: 2FA disable (password field), admin password reset (inline input), admin test email (inline input) - Remove all password breach warning UI (login, register, settings) Backend HIBP check endpoint remains but is no longer called from frontend - Remove model cost display from dropdown and header badge - Hide empty cost-badge element in header - Fix model dropdown to flat list (no category grouping) --- public/components/settings.html | 13 ++++++- public/index.html | 4 +- public/js/admin.js | 68 ++++++++++++++++++++++++--------- public/js/app.js | 11 +----- public/js/auth.js | 56 ++++++++++----------------- 5 files changed, 83 insertions(+), 69 deletions(-) diff --git a/public/components/settings.html b/public/components/settings.html index 787ef75..e22722c 100644 --- a/public/components/settings.html +++ b/public/components/settings.html @@ -95,7 +95,6 @@
-
@@ -110,7 +109,17 @@

Two-Factor Authentication

Status: Loading...

- + +