From c746b327d1d909d10433d47befcb3ceba62e8813 Mon Sep 17 00:00:00 2001 From: Victor Golovanenko Date: Wed, 27 Oct 2021 11:46:37 +0300 Subject: [PATCH] NetBox 3.0 support improvements --- .../netbox_interface_sync/compare_interfaces_button.html | 2 +- .../netbox_interface_sync/interface_comparison.html | 2 +- .../netbox_interface_sync/number_of_interfaces_panel.html | 8 +++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/netbox_interface_sync/templates/netbox_interface_sync/compare_interfaces_button.html b/netbox_interface_sync/templates/netbox_interface_sync/compare_interfaces_button.html index 5f5b5d8..dd2c179 100644 --- a/netbox_interface_sync/templates/netbox_interface_sync/compare_interfaces_button.html +++ b/netbox_interface_sync/templates/netbox_interface_sync/compare_interfaces_button.html @@ -1,3 +1,3 @@ - + Interface sync \ No newline at end of file diff --git a/netbox_interface_sync/templates/netbox_interface_sync/interface_comparison.html b/netbox_interface_sync/templates/netbox_interface_sync/interface_comparison.html index 48b268e..4befb9d 100644 --- a/netbox_interface_sync/templates/netbox_interface_sync/interface_comparison.html +++ b/netbox_interface_sync/templates/netbox_interface_sync/interface_comparison.html @@ -48,7 +48,7 @@ function uncheck(event) {
{% csrf_token %} - +
diff --git a/netbox_interface_sync/templates/netbox_interface_sync/number_of_interfaces_panel.html b/netbox_interface_sync/templates/netbox_interface_sync/number_of_interfaces_panel.html index 31eafc0..98bc1ef 100644 --- a/netbox_interface_sync/templates/netbox_interface_sync/number_of_interfaces_panel.html +++ b/netbox_interface_sync/templates/netbox_interface_sync/number_of_interfaces_panel.html @@ -1,8 +1,6 @@ -
-
- Number of interfaces -
-
+
+
Number of interfaces
+
Total interfaces: {{ interfaces|length }}
{% if config.exclude_virtual_interfaces %} Non-virtual interfaces: {{ real_interfaces|length }}
Device type Actions