{% extends "base.html" %} {% block title %}Access Logs — {{ branding.site_name }}{% endblock %} {% block content %}
Track page visits and login attempts by IP address. Block suspicious addresses.
Export assets and blocked IPs. Import only adds missing rows — existing barcodes and IPs are left unchanged.
{{ block.ip_address }}
{% if block.reason %} — {{ block.reason }}{% endif %}
No blocked IPs.
{% endif %}| IP | Events | |
|---|---|---|
{{ row.ip_address }} |
{{ row.total }} | |
| No activity yet. | ||
| IP | Failures | |
|---|---|---|
{{ row.ip_address }} |
{{ row.total }} | |
| No failed logins recorded. | ||
| Time | IP | Event | Path | User |
|---|---|---|---|---|
| {{ log.created_at|date:"M j, Y g:i:s A" }} | {{ log.ip_address }} |
{% if log.event_type == 'login_failed' %} {{ log.get_event_type_display }} {% elif log.event_type == 'login_success' %} {{ log.get_event_type_display }} {% elif log.event_type == 'access_blocked' %} {{ log.get_event_type_display }} {% else %} {{ log.get_event_type_display }} {% endif %} | {{ log.username|default:"—" }} | |
| No logs yet. | ||||