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 %}
- 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.
-| Date / Time | -Username | -IP | -Status | +Date / Time | +Username | +IP | +Status |
|---|---|---|---|---|---|---|---|
| {{ 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. | |||||||