{% extends 'dcim/device/base.html' %} {% load render_table from django_tables2 %} {% load buttons %} {% load static %} {% load helpers %} {% load plugins %} {% load i18n %} {% load l10n %} {% load mptt %} {% block content %}
| {% trans "Device" %} | {% trans "Position" %} | {% trans "Master" %} | {% trans "Priority" %} |
|---|---|---|---|
| {{ vc_member|linkify }} | {% badge vc_member.vc_position show_empty=True %} | {% if object.virtual_chassis.master == vc_member %} {% checkmark True %} {% else %} {{ ''|placeholder }} {% endif %} | {{ vc_member.vc_priority|placeholder }} |
| {% trans "Input" %} | {% trans "Outlets" %} | {% trans "Allocated" %} | {% trans "Available" %} | {% trans "Utilization" %} | ||
|---|---|---|---|---|---|---|
| {{ powerport }} | {{ utilization.outlet_count }} | {{ utilization.allocated }}{% trans "VA" %} | {% if powerfeed.available_power %}{{ powerfeed.available_power }}{% trans "VA" %} | {% utilization_graph utilization.allocated|percentage:powerfeed.available_power %} | {% else %}— | — | {% endif %}
| {% trans "Leg" context "Leg of a power feed" %} {{ leg.name }} | {{ leg.outlet_count }} | {{ leg.allocated }} | {% if powerfeed.available_power %} {% with phase_available=powerfeed.available_power|divide:3 %}{{ phase_available }}{% trans "VA" %} | {% utilization_graph leg.allocated|percentage:phase_available %} | {% endwith %} {% else %}— | — | {% endif %}
| {% trans "Height" %} | {{ object.device_type.u_height }}U |
|---|---|
| {% trans "Weight" %} | {% if object.total_weight %} {{ object.total_weight|floatformat }} {% trans "Kilograms" %} ({{ object.total_weight|kg_to_pounds|floatformat }} {% trans "Pounds" %}) {% else %} {{ ''|placeholder }} {% endif %} |