From 3ed3e93b25f928f50ae5b23518678084bfb0f0bd Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 30 Mar 2017 15:40:00 -0400 Subject: [PATCH] Appended a version flag to all CSS/JS references to invalidate browser cache after an upgrade --- netbox/templates/_base.html | 4 ++-- netbox/templates/circuits/circuittermination_edit.html | 2 +- netbox/templates/circuits/provider.html | 2 +- netbox/templates/dcim/consoleport_connect.html | 2 +- netbox/templates/dcim/consoleserverport_connect.html | 2 +- netbox/templates/dcim/device.html | 4 ++-- netbox/templates/dcim/interfaceconnection_edit.html | 2 +- netbox/templates/dcim/poweroutlet_connect.html | 2 +- netbox/templates/dcim/powerport_connect.html | 2 +- netbox/templates/dcim/site.html | 2 +- netbox/templates/ipam/ipaddress_assign.html | 2 +- netbox/templates/ipam/ipaddress_edit.html | 2 +- netbox/templates/secrets/secret.html | 2 +- netbox/templates/secrets/secret_edit.html | 2 +- netbox/templates/secrets/secret_import.html | 2 +- netbox/templates/users/userkey_edit.html | 2 +- 16 files changed, 18 insertions(+), 18 deletions(-) diff --git a/netbox/templates/_base.html b/netbox/templates/_base.html index 0ebc4f5b4..7e2555f18 100644 --- a/netbox/templates/_base.html +++ b/netbox/templates/_base.html @@ -7,7 +7,7 @@ - + @@ -308,7 +308,7 @@ - + {% block javascript %}{% endblock %} diff --git a/netbox/templates/circuits/circuittermination_edit.html b/netbox/templates/circuits/circuittermination_edit.html index 8ccc05de2..22e02c4ee 100644 --- a/netbox/templates/circuits/circuittermination_edit.html +++ b/netbox/templates/circuits/circuittermination_edit.html @@ -90,5 +90,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/circuits/provider.html b/netbox/templates/circuits/provider.html index d6843358c..3cdeea36f 100644 --- a/netbox/templates/circuits/provider.html +++ b/netbox/templates/circuits/provider.html @@ -199,5 +199,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/dcim/consoleport_connect.html b/netbox/templates/dcim/consoleport_connect.html index f896ebbd5..a04a4674b 100644 --- a/netbox/templates/dcim/consoleport_connect.html +++ b/netbox/templates/dcim/consoleport_connect.html @@ -58,5 +58,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/dcim/consoleserverport_connect.html b/netbox/templates/dcim/consoleserverport_connect.html index 08850d1ed..6ba944b59 100644 --- a/netbox/templates/dcim/consoleserverport_connect.html +++ b/netbox/templates/dcim/consoleserverport_connect.html @@ -58,5 +58,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index d38f60cb3..2df324a69 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -629,6 +629,6 @@ $(".interface-toggle").click(function() { return toggleConnection($(this), "dcim/interface-connections/"); }); - - + + {% endblock %} diff --git a/netbox/templates/dcim/interfaceconnection_edit.html b/netbox/templates/dcim/interfaceconnection_edit.html index ad0335398..488c11472 100644 --- a/netbox/templates/dcim/interfaceconnection_edit.html +++ b/netbox/templates/dcim/interfaceconnection_edit.html @@ -93,5 +93,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/dcim/poweroutlet_connect.html b/netbox/templates/dcim/poweroutlet_connect.html index 927ed7b71..6fcc3e858 100644 --- a/netbox/templates/dcim/poweroutlet_connect.html +++ b/netbox/templates/dcim/poweroutlet_connect.html @@ -58,5 +58,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/dcim/powerport_connect.html b/netbox/templates/dcim/powerport_connect.html index 9e7f1fae9..f77a0e352 100644 --- a/netbox/templates/dcim/powerport_connect.html +++ b/netbox/templates/dcim/powerport_connect.html @@ -58,5 +58,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/dcim/site.html b/netbox/templates/dcim/site.html index 772474155..b83139b53 100644 --- a/netbox/templates/dcim/site.html +++ b/netbox/templates/dcim/site.html @@ -260,5 +260,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/ipam/ipaddress_assign.html b/netbox/templates/ipam/ipaddress_assign.html index 4b27eae0b..03ec181ff 100644 --- a/netbox/templates/ipam/ipaddress_assign.html +++ b/netbox/templates/ipam/ipaddress_assign.html @@ -68,5 +68,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/ipam/ipaddress_edit.html b/netbox/templates/ipam/ipaddress_edit.html index 7226a75fc..c0a210cc1 100644 --- a/netbox/templates/ipam/ipaddress_edit.html +++ b/netbox/templates/ipam/ipaddress_edit.html @@ -79,5 +79,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/secrets/secret.html b/netbox/templates/secrets/secret.html index 391bc8868..016015cbe 100644 --- a/netbox/templates/secrets/secret.html +++ b/netbox/templates/secrets/secret.html @@ -97,5 +97,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/secrets/secret_edit.html b/netbox/templates/secrets/secret_edit.html index a83024fb4..0ed5cc875 100644 --- a/netbox/templates/secrets/secret_edit.html +++ b/netbox/templates/secrets/secret_edit.html @@ -70,5 +70,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/secrets/secret_import.html b/netbox/templates/secrets/secret_import.html index 0a9a11c69..76022fac1 100644 --- a/netbox/templates/secrets/secret_import.html +++ b/netbox/templates/secrets/secret_import.html @@ -68,5 +68,5 @@ {% endblock %} {% block javascript %} - + {% endblock %} diff --git a/netbox/templates/users/userkey_edit.html b/netbox/templates/users/userkey_edit.html index 45bac1938..c590f4423 100644 --- a/netbox/templates/users/userkey_edit.html +++ b/netbox/templates/users/userkey_edit.html @@ -56,5 +56,5 @@ {% endblock %} {% block javascript %} - + {% endblock %}