{% extends 'generic/object.html' %} {% load static %} {% load lens %} {% load helpers %} {% block head %} {{ block.super }} {% include 'netbox_spatial_lens/inc/palette.html' %} {% comment %} In the head, before any module script: a browser resolves bare specifiers such as `three` only through an import map it has read before the first module loads. {% endcomment %} {% lens_import_map three_imports %} {% endblock %} {% block content %}
No racks are placed on this floor yet.
{% if perms.netbox_spatial_lens.change_rackplacement %} Place racks {% endif %}| Tags | {% for filter in field_filters %}{% endfor %} | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ row.rack.name }} | {{ row.rack.role|placeholder }} | {{ row.rack.location|placeholder }} | {{ row.rack.u_height }}U | {{ row.placed.device_count }} | {% if row.space_percent is not None %}{{ row.space_percent|floatformat:0 }}% · {{ row.free_units|floatformat }}U free | {% else %}{{ ''|placeholder }} | {% endif %} {% if row.power_percent is not None %}{{ row.power_percent|floatformat:0 }}% of {{ row.power_capacity_kw|floatformat }} kW | {% else %}{{ ''|placeholder }} | {% endif %}{% if row.rack.cooling_capability %} {{ row.rack.get_cooling_capability_display }}{% if row.rack.cooling_capacity %}, {{ row.rack.cooling_capacity|floatformat }} kW{% endif %} {% else %} {{ ''|placeholder }} {% endif %} | {{ row.rack.asset_tag|placeholder }} | {% for tag in row.rack.tags.all %}{% tag tag %} {% empty %}{{ ''|placeholder }}{% endfor %} | {% for cell in row.placed.field_cells %}{% for value in cell.values %}{{ value.label }} {% empty %}{{ ''|placeholder }}{% endfor %} | {% endfor %}
No cable joins two racks on this floor.
{% endif %} {% if not exits %}Nothing on this floor is cabled off it.
{% endif %}| Site | {{ object.effective_site|linkify|placeholder }} |
|---|---|
| Location | {{ object.location|linkify|placeholder }} |
| Size | {{ object.width }} × {{ object.depth }} {{ object.get_unit_display|lower }} |
| Racks placed | {{ placed_racks|length }} |
| Not yet placed | {% if unplaced_racks %} {{ unplaced_racks|length }} {% else %} 0 {% endif %} |