diff --git a/netbox/templates/dcim/consoleport.html b/netbox/templates/dcim/consoleport.html new file mode 100644 index 000000000..f1f2c4c1c --- /dev/null +++ b/netbox/templates/dcim/consoleport.html @@ -0,0 +1,95 @@ +{% extends 'dcim/device_component.html' %} +{% load helpers %} + +{% block content %} +
Device | ++ {{ instance.device }} + | +
Name | +{{ instance.name }} | +
Label | +{{ instance.label|placeholder }} | +
Type | +{{ instance.get_type_display }} | +
Description | +{{ instance.description|placeholder }} | +
Device | ++ {{ instance.connected_endpoint.device }} + | +
Name | ++ {{ instance.connected_endpoint.name }} + | +
Type | +{{ instance.connected_endpoint.get_type_display|placeholder }} | +
Description | +{{ instance.connected_endpoint.description|placeholder }} | +
Cable | ++ {{ instance.cable }} + + + + | +
Connection Status | ++ {% if instance.connection_status %} + {{ instance.get_connection_status_display }} + {% else %} + {{ instance.get_connection_status_display }} + {% endif %} + | +
Device | ++ {{ instance.device }} + | +
Name | +{{ instance.name }} | +
Label | +{{ instance.label|placeholder }} | +
Type | +{{ instance.get_type_display }} | +
Description | +{{ instance.description|placeholder }} | +
Device | ++ {{ instance.connected_endpoint.device }} + | +
Name | ++ {{ instance.connected_endpoint.name }} + | +
Type | +{{ instance.connected_endpoint.get_type_display|placeholder }} | +
Description | +{{ instance.connected_endpoint.description|placeholder }} | +
Cable | ++ {{ instance.cable }} + + + + | +
Connection Status | ++ {% if instance.connection_status %} + {{ instance.get_connection_status_display }} + {% else %} + {{ instance.get_connection_status_display }} + {% endif %} + | +
Device | ++ {{ instance.device }} + | +
Name | +{{ instance.name }} | +
Label | +{{ instance.label|placeholder }} | +
Description | +{{ instance.description|placeholder }} | +
Device | ++ {{ device }} + | +
Device Type | +{{ device.device_type }} | +
Device | ++ {{ instance.device }} + | +
Name | +{{ instance.name }} | +
Label | +{{ instance.label|placeholder }} | +
Type | +{{ instance.get_type_display }} | +
Rear Port | ++ {{ instance.rear_port }} + | +
Rear Port Position | +{{ instance.rear_port_position }} | +
Description | +{{ instance.description|placeholder }} | +
Cable | ++ {{ instance.cable }} + + + + | +
Connection Status | ++ {% if instance.cable.status %} + {{ instance.cable.get_status_display }} + {% else %} + {{ instance.cable.get_status_display }} + {% endif %} + | +
Cable | - {{ interface.cable }} - + {{ instance.cable }} + | @@ -191,10 +156,10 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Connection Status | - {% if interface.connection_status %} - {{ interface.get_connection_status_display }} + {% if instance.connection_status %} + {{ instance.get_connection_status_display }} {% else %} - {{ interface.get_connection_status_display }} + {{ instance.get_connection_status_display }} {% endif %} |
{{ member.device }}
diff --git a/netbox/templates/dcim/poweroutlet.html b/netbox/templates/dcim/poweroutlet.html
new file mode 100644
index 000000000..519bd01df
--- /dev/null
+++ b/netbox/templates/dcim/poweroutlet.html
@@ -0,0 +1,103 @@
+{% extends 'dcim/device_component.html' %}
+{% load helpers %}
+
+{% block content %}
+
+
+{% endblock %}
diff --git a/netbox/templates/dcim/powerport.html b/netbox/templates/dcim/powerport.html
new file mode 100644
index 000000000..e7c103c9d
--- /dev/null
+++ b/netbox/templates/dcim/powerport.html
@@ -0,0 +1,103 @@
+{% extends 'dcim/device_component.html' %}
+{% load helpers %}
+
+{% block content %}
+
+
+
+
+ {% include 'extras/inc/tags_panel.html' with tags=instance.tags.all %}
+
+ Power Outlet
+
+
+
+
+
+
+ Connection
+
+ {% if instance.cable %}
+
+ Not connected
+
+ {% endif %}
+
+
+{% endblock %}
diff --git a/netbox/templates/dcim/rearport.html b/netbox/templates/dcim/rearport.html
new file mode 100644
index 000000000..480f26d2c
--- /dev/null
+++ b/netbox/templates/dcim/rearport.html
@@ -0,0 +1,77 @@
+{% extends 'dcim/device_component.html' %}
+{% load helpers %}
+
+{% block content %}
+
+
+
+
+ {% include 'extras/inc/tags_panel.html' with tags=instance.tags.all %}
+
+ Power Port
+
+
+
+
+
+
+ Connection
+
+ {% if instance.cable %}
+
+ Not connected
+
+ {% endif %}
+
+
+{% endblock %}
+
+
+
+ {% include 'extras/inc/tags_panel.html' with tags=instance.tags.all %}
+
+ Rear Port
+
+
+
+
+
+
+ Connection
+
+ {% if instance.cable %}
+
+ Not connected
+
+ {% endif %}
+ |