{% extends "layout/base.html" %} {% block title %}个人信息 - SmartDSP考勤管理系统{% endblock %} {% block content %}

个人信息

管理员信息
{% if user_info %}
{{ user_info.user_id }}
{{ user_info.student_number }}
{% if user_info.role == 'admin' %}管理员{% else %}普通用户{% endif %}
{% if user_info.is_active %} 活跃 {% else %} 已禁用 {% endif %}
{% if user_info.last_login %} {{ user_info.last_login.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} 从未登录 {% endif %}
{{ user_info.created_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% else %}
无法获取用户信息
{% endif %}
{% endblock %}