{% if views %}
{% if current_user.is_admin %}{% endif %} {% for v in views %} {% if current_user.is_admin %} {% endif %} {% endfor %}
UserMachineLaptop IPStateStartedDurationTraffic
{{ v.holder|initials }}
{{ v.holder }}{{ v.username }}
{{ v.hostname }} {{ v.laptop_ip }}{% if v.port_code %}port {{ v.port_code }}{% endif %} {% if v.state == 'armed' %}Armed, {{ v.seconds_left }}s left {% elif v.state == 'grace' %}Reconnecting, {{ v.seconds_left }}s left {% elif v.state == 'connecting' %}Connecting {% else %}Connected{% endif %} {{ v.started_at|localtime('%H:%M:%S') }} {{ v.started_at|since }} {{ v.bytes_up|filesize }} up{{ v.bytes_down|filesize }} down
{% else %}
{{ icon('activity', 24) }}

Nobody is connected right now

Sessions appear here the moment someone clicks Connect.

{% endif %}