mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 10:02:20 +02:00
Merge pull request #1281 from dalf/style-center
Theme: add a preference to center the results
This commit is contained in:
commit
f8f6b95d8f
14 changed files with 279 additions and 131 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