{% extends "admin_layout.html" %} {% block active_nav %}logs{% endblock %} {% block title %}日志 · 管理后台{% endblock %} {% block content %}

📋 日志

登录日志(最近 300 条)
{% for e in login_logs %} {% else %} {% endfor %}
时间IP用户名结果说明
{{ (e.ts or '')[:19].replace('T', ' ') }} {{ e.ip or '-' }} {{ e.username or '-' }} {% if e.ok %}成功{% else %}失败{% endif %} {{ e.reason or '' }}
暂无登录日志
操作审计(最近 300 条)
{% for e in audit_logs %} {% else %} {% endfor %}
时间操作者操作详情
{{ (e.ts or '')[:19].replace('T', ' ') }} {{ e.actor or '-' }} {{ e.action or '' }} {{ e.detail or '' }}
暂无审计记录
{% endblock %}