{% extends "base.html" %} {% block title %}Admin Dashboard - Facial Recognition System{% endblock %} {% block content %}
System overview and user management
Total Users
Active Users
Face Encodings
Recent Events
| Username | Role | Status | Created | Actions | |
|---|---|---|---|---|---|
| {{ user.username }} | {{ user.email }} | {{ user.role }} | {{ 'Active' if user.is_active else 'Inactive' }} | {{ user.created_at.strftime('%Y-%m-%d') }} | {% if user.id != current_user.id %} {{ 'Deactivate' if user.is_active else 'Activate' }} {% else %} Current User {% endif %} |
{% if log.user %} User: {{ log.user.username }} recognized as {% endif %} {{ log.recognized_name }} {% if log.confidence_score %} {{ "%.1f%%" | format(log.confidence_score * 100) }} {% endif %}
{{ log.timestamp.strftime('%Y-%m-%d %H:%M:%S') }} {{ log.recognition_type.title() }}System activity will appear here