{% extends "_admin_base.html" %} {% block title %}Admin Panel - {{ APP_NAME }}{% endblock %} {% block page_title %}Admin Panel{% endblock %} {% block page_description %}Manage users, content, and system settings{% endblock %} {% block admin_styles %} .user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-color); display: inline-flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 0.8rem; margin-right: 8px; } .user-info { display: flex; align-items: center; } {% endblock %} {% block admin_content %}
{{ users|length }}
Total Users
{{ users|selectattr('3', 'equalto', 1)|list|length }}
Admins
{{ users|selectattr('5', 'ne', None)|list|length }}
Active Users
73
Total Posts
1,299
Total Comments
3
Content Sources

Recent Activity

Latest User

{{ users[-1].username if users else 'None' }}

Joined: {{ users[-1].created_at.strftime('%Y-%m-%d') if users and users[-1].created_at else 'N/A' }}

System Status

🟢 Operational

Last update: Just now

Storage Usage

~50 MB

Posts and comments

User Management

{% for user in users %} {% endfor %}
User Email Role Status Created Last Login Actions
{{ user.email }} {% if user.is_admin %} Admin {% else %} User {% endif %} {% if user.last_login %} Active {% else %} Inactive {% endif %} {{ user.created_at.strftime('%Y-%m-%d') if user.created_at else 'N/A' }} {{ user.last_login.strftime('%Y-%m-%d') if user.last_login else 'Never' }}

Content Management

Content Sources

Reddit - Active

Hacker News - Active

Lobsters - Active

Filter Sets

safe_content - Default

no_filter - Unfiltered

Content Stats

Posts today: 12

Comments today: 45

Content Actions

This will regenerate all HTML files with current templates and filters.

System Information

Application

BalanceBoard v2.0

Python 3.9+

Flask Framework

Database

PostgreSQL

Connection: Active

Storage

Posts: 73 files

Comments: 1,299 files

Themes: 2 available

System Maintenance

📡 Manage Polling
{% endblock %} {% block admin_scripts %} {% endblock %}