{% extends "base.html" %} {% import "page.html" as page %} {% block content %}

权限管理 默认每页显示25条数据

用户列表
{% if current_user.role.name == 'Admin' %} {% endif %} {% for user in users %} {% if current_user.role.name == 'Admin' %} {% endif %} {% endfor %}
用户名 姓名 邮箱 角色操作
{{ user.name }} {{ user.fullname }} {{ user.email }} {{ user.role.name }}修改 删除
{% if pagination %} {% endif %}
{% endblock %} {% block bottom_js %} {% endblock %}