{% extends "base.html" %} {% block title %}User Management - Admin{% endblock %} {% block content %}

User Management

Add User
{% for user in users %} {% endfor %}
Username Email Status Joined Last Login Logins Actions
{{ user.username }} {% if user.is_admin %}Admin{% endif %} {% if not user.is_active %}Banned{% endif %} {{ user.email }} {% if user.is_active %} Active {% else %} Banned {% endif %} {{ user.created_at.strftime('%Y-%m-%d') }} {{ user.last_login.strftime('%Y-%m-%d') if user.last_login else 'Never' }} {{ user.login_count }} {% if user.id != current_user.id %} {% endif %}
{% endblock %}