{% extends '_base.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% block title %}{{ devicetype }}{% endblock %} {% block content %}
{% if perms.dcim.change_devicetype %}
Edit this device type {% endif %} {% if perms.dcim.delete_devicetype %} Delete this device type
{% endif %}

{{ devicetype }}

Chassis
Manufacturer {{ devicetype.manufacturer }}
Model Name {{ devicetype.model }}
Height (U) {{ devicetype.u_height }}
Full Depth {{ devicetype.is_full_depth|yesno|capfirst }}
Function
Is a Console Server {{ devicetype.is_console_server|yesno|capfirst }}
Is a PDU {{ devicetype.is_pdu|yesno|capfirst }}
Is a Network Device {{ devicetype.is_network_device|yesno|capfirst }}
{% include 'dcim/inc/devicetype_component_table.html' with table=consoleport_table title='Console Ports' add_url='dcim:devicetype_add_consoleport' delete_url='dcim:devicetype_delete_consoleport' %} {% include 'dcim/inc/devicetype_component_table.html' with table=powerport_table title='Power Ports' add_url='dcim:devicetype_add_powerport' delete_url='dcim:devicetype_delete_powerport' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=interface_table title='Interfaces' add_url='dcim:devicetype_add_interface' delete_url='dcim:devicetype_delete_interface' %} {% include 'dcim/inc/devicetype_component_table.html' with table=consoleserverport_table title='Console Server Ports' add_url='dcim:devicetype_add_consoleserverport' delete_url='dcim:devicetype_delete_consoleserverport' %} {% include 'dcim/inc/devicetype_component_table.html' with table=poweroutlet_table title='Power Outlets' add_url='dcim:devicetype_add_poweroutlet' delete_url='dcim:devicetype_delete_poweroutlet' %}
{% endblock %}