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""" -
-