{% extends "base.html" %} {% block title %}Admin Users{% endblock %} {% block breadcrumb %}Admin Users{% endblock %} {% block content %}
Manage admin accounts, assign roles, and define the admin hierarchy.
| User | Role | Status | Last Login | Joined | Actions | |
|---|---|---|---|---|---|---|
|
{% if user.avatar_path %}
{{ (user.first_name or user.username)|truncate(1, True, '')|upper }}
{% endif %}
{{ user.username }}
{% if user.first_name or user.last_name %}
{{ user.first_name }} {{ user.last_name }}
{% endif %}
|
{{ user.email or '—' }} | {% if user.is_superuser %} Superadmin {% elif user.is_staff %} Staff {% else %} Viewer {% endif %} | {% if user.is_active %} Active {% else %} Inactive {% endif %} | {{ user.last_login|default('Never')|string|truncate(19, True, '') }} | {{ user.date_joined|default('')|string|truncate(10, True, '') }} | {% if not user.is_superuser %} {% endif %} |
| No admin users found | ||||||