diff --git a/web/templates/tools/login_attempts.html b/web/templates/tools/login_attempts.html index edfa1a0..7abf739 100644 --- a/web/templates/tools/login_attempts.html +++ b/web/templates/tools/login_attempts.html @@ -1,38 +1,48 @@ {% extends "base.html" %} {% block title %}Login Attempts (7 days){% endblock %} +{% block body_class %}themed-bg{% endblock %} + {% block content %}

Security · Login Attempts (7 days)

-
-

- Showing successful and failed logins from the last 7 days. Old records are automatically pruned. +

+ +

+ Showing successful and failed logins from the last week. Records older than 7 days are automatically removed.

-
- +
+
- - - - + + + + {% for a in attempts %} - - - - - + + + + + {% empty %} - + {% endfor %}
Date / TimeUsernameIPStatusDate / TimeUsernameIPStatus
{{ a.timestamp|date:"Y-m-d H:i:s" }}{{ a.username }}{{ a.ip_address|default:"—" }}{% if a.success %}Success{% else %}Failed{% endif %}
{{ a.timestamp|date:"Y-m-d H:i:s" }}{{ a.username }}{{ a.ip_address|default:"—" }} + {% if a.success %} + Success + {% else %} + Failed + {% endif %} +
No login attempts in the last 7 days.
No login attempts in the last 7 days.
+
{% endblock %} \ No newline at end of file