From 1b932c7e92162ab28a4f60c274476da6cf06d359 Mon Sep 17 00:00:00 2001 From: Julio-Oliveira-Encora Date: Mon, 8 Apr 2024 09:32:21 -0300 Subject: [PATCH] Added javascript and htmx to change the url --- netbox/templates/inc/table_controls_htmx.html | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/netbox/templates/inc/table_controls_htmx.html b/netbox/templates/inc/table_controls_htmx.html index 8ab3e05f7..300953f61 100644 --- a/netbox/templates/inc/table_controls_htmx.html +++ b/netbox/templates/inc/table_controls_htmx.html @@ -2,30 +2,33 @@ {% load i18n %}
-
-
- - +
+
+ + +
+ {% block extra_table_controls %}{% endblock %} +
+
+ {% if request.user.is_authenticated and table_modal %} +
+ +
+ {% endif %}
- {% block extra_table_controls %}{% endblock %} -
-
- {% if request.user.is_authenticated and table_modal %} -
- -
- {% endif %} -