{% extends 'generic/object.html' %} {% load buttons %} {% load helpers %} {% load plugins %} {% block title %}{{ object.manufacturer }} {{ object.model }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block controls %} {% if perms.dcim.change_devicetype %} {% endif %} {% if perms.dcim.add_devicetype %} {% clone_button object %} {% endif %} {% if perms.dcim.change_devicetype %} {% edit_button object %} {% endif %} {% if perms.dcim.delete_devicetype %} {% delete_button object %} {% endif %} {% endblock %} {% block content %}
Chassis
Manufacturer {{ object.manufacturer }}
Model Name {{ object.model }}
{{ object.slug }}
Part Number {{ object.part_number|placeholder }}
Height (U) {{ object.u_height }}
Full Depth {% if object.is_full_depth %} {% else %} {% endif %}
Parent/Child {{ object.get_subdevice_role_display|placeholder }}
Front Image {% if object.front_image %} {{ object.front_image.name }} {% else %} {% endif %}
Rear Image {% if object.rear_image %} {{ object.rear_image.name }} {% else %} {% endif %}
Instances {{ instance_count }}
{% plugin_left_page object %}
{% include 'inc/custom_fields_panel.html' %} {% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:devicetype_list' %}
Comments
{% if object.comments %} {{ object.comments|render_markdown }} {% else %} None {% endif %}
{% plugin_right_page object %}
{% plugin_full_width_page object %}
{% include 'dcim/inc/devicetype_component_table.html' with table=interface_table title='Interfaces' tab='interfaces' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=front_port_table title='Front Ports' tab='frontports' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=rear_port_table title='Rear Ports' tab='rearports' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=consoleport_table title='Console Ports' tab='consoleports' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=consoleserverport_table title='Console Server Ports' tab='consoleserverports' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=powerport_table title='Power Ports' tab='powerports' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=poweroutlet_table title='Power Outlets' tab='poweroutlets' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=devicebay_table title='Device Bays' tab='devicebays' %}
{% endblock %} {% comment %} {% block javascript %} {% endblock %} {% endcomment %}