{% extends 'admin_dashboard/base_admin.html' %} {% block content %}

User Management

Manage users, credits, and permissions

{{ total_count }} users
{% if search_query %} Clear {% endif %}
{% for u in users %} {% empty %} {% endfor %}
User Role Actions
{{ u.username|slice:":2"|upper }}
{{ u.username }}
Joined {{ u.date_joined|date:'M d, Y' }}
{% if search_query %}No users found matching "{{ search_query }}"{% else %}No users found{% endif %}
{% if users.has_other_pages %}
{% if users.has_previous %} ← Prev {% endif %}
{% for num in users.paginator.page_range %} {% if users.number == num %} {{ num }} {% elif num > users.number|add:'-3' and num < users.number|add:'3' %} {{ num }} {% endif %} {% endfor %}
{% if users.has_next %} Next → {% endif %}
{% endif %}
{% endblock %}