{% extends 'paxalia/base.html' %} {% load i18n static %} {% block title %}{% trans "Administrator Security" %} — Paxalia{% endblock %} {% block page_title %}{% trans "Administrator Security" %}{% endblock %} {% block page_subtitle %}{% trans "Security-layer enrollment and administrator access status across every staff account" %}{% endblock %} {% block extra_css %}{% endblock %} {% block dashboard_content %}
{% trans "Security Center" %} {% trans "Security Overview" %} {% trans "Administrator Security" %} {% trans "Authentication" %} {% trans "Devices" %} {% trans "Sessions" %} {% trans "Admin Logins" %}
{% trans "Administrator access" %}

{% trans "Three security layers at a glance" %}

{% trans "Layer 1 represents the host account, Layer 2 is confirmed TOTP enrollment, and Layer 3 is the presence of an active authorized WebAuthn credential. The table does not expose authentication secrets." %}

{{ administrator_count }} {% trans "administrator(s)" %}
{% trans "All staff administrators" %}

{% trans "Administrator Security Status" %}

{% trans "View login history" %}
{% if admin_rows %}
{% for row in admin_rows %} {% endfor %}
{% trans "Administrator" %} {% trans "Layer 1" %} {% trans "Layer 2" %} {% trans "Layer 3" %} {% trans "Last admin login" %} {% trans "Active sessions" %} {% trans "Failed (30d)" %}
{{ row.user.get_username }} {% if row.is_current %}{% trans "Current" %}{% endif %} {% if row.account_active %}{% trans "Active" %}{% else %}{% trans "Disabled" %}{% endif %} {% if row.totp_enabled %}{% trans "Enabled" %}{% else %}{% trans "Required" %}{% endif %} {{ row.active_device_count }} {% trans "device(s)" %} {{ row.last_admin_login|date:"Y-m-d H:i"|default:"—" }} {{ row.active_session_count }} {% if row.failed_admin_logins_30d %}{{ row.failed_admin_logins_30d }}{% else %}0{% endif %}
{% else %}
{% trans "No staff administrators found." %}{% trans "Administrator status will appear here when staff accounts exist." %}
{% endif %}
{% trans "Layer policy" %}

{% trans "The status shown here is observational. The three-layer requirement itself remains enforced by the Paxalia security gate; ordinary dashboard settings cannot disable Layer 2 or Layer 3." %}

{% endblock %}