takahe/users/views/settings/interface.py

17 lines
377 B
Python
Raw Normal View History

2023-04-29 20:53:53 +00:00
from users.views.settings.settings_page import UserSettingsPage
2022-11-26 02:33:46 +00:00
2023-04-29 20:53:53 +00:00
class InterfacePage(UserSettingsPage):
2022-11-26 02:33:46 +00:00
section = "interface"
options = {
"light_theme": {
2023-04-29 20:53:53 +00:00
"title": "Light Theme",
"help_text": "Use a light theme when you are logged in to the web interface",
},
2022-11-26 02:33:46 +00:00
}
2022-12-24 06:01:27 +00:00
layout = {
2023-04-29 20:53:53 +00:00
"Appearance": ["light_theme"],
2022-12-24 06:01:27 +00:00
}