Closes #15630: Remove server-side color mode preference & simplify toggling

This commit is contained in:
Jeremy Stretch
2024-05-01 17:02:12 -04:00
parent 44a7cd9876
commit 6530051958
8 changed files with 22 additions and 68 deletions

View File

@@ -8,9 +8,6 @@
lang="en"
data-netbox-url-name="{{ request.resolver_match.url_name }}"
data-netbox-base-path="{{ settings.BASE_PATH }}"
{% with preferences|get_key:'ui.colormode' as color_mode %}
data-netbox-color-mode="{{ color_mode|default:"unset" }}"
{% endwith %}
>
<head>
<meta charset="UTF-8" />