mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
Theme: add a preference to center the results (Oscar) (2nd edition)
related to * #1169 * #1281 * #1286
This commit is contained in:
parent
43b8b64866
commit
8a85d1b0c7
8 changed files with 174 additions and 3 deletions
|
@ -365,6 +365,16 @@ class Preferences:
|
|||
locked=is_locked('simple_style'),
|
||||
choices=['', 'auto', 'light', 'dark']
|
||||
),
|
||||
'center_aligment': MapSetting(
|
||||
settings['ui']['center_aligment'],
|
||||
locked=is_locked('center_aligment'),
|
||||
map={
|
||||
'0': False,
|
||||
'1': True,
|
||||
'False': False,
|
||||
'True': True
|
||||
}
|
||||
),
|
||||
'advanced_search': MapSetting(
|
||||
settings['ui']['advanced_search'],
|
||||
locked=is_locked('advanced_search'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue