{# Summary + detail row pair for one device. Used in two places: 1. `_live_table.html` — server-side render of the full table on initial page load and on the one-shot htmx `load` fragment swap. 2. The `/api/devices/{id}/row-html` endpoint — fetched by the dashboard JSON poll when a brand new device appears so we can append a fresh row pair without forcing a page reload. Both summary cells (.cell-status / .cell-location / .cell-lastseen) and the row id (#summary-{device_id}) are the same hooks the JSON poll updates in place on subsequent ticks. #}
Loading details…