{% load helpers %}
{% if rows %}

Backbone — next hop

{% for r in rows %} {% endfor %}
LocationRackMediaFree / TotalFill
{{ r.location }} {{ r.rack }} {{ r.media }} {{ r.free }}/{{ r.total }} {% utilization_graph r.used_pct %}
{% else %}

Backbone

{% endif %} {% if leaves %}
Leaves served (rackless patches) — {{ leaves|length }}
{% for l in leaves %} {% endfor %}
LeafMediaFree / TotalFill
{{ l.leaf_device }} {{ l.media }} {{ l.free }}/{{ l.total }} {% utilization_graph l.used_pct %}
{% endif %}