diff options
author | Andrew Godwin | 2022-11-17 17:43:00 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-17 14:13:55 -0700 |
commit | 2154e6f02252576d8652e66f26fa4ae635d0f8ee (patch) | |
tree | a65a4e051c0cb9e99c77a083bf5b011b79f75cb8 /users/views/admin.py | |
parent | f5eafb0ca0af3ed064202abbe99bfbeef8bbb74d (diff) | |
download | takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.tar.gz takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.tar.bz2 takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.zip |
Rework UI to have vertical menus
Diffstat (limited to 'users/views/admin.py')
-rw-r--r-- | users/views/admin.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/users/views/admin.py b/users/views/admin.py index 165572c..9476417 100644 --- a/users/views/admin.py +++ b/users/views/admin.py @@ -24,7 +24,6 @@ class AdminSettingsPage(SettingsPage): at the bottom of the page. Don't add this to a URL directly - subclass! """ - template_name = "admin/settings.html" options_class = Config.SystemOptions def load_config(self): @@ -47,6 +46,15 @@ class BasicPage(AdminSettingsPage): "title": "Highlight Color", "help_text": "Used for logo background and other highlights", }, + "post_length": { + "title": "Maximum Post Length", + "help_text": "The maximum number of characters allowed per post", + }, + } + + layout = { + "Branding": ["site_name", "highlight_color"], + "Posts": ["post_length"], } |