diff --git a/netbox/templates/ipam/ipaddress.html b/netbox/templates/ipam/ipaddress.html index 624735a95..cb1281e53 100644 --- a/netbox/templates/ipam/ipaddress.html +++ b/netbox/templates/ipam/ipaddress.html @@ -13,143 +13,135 @@ {% block content %}
-
-
- IP Address -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FamilyIPv{{ object.family }}
VRF - {% if object.vrf %} - {{ object.vrf }} - {% else %} - Global - {% endif %} -
Tenant - {% if object.tenant %} - {% if object.tenant.group %} - {{ object.tenant.group }} / - {% endif %} - {{ object.tenant }} - {% else %} - None - {% endif %} -
Status - {{ object.get_status_display }} -
Role - {% if object.role %} - {{ object.get_role_display }} - {% else %} - None - {% endif %} -
DNS Name{{ object.dns_name|placeholder }}
Description{{ object.description|placeholder }}
Assignment - {% if object.assigned_object %} - {% if object.assigned_object.parent_object %} - {{ object.assigned_object.parent_object }} / - {% endif %} - {{ object.assigned_object }} +
+
+ IP Address +
+
+ + + + + + + + - - - - - - - - - -
FamilyIPv{{ object.family }}
VRF + {% if object.vrf %} + {{ object.vrf }} {% else %} - + Global {% endif %} -
NAT (inside) - {% if object.nat_inside %} - {{ object.nat_inside }} - {% if object.nat_inside.assigned_object %} - ({{ object.nat_inside.assigned_object.parent_object }}) - {% endif %} - {% else %} - None - {% endif %} -
NAT (outside) - {% if object.nat_outside %} - {{ object.nat_outside }} - {% else %} - None - {% endif %} -
-
-
- {% include 'inc/panels/custom_fields.html' %} - - {% plugin_left_page object %} - - -
Tenant + {% if object.tenant %} + {% if object.tenant.group %} + {{ object.tenant.group }} / + {% endif %} + {{ object.tenant }} + {% else %} + None + {% endif %} +
Status + {{ object.get_status_display }} +
Role + {% if object.role %} + {{ object.get_role_display }} + {% else %} + None + {% endif %} +
DNS Name{{ object.dns_name|placeholder }}
Description{{ object.description|placeholder }}
Assignment + {% if object.assigned_object %} + {% if object.assigned_object.parent_object %} + {{ object.assigned_object.parent_object }} / + {% endif %} + {{ object.assigned_object }} {% else %} - href="{% url 'ipam:ipaddress_list' %}?address={{ object.address.ip }}&vrf_id=null" + {% endif %} - >Show all - - {% endif %} - -
- {% render_table duplicate_ips_table 'inc/table.html' %} -
- - {% endif %} -
- {% include 'inc/panel_table.html' with table=related_ips_table heading='Related IP Addresses' %} -
- {% plugin_right_page object %} +
NAT (inside) + {% if object.nat_inside %} + {{ object.nat_inside }} + {% if object.nat_inside.assigned_object %} + ({{ object.nat_inside.assigned_object.parent_object }}) + {% endif %} + {% else %} + None + {% endif %} +
NAT (outside) + {% if object.nat_outside %} + {{ object.nat_outside }} + {% else %} + None + {% endif %} +
+
+
+ {% include 'inc/panels/tags.html' %} + {% include 'inc/panels/custom_fields.html' %} + {% plugin_left_page object %}
-
- -
-
- {% include 'inc/panels/tags.html' %} +
+ {% include 'inc/panel_table.html' with table=parent_prefixes_table heading='Parent Prefixes' %} + {% if duplicate_ips_table.rows %} + {# Custom version of panel_table.html #} +
+
+ Duplicate IP Addresses + {% if more_duplicate_ips %} +
+ Show all +
+ {% endif %} +
+
+ {% render_table duplicate_ips_table 'inc/table.html' %} +
+
+ {% endif %} +
+ {% include 'inc/panel_table.html' with table=related_ips_table heading='Related IP Addresses' %}
- + {% plugin_right_page object %} +