diff --git a/netbox/templates/dcim/device_lldp_neighbors.html b/netbox/templates/dcim/device_lldp_neighbors.html index 2b95b0035..a7346c5db 100644 --- a/netbox/templates/dcim/device_lldp_neighbors.html +++ b/netbox/templates/dcim/device_lldp_neighbors.html @@ -3,64 +3,66 @@ {% block title %}{{ device }} - LLDP Neighbors{% endblock %} {% block content %} -{% include 'dcim/inc/device_header.html' with active_tab='lldp-neighbors' %} -
-
- LLDP Neighbors -
- - - - - - - - - - - - {% for iface in interfaces %} - - - {% if iface.connection %} - {% with iface.connected_interface as connected_iface %} - - - {% endwith %} - {% else %} - - {% endif %} - - + {% include 'inc/ajax_loader.html' %} + {% include 'dcim/inc/device_header.html' with active_tab='lldp-neighbors' %} +
+
+ LLDP Neighbors +
+
InterfaceConfigured DeviceConfigured InterfaceLLDP DeviceLLDP Interface
{{ iface }} - {{ connected_iface.device }} - - {{ connected_iface }} - None
+ + + + + + + - {% endfor %} - -
InterfaceConfigured DeviceConfigured InterfaceLLDP DeviceLLDP Interface
-
+ + + {% for iface in interfaces %} + + {{ iface }} + {% if iface.connection %} + {% with iface.connected_interface as connected_iface %} + + {{ connected_iface.device }} + + + {{ connected_iface }} + + {% endwith %} + {% else %} + None + {% endif %} + + + + {% endfor %} + + + {% endblock %} {% block javascript %}