mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 09:19:20 +02:00
[feat] settings: replace boolean select preferences with checkboxes
This commit is contained in:
parent
5a5cfc1930
commit
e5535ec078
6 changed files with 52 additions and 27 deletions
|
@ -383,7 +383,8 @@ class Preferences:
|
|||
'0': False,
|
||||
'1': True,
|
||||
'True': True,
|
||||
'False': False
|
||||
'False': False,
|
||||
'on': True
|
||||
}
|
||||
),
|
||||
'method': EnumStringSetting(
|
||||
|
@ -412,7 +413,8 @@ class Preferences:
|
|||
'0': False,
|
||||
'1': True,
|
||||
'False': False,
|
||||
'True': True
|
||||
'True': True,
|
||||
'on': True
|
||||
}
|
||||
),
|
||||
'doi_resolver': MultipleChoiceSetting(
|
||||
|
@ -432,7 +434,8 @@ class Preferences:
|
|||
'0': False,
|
||||
'1': True,
|
||||
'False': False,
|
||||
'True': True
|
||||
'True': True,
|
||||
'on': True
|
||||
}
|
||||
),
|
||||
'advanced_search': MapSetting(
|
||||
|
@ -454,7 +457,8 @@ class Preferences:
|
|||
'0': False,
|
||||
'1': True,
|
||||
'True': True,
|
||||
'False': False
|
||||
'False': False,
|
||||
'on': True
|
||||
}
|
||||
),
|
||||
'infinite_scroll': MapSetting(
|
||||
|
@ -465,7 +469,8 @@ class Preferences:
|
|||
'0': False,
|
||||
'1': True,
|
||||
'True': True,
|
||||
'False': False
|
||||
'False': False,
|
||||
'on': True
|
||||
}
|
||||
),
|
||||
# fmt: on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue