From 08c5a265d05036ef23077df81ff1a981bc7783a5 Mon Sep 17 00:00:00 2001 From: bryancito1090 Date: Fri, 6 Nov 2026 07:31:00 -0500 Subject: [PATCH] feat(ui): implementar diseno glassmorphism para el login y bloqueo --- ansible/roles/portal_app/files/app.py | 442 ++++++++++++++++++++------ tests/test_portal.py | 13 + 2 files changed, 360 insertions(+), 95 deletions(-) diff --git a/ansible/roles/portal_app/files/app.py b/ansible/roles/portal_app/files/app.py index cb44c55..a9d1c2d 100644 --- a/ansible/roles/portal_app/files/app.py +++ b/ansible/roles/portal_app/files/app.py @@ -107,6 +107,17 @@ SVG_ICONS = { '' ), + "lock": ( + '' + '' + '' + ), + "arrow_right": ( + '' + '' + ), } @@ -704,59 +715,132 @@ class Handler(BaseHTTPRequestHandler): if message: kind = "critical" if error else "info" alert_html = f""" -
+
{html_escape(message)}
""" + icon_shield = SVG_ICONS["shield"] + icon_user = SVG_ICONS["user"] + icon_lock = SVG_ICONS["lock"] + icon_arrow = SVG_ICONS["arrow_right"] + content = f""" -
-