add: ability to disable profile theme of other users

This commit is contained in:
trisua 2025-04-08 15:49:41 -04:00
parent e8ae7902b6
commit a8282a113d
29 changed files with 77 additions and 52 deletions

View file

@ -1,4 +1,4 @@
{% import "macros.html" as macros %} {% extends "root.html" %} {% block head %}
{% extends "root.html" %} {% block head %}
<title>Settings - {{ config.name }}</title>
{% endblock %} {% block body %} {{ macros::nav() }}
<main class="flex flex-col gap-2">
@ -690,6 +690,14 @@
"{{ profile.settings.theme_lit }}",
"input",
],
[
[
"disable_other_themes",
"Disable the profile theme of other users",
],
"{{ profile.settings.disable_other_themes }}",
"checkbox",
],
],
settings,
);