mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 17:26:10 -06:00
introduce system theme
This commit is contained in:
parent
55385dd0db
commit
8447a2b491
@ -18,8 +18,9 @@ PREFERENCES = {
|
|||||||
choices=(
|
choices=(
|
||||||
('light', 'Light'),
|
('light', 'Light'),
|
||||||
('dark', 'Dark'),
|
('dark', 'Dark'),
|
||||||
|
('system', 'System')
|
||||||
),
|
),
|
||||||
default='light',
|
default='system',
|
||||||
),
|
),
|
||||||
'pagination.per_page': UserPreference(
|
'pagination.per_page': UserPreference(
|
||||||
label=_('Page length'),
|
label=_('Page length'),
|
||||||
@ -45,6 +46,7 @@ PREFERENCES = {
|
|||||||
('json', 'JSON'),
|
('json', 'JSON'),
|
||||||
('yaml', 'YAML'),
|
('yaml', 'YAML'),
|
||||||
),
|
),
|
||||||
|
default='json',
|
||||||
),
|
),
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user