{% extends "base.html" %} {% block title %}Activity Logs - NexLab{% endblock %} {% block content %}

System Activity Logs

Monitor recent operational events and user actions across the system. (Top 500)

{% if message_success %}

{{ message_success }}

{% endif %} {% if message_error %}

{{ message_error }}

{% endif %}
Clear
{% for log in activities %} {% else %} {% endfor %}
Timestamp User Action Type Description Target Details
{{ log.created_at.strftime('%Y-%m-%d %H:%M:%S') }} {{ log.username }} {% if "LOGIN" in log.action_type %} {{ log.action_type }} {% elif "LOGOUT" in log.action_type %} {{ log.action_type }} {% elif "PRINT" in log.action_type %} {{ log.action_type }} {% else %} {{ log.action_type }} {% endif %} {{ log.description }} {% if log.target_type %} {{ log.target_type }} {% if log.target_id %}#{{ log.target_id }}{% endif %} {% else %}-{% endif %}
No activity logs found.
{% endblock %}