{% extends "base.html" %} {% block title %}Admin Dashboard - AutoModerate{% endblock %} {% block page_title %}Admin Dashboard{% endblock %} {% block page_actions %}
Manage Users All Projects Analytics System Health
{% if registration_env_locked %} {% elif registration_enabled %} {% else %} {% endif %}
{% endblock %} {% block content %}

{{ stats.total_users|format_number }}

Total Users

{{ stats.active_users|format_number }} active

{{ stats.total_projects|format_number }}

Total Projects

{{ stats.total_content|format_number }}

Content Items

{{ moderation_stats.total_moderations|format_number }}

Moderations

Recent Users
{% if recent_users %}
{% for user in recent_users %}
{{ user.username }}
{{ user.email }}
{% if user.is_admin %} Admin {% endif %} {% if user.is_active %} Active {% else %} Inactive {% endif %}
{{ user.created_at.strftime('%Y-%m-%d') }}
{% endfor %}
{% else %}

No users found.

{% endif %}
Recent Projects
{% if recent_projects %}
{% for project in recent_projects %}
{{ project.name }}
by {{ project.owner.username }}
{{ project.created_at.strftime('%Y-%m-%d') }}
{% endfor %}
{% else %}

No projects found.

{% endif %}
Recent Content Activity
{% if recent_content %}
{% for content in recent_content %} {% endfor %}
Content Project User Created
{{ content.content_data[:50] }}...
{{ content.project.name }} {{ content.project.owner.username }} {{ content.created_at.strftime('%Y-%m-%d %H:%M') }}
{% else %}

No recent content activity.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}