{% extends 'paxalia/base.html' %} {% load i18n static %} {% block title %}{% trans "Admin Sessions" %} — Paxalia{% endblock %} {% block page_title %}{% trans "Admin Sessions" %}{% endblock %} {% block page_subtitle %}{% trans "Active privileged sessions tied to the three-layer administrator security flow" %}{% endblock %} {% block extra_css %}{% endblock %} {% block dashboard_content %}
{% trans "Security Overview" %} {% trans "Administrator Security" %} {% trans "Authentication" %} {% trans "Admin Devices" %}
{% trans "Session policy" %}

{% trans "Privileged Sessions" %}

{% csrf_token %}
{% csrf_token %}

{% trans "Revocation uses Django's session framework. Database-backed sessions are immediately removed; other session engines remain subject to their own backend semantics." %}

{% if sessions %}
{% for session in sessions %}
{% if session.session_key == current_session_key %}{% trans "Current session" %}{% else %}{% trans "Privileged session" %}{% endif %}

{% if session.admin_device %}{{ session.admin_device.display_name }}{% else %}{% trans "Unidentified authorized device" %}{% endif %}

{% trans "Active" %}
{% trans "Signed in" %}
{{ session.created_at|date:"Y-m-d H:i" }}
{% trans "IP" %}
{{ session.ip_address|default:"—" }}
{% trans "Browser / OS" %}
{{ session.browser|default:"—" }} / {{ session.os|default:"—" }}
{% csrf_token %}
{% endfor %}
{% else %}
{% trans "No active privileged sessions are recorded." %}{% trans "Your current session will appear here after authentication completes." %}
{% endif %}
{% endblock %}