{% extends "base.html" %} {% from "macros.html" import icon, btn, badge %} {% block title %}{{ t('Active Admin Sessions') }} — {{ admin_site_name }}{% endblock %} {% block content %}
{{ t('Monitor, audit, and manage connected user sessions and device access in real time.') }}
| {{ t('User') }} | {{ t('Device') }} | {{ t('IP / Location') }} | {{ t('Activity') }} | {{ t('ACTIONS') }} |
|---|---|---|---|---|
|
{{ sess.user_name }}
{% if sess.is_admin %}Admin{% endif %}
{% if is_curr %}
{{ t('This device') }}
{% elif not sess.is_active %}
{{ t('Disconnected') }}
{% else %}
{{ t('Active') }}
{% endif %}
{{ sess.user_email }}
|
{% if sess.is_mobile %}{{ icon('smartphone', 14, 'muted') }}{% else %}{{ icon('laptop', 14, 'muted') }}{% endif %}
{{ sess.browser_name }}{% if sess.os_name %} ({{ sess.os_name }}){% endif %}
|
{{ icon('globe', 12, 'muted') }} {{ sess.ip }}
{{ icon('map-pin', 12, 'muted') }} {{ sess.location }}
|
{{ sess.last_seen_str }} ({{ sess.last_seen_at_str }})
{{ t('Connected:') }} {{ sess.created_at_str }} · {{ sess.duration_str }}
|
{% if sess.is_active and not is_curr %}
{% endif %}
{% if sess.is_active %}
{% endif %}
|
{{ t('No active sessions found') }}