{% extends "base.html" %} {% macro status_badge(status) -%} {% if status == "online" %} Online {% elif status == "missing-dependency" %} Missing dependency {% elif status == "type-unavailable" %} Type unavailable {% else %} Offline {% endif %} {%- endmacro %} {% macro render_device_node(device_id) -%}
{{ dep }}{% if not loop.last %}, {% endif %}
{% endfor %}