diff --git a/netbox/templates/users/preferences.html b/netbox/templates/users/preferences.html index 156767e8d..bbb92bde0 100644 --- a/netbox/templates/users/preferences.html +++ b/netbox/templates/users/preferences.html @@ -4,56 +4,54 @@ {% block title %}User Preferences{% endblock %} {% block content %} -
+ {% csrf_token %}
-
Color Mode
-

Set preferred UI color mode

- {% with color_mode=preferences|get_key:'ui.colormode'%} -
- - -
-
- - -
- {% endwith %} +
Color Mode
+

Set preferred UI color mode

+ {% with color_mode=preferences|get_key:'ui.colormode'%} +
+ + +
+
+ + +
+ {% endwith %}
-
-
- -
+
+
+ +
-{% if preferences %} -
-
Other Preferences
- - + {% if preferences %} +
+
Other Preferences
+
+ - - - + + + - - + + {% for key, value in preferences.items %} - - - - - + + + + + {% endfor %} - -
PreferenceValuePreferenceValue
{{ key }}{{ value }}
{{ key }}{{ value }}
- -
-{% else %} -

No Preferences Found

-{% endif %} - + + + +
+ {% else %} +

No preferences found

+ {% endif %} + {% endblock %}