{% extends "admin/base.html" %} {% block title %}Manage User: {{ user.username }}{% endblock %} {% block header_title %}User Details{% endblock %} {% block content %}
← Back to User Management

User: {{ user.username }}

View Usage {% if not user.is_admin %}
{% endif %}

Create New API Key

API Keys

{% for key in api_keys %} {% else %} {% endfor %}
Name / Prefix Created Rate Limit Status Actions
{{ key.key_name }}
{{ key.key_prefix }}
{{ key.created_at.strftime('%Y-%m-%d %H:%M') }} {% if key.rate_limit_requests and key.rate_limit_window_minutes %} {{ key.rate_limit_requests }} / {{ key.rate_limit_window_minutes }} min {% else %}Default{% endif %} {% if key.is_revoked %}Revoked {% elif key.is_active %}Active {% else %}Disabled{% endif %}
{% if not key.is_revoked %}
{% if key.is_active %} {% else %} {% endif %}
{% endif %}
No API keys found for this user.
{% endblock %}