diff --git a/searx/static/themes/simple/css/searx-rtl.css b/searx/static/themes/simple/css/searx-rtl.css index 5ea4193f1..63ab1d619 100644 --- a/searx/static/themes/simple/css/searx-rtl.css +++ b/searx/static/themes/simple/css/searx-rtl.css @@ -1844,6 +1844,11 @@ td:hover .engine-tooltip, .column-reliability .engine-tooltip { right: 12rem; } +#tab-contentquery table td, +#tab-contentquery table th { + text-align: left !important; + height: 3rem; +} #main_preferences form { width: 100%; } diff --git a/searx/static/themes/simple/css/searx-rtl.min.css b/searx/static/themes/simple/css/searx-rtl.min.css index 3052f2d0d..d2e2be6cc 100644 Binary files a/searx/static/themes/simple/css/searx-rtl.min.css and b/searx/static/themes/simple/css/searx-rtl.min.css differ diff --git a/searx/static/themes/simple/css/searx-rtl.min.css.map b/searx/static/themes/simple/css/searx-rtl.min.css.map index 171cf3258..bbb8b5290 100644 Binary files a/searx/static/themes/simple/css/searx-rtl.min.css.map and b/searx/static/themes/simple/css/searx-rtl.min.css.map differ diff --git a/searx/static/themes/simple/css/searx.css b/searx/static/themes/simple/css/searx.css index 288f077ef..e2306757d 100644 --- a/searx/static/themes/simple/css/searx.css +++ b/searx/static/themes/simple/css/searx.css @@ -1844,6 +1844,11 @@ td:hover .engine-tooltip, .column-reliability .engine-tooltip { right: 12rem; } +#tab-contentquery table td, +#tab-contentquery table th { + text-align: left !important; + height: 3rem; +} #main_preferences form { width: 100%; } diff --git a/searx/static/themes/simple/css/searx.min.css b/searx/static/themes/simple/css/searx.min.css index 7df4eacbd..2e175e34d 100644 Binary files a/searx/static/themes/simple/css/searx.min.css and b/searx/static/themes/simple/css/searx.min.css differ diff --git a/searx/static/themes/simple/css/searx.min.css.map b/searx/static/themes/simple/css/searx.min.css.map index d93b6d739..0231f68a2 100644 Binary files a/searx/static/themes/simple/css/searx.min.css.map and b/searx/static/themes/simple/css/searx.min.css.map differ diff --git a/searx/static/themes/simple/src/less/preferences.less b/searx/static/themes/simple/src/less/preferences.less index d03bf42d2..034102e66 100644 --- a/searx/static/themes/simple/src/less/preferences.less +++ b/searx/static/themes/simple/src/less/preferences.less @@ -4,6 +4,12 @@ } } +#tab-contentquery table td, +#tab-contentquery table th { + text-align: left !important; + height: 3rem; +} + #main_preferences { form { width: 100%; diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index d544a8cb8..1164bd04f 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -102,79 +102,147 @@ {{ tabs_open() }} -{{ tab_header('maintab', 'general', _('General')) }} - {% if 'categories' not in locked_preferences %} -
- {{ _('Default categories') }} - {% set display_tooltip = false %} - {% include 'simple/categories.html' %} -
- {% endif %} - {% if 'language' not in locked_preferences %} -
- {{ _('Search language') }} -

{{- '' -}} - {{- '' -}} + + {%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%} + + {%- endfor -%} + {{- '' -}} +

+
{{ _('What language do you prefer for search?') }}
+
+ {% endif %} + {% if 'autocomplete' not in locked_preferences %} +
+ {{ _('Autocomplete') }} +

+ +

+
{{ _('Find stuff as you type') }}
+
+ {% endif %} + {% if 'safesearch' not in locked_preferences %} +
+ {{ _('SafeSearch') }} +

+ +

+

{{ _('Filter content') }}

+
+ {% endif %} + {{ plugin_preferences('general') }} + {% if 'doi_resolver' not in locked_preferences %} +
+ {{ _('Open Access DOI resolver') }} +

+ {{- '' -}} -

-
{{ _('What language do you prefer for search?') }}
-
- {% endif %} - {% if 'autocomplete' not in locked_preferences %} -
- {{ _('Autocomplete') }} -

- -

-
{{ _('Find stuff as you type') }}
-
- {% endif %} - {% if 'safesearch' not in locked_preferences %} -
- {{ _('SafeSearch') }} -

- -

-

{{ _('Filter content') }}

-
- {% endif %} - {{ plugin_preferences('general') }} - {% if 'doi_resolver' not in locked_preferences %} -
- {{ _('Open Access DOI resolver') }} -

- -

-
-
- {% endif %} + +

+
+ + {% endif %} + {{ tab_footer() }} + + {{ tab_header('maintab', 'ui', _('User interface')) }} + {% if 'locale' not in locked_preferences %} +
+ {{ _('Interface language') }} +

+ +

+
{{ _('Change the language of the layout') }}
+
+ {% endif %} + {% if 'theme' not in locked_preferences %} +
+ {{ _('Themes') }} +

+ +

+
{{ _('Change searx layout') }}
+
+ {% endif %} + {% if 'results_on_new_tab' not in locked_preferences %} +
+ {{ _('Results on new tabs') }} +

+ +

+
{{_('Open result links on new browser tabs') }}
+
+ {% endif %} + {{ plugin_preferences('ui') }} + {{ tab_footer() }} + + {{ tab_header('maintab', 'privacy', _('Privacy')) }} + {% if 'method' not in locked_preferences %} +
+ {{ _('Method') }} +

+ +

+
{{ _('Search language') }}
+
+ {% endif %} + {% if 'image_proxy' not in locked_preferences %} +
+ {{ _('Image proxy') }} +

+ +

+
{{ _('Proxying image results through searx') }}
+
+ {% endif %} + {{ plugin_preferences('privacy') }} {{ tab_footer() }} {{ tab_header('maintab', 'engines', _('Engines')) }}

{{ _('Currently used search engines') }}

- {{ tabs_open() }} {% for categ in all_categories %} - {{ tab_header('enginetab', 'category' + categ, _(categ)) }}
@@ -190,7 +258,6 @@ {% for search_engine in engines_by_category[categ] %} - {% if not search_engine.private %} {% set engine_id = 'engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_') %} @@ -213,55 +280,51 @@ {{ tabs_close() }} {{ tab_footer() }} - {{ tab_header('maintab', 'ui', _('User interface')) }} - {% if 'locale' not in locked_preferences %} -
- {{ _('Interface language') }} -

- -

-
{{ _('Change the language of the layout') }}
-
- {% endif %} - {% if 'theme' not in locked_preferences %} -
- {{ _('Themes') }} -

- -

-
{{ _('Change searx layout') }}
-
- {% endif %} - {% if 'results_on_new_tab' not in locked_preferences %} -
- {{ _('Results on new tabs') }} -

- -

-
{{_('Open result links on new browser tabs') }}
-
- {% endif %} - {{ plugin_preferences('ui') }} + {{ tab_header('maintab', 'query', _('Special Queries')) }} + {% if answerers %} +
+
{{ _("Reliablity") }}
+ + + + + + + + + + {% for answerer in answerers %} + + + + + + + + {% endfor %} + + + {%- for plugin in plugins -%} + {%- if plugin.preference_section == 'query' -%} + + + + + + + + {%- endif -%} + {%- endfor -%} +
{{ _('Allow') }}{{ _('Keywords') }}{{ _('Name') }}{{ _('Description') }}{{ _('Examples') }}
{{ _('This is the list of searx\'s instant answering modules.') }}
{{ answerer.keywords|join(', ') }}{{ answerer.info.name }}{{ answerer.info.description }}{{ answerer.info.examples|join(', ') }}
{{ _('This is the list of plugins.') }}
{{- checkbox_onoff('plugin_' + plugin.id, plugin.id not in allowed_plugins) -}}{{ plugin.query_keywords|join(', ') }}{{ _(plugin.name) }}{{ _(plugin.description) }}{{ plugin.query_examples }}
+
+ {% endif %} {{ tab_footer() }} {{ tab_header('maintab', 'cookies', _('Cookies')) }} -

{{ _('This is the list of cookies and their values searx is storing on your computer.') }}
{{ _('With that list, you can assess searx transparency.') }}

- {% if cookies %} @@ -278,45 +341,14 @@ {% else %} {% include 'oscar/messages/no_cookies.html' %} {% endif %} -

{{ _('Search URL of the currently saved preferences') }} :

{{ url_for('index', _external=True) }}?preferences={{ preferences_url_params|e }}{% raw %}&q=%s{% endraw %}

{{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }}

- {{ tab_footer() }} - {{ tab_header('maintab', 'privacy', _('Privacy')) }} - {% if 'method' not in locked_preferences %} -
- {{ _('Method') }} -

- -

-
{{ _('Search language') }}
-
- {% endif %} - {% if 'image_proxy' not in locked_preferences %} -
- {{ _('Image proxy') }} -

- -

-
{{ _('Proxying image results through searx') }}
-
- {% endif %} - {{ plugin_preferences('privacy') }} - - {{ tab_footer() }} - - {{ tabs_close() }} +{{ tabs_close() }}

{{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }}