{% extends "base.html" %} {% import "macros/ui.html" as m %} {% block title %}Sessions — Ontoref{% endblock title %} {% block nav_sessions %}active{% endblock nav_sessions %} {% block content %}

Active Sessions

{{ total }} actor(s)
{% if sessions | length == 0 %} {{ m::empty_state(message="No active actor sessions") }} {% else %}
{% for s in sessions %} {% endfor %}
Token Type Role Project Host / PID Registered Last seen Pending
{{ s.token }} {{ m::actor_badge(actor_type=s.actor_type) }} {{ s.role }} {% if s.has_preferences %} {% endif %} {{ s.project }} {{ s.hostname }}:{{ s.pid }} {{ s.registered_ago }}s ago {{ s.last_seen_ago }}s ago {% if s.pending_notifications > 0 %} {{ s.pending_notifications }} {% else %} {% endif %}
{% endif %} {% endblock content %}