srv/poe_manager/templates/index.html aktualisiert

This commit is contained in:
2025-10-12 18:18:45 +02:00
parent 50d5f58af4
commit eaf2e2f78e

View File

@@ -10,7 +10,7 @@
<div class="row g-3"> <div class="row g-3">
{% set current_group = None %} {% set current_group = None %}
{% for d in devices %} {% for d in devices %}
{% set group = d[1][:3] %} {% set group = d[1][0] %}
{% if group != current_group %} {% if group != current_group %}
{% if not loop.first %}</div>{% endif %} <!-- alte Reihe schließen --> {% if not loop.first %}</div>{% endif %} <!-- alte Reihe schließen -->
<h5 class="mt-3">{{ group }}</h5> <h5 class="mt-3">{{ group }}</h5>