{% extends "base.html" %} {% block title %}Users{% endblock %} {% block page_title %}User Management{% endblock %} {% block topbar_actions %} + New User {% endblock %} {% block content %}
| Username | Role | Employee | Status | Created | API Key | Actions |
|---|---|---|---|---|---|---|
| {{ u.username }} | {% if u.role == 'admin' %}admin {% elif u.role == 'staff' %}staff {% else %}{% endif %} | {% if u.employee %} {{ u.employee.name }} {% else %} — {% endif %} | {% if u.is_active %}Active {% else %}Inactive{% endif %} | {{ u.created_at | fmt_date }} |
{% if u.api_key %}
{{ u.api_key[:12] }}…
{% else %}
None
{% endif %}
|
{% if u.id != user.id %}
{% endif %}
|
Use your API key with the Authorization: Bearer <key> header or X-API-Key: <key> header.
Interactive docs available at /api/docs.
You don't have an API key. Click "Regen Key" next to your username above.
{% endif %}