From 8924fa05f6d88ed01e657e45baa2d9c9b6a12251 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Mon, 17 Jun 2024 09:26:06 -0700 Subject: [PATCH 1/2] 16416 enable dark/light toggle in mobile view --- netbox/templates/base/layout.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index d53591cb4a8..460c473666a 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -35,6 +35,15 @@

{# User menu (mobile view) #} From e8139ea13d71a8aa7826b0738ada570b640c6fe3 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Mon, 17 Jun 2024 09:33:23 -0700 Subject: [PATCH 2/2] 16416 move to inc file --- netbox/templates/base/layout.html | 19 ++----------------- netbox/templates/inc/light_toggle.html | 10 ++++++++++ 2 files changed, 12 insertions(+), 17 deletions(-) create mode 100644 netbox/templates/inc/light_toggle.html diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index 460c473666a..9ba6fded3b9 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -35,15 +35,7 @@

{# User menu (mobile view) #} @@ -61,14 +53,7 @@