diff --git a/docs/features/user-preferences.md b/docs/features/user-preferences.md index 6c0a2884fe5..c8670bb6950 100644 --- a/docs/features/user-preferences.md +++ b/docs/features/user-preferences.md @@ -34,9 +34,6 @@ Sets the default number of rows displayed on paginated tables. ### Paginator placement Controls where pagination controls are rendered relative to a table. -### HTMX navigation (experimental) -Enables partial‑page navigation for supported views. Disable this preference if unexpected behavior is observed. - ### Striped table rows Toggles alternating row backgrounds on tables. diff --git a/netbox/netbox/context_processors.py b/netbox/netbox/context_processors.py index 3065855e6bd..199db9ee266 100644 --- a/netbox/netbox/context_processors.py +++ b/netbox/netbox/context_processors.py @@ -28,7 +28,6 @@ def preferences(request): user_preferences = request.user.config if request.user.is_authenticated else {} return { 'preferences': user_preferences, - 'htmx_navigation': user_preferences.get('ui.htmx_navigation', False) == 'true' } diff --git a/netbox/netbox/preferences.py b/netbox/netbox/preferences.py index d8fb130f4ac..49978b8c6f1 100644 --- a/netbox/netbox/preferences.py +++ b/netbox/netbox/preferences.py @@ -26,16 +26,6 @@ def get_csv_delimiters(): PREFERENCES = { # User interface - 'ui.htmx_navigation': UserPreference( - label=_('HTMX Navigation'), - choices=( - ('', _('Disabled')), - ('true', _('Enabled')), - ), - description=_('Enable dynamic UI navigation'), - default=False, - warning=_('Experimental feature') - ), 'locale.language': UserPreference( label=_('Language'), choices=( diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index c31896256c5..c305d1a7082 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -95,7 +95,7 @@

{# Page content #}
-
+
{# Page header #} {% block header %} diff --git a/netbox/templates/inc/user_menu.html b/netbox/templates/inc/user_menu.html index 50173ea562b..ecafc1f390f 100644 --- a/netbox/templates/inc/user_menu.html +++ b/netbox/templates/inc/user_menu.html @@ -33,7 +33,7 @@
-