{% extends "base.html" %} {% block title %}Viewing {{ viewing_as }}{% endblock %} {% block content %}

{{ viewing_as }}'s Dashboard

Tenant: {{ viewing_as }} — Namespace: device-connect.{{ viewing_as }}.>

Credentials Created
{{ creds_count }}
Devices Online
{{ online_count }}
Devices Registered
{{ registered_count }}

Device Credentials

{% if credentials %} {% for cred in credentials %}
{{ cred.device_id }}
{{ cred.filename }}
{% endfor %} {% else %}
No credentials
{% endif %}

Live Devices

Auto-refreshing
{# Initial table render only — htmx fires `load` once and the fragment lands here. From then on, /api/devices/live.json drives in-place cell updates. See dashboard.html for the rationale. #}
Loading devices...
{% endblock %}