1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 04:01:40 +01:00

[mod] switch default theme from oscar to simple

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-12-29 14:49:06 +01:00
parent 36aee70c24
commit 5ec9eb8030
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ ui:
# it decreases the privacy, since the browser can records the page titles.
query_in_title: false
# ui theme
default_theme: oscar
default_theme: simple
# Default interface locale - leave blank to detect from browser information or
# use codes from the 'locales' config section
default_locale: ""

View File

@ -177,7 +177,7 @@ SCHEMA = {
'ui': {
'static_path': SettingsDirectoryValue(str, os.path.join(searx_dir, 'static')),
'templates_path': SettingsDirectoryValue(str, os.path.join(searx_dir, 'templates')),
'default_theme': SettingsValue(str, 'oscar'),
'default_theme': SettingsValue(str, 'simple'),
'default_locale': SettingsValue(str, ''),
'theme_args': {
'oscar_style': SettingsValue(OSCAR_STYLE, 'logicodev'),

View File

@ -105,7 +105,7 @@ def get_search_query(
"language": args.lang,
"time_range": args.timerange,
}
preferences = searx.preferences.Preferences(['oscar'], engine_categories, searx.engines.engines, [])
preferences = searx.preferences.Preferences(['simple'], engine_categories, searx.engines.engines, [])
preferences.key_value_settings['safesearch'].parse(args.safesearch)
search_query = searx.webadapter.get_search_query_from_webapp(preferences, form)[0]