{% extends "base.html" %} {% block title %}Admin — {{ site_name }}{% endblock %} {% block content %}

Admin Control Center

Full system overview & management

← User View
Total Users
{{ total_users }}
Active Users
{{ active_users }}
Banned
{{ banned_users }}
Total Storage Used
{{ (total_storage / 1024 / 1024)|round(1) }} MB
{{ total_files }} files

Recent Users

{% for u in recent_users %} {% endfor %}
User Quota Status
{{ u.username }}
{{ u.email }}
{{ ((u.storage_quota or 0) / 1024 / 1024)|round(0)|int }} MB {% if u.is_banned %}Banned {% elif u.is_admin %}Admin {% else %}Active{% endif %} Manage

Recent Activity

    {% for log in recent_logs %}
  • {{ log.action }} {% if log.details %}{{ log.details[:40] }}{% endif %} {{ log.created_at.strftime('%m-%d %H:%M') if log.created_at else '' }}
  • {% else %}
  • No activity yet
  • {% endfor %}
{% endblock %} {% block content_mobile %}{{ self.content() }}{% endblock %}