{% extends 'base.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load plugins %} {% block title %}{{ devicetype.manufacturer }} {{ devicetype.model }}{% endblock %} {% block header %}
{% plugin_buttons devicetype %} {% if perms.dcim.change_devicetype %}
{% endif %} {% if perms.dcim.add_devicetype %} {% clone_button devicetype %} {% endif %} {% if perms.dcim.change_devicetype %} {% edit_button devicetype use_pk=True %} {% endif %} {% if perms.dcim.delete_devicetype %} {% delete_button devicetype use_pk=True %} {% endif %}

{{ devicetype.manufacturer }} {{ devicetype.model }}

{% include 'inc/created_updated.html' with obj=devicetype %}
{% custom_links devicetype %}
{% endblock %} {% block content %}
Chassis
Manufacturer {{ devicetype.manufacturer }}
Model Name {{ devicetype.model }}
{{ devicetype.slug }}
Part Number {{ devicetype.part_number|placeholder }}
Height (U) {{ devicetype.u_height }}
Full Depth {% if devicetype.is_full_depth %} {% else %} {% endif %}
Parent/Child {{ devicetype.get_subdevice_role_display|placeholder }}
Front Image {% if devicetype.front_image %} {{ devicetype.front_image.name }} {% else %} {% endif %}
Rear Image {% if devicetype.rear_image %} {{ devicetype.rear_image.name }} {% else %} {% endif %}
Instances {{ instance_count }}
{% plugin_left_page devicetype %}
{% include 'inc/custom_fields_panel.html' with obj=devicetype %} {% include 'extras/inc/tags_panel.html' with tags=devicetype.tags.all url='dcim:devicetype_list' %}
Comments
{% if devicetype.comments %} {{ devicetype.comments|render_markdown }} {% else %} None {% endif %}
{% plugin_right_page devicetype %}
{% plugin_full_width_page devicetype %}
{% 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 %} {% block javascript %} {% endblock %}