diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 9beb21009..693167807 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -12,179 +12,205 @@

{{ _('Preferences') }}

- - + + - - -
-
-
-
-
- {% if rtl %} -
- {% include 'oscar/categories.html' %} -
- - {% else %} - -
- {% include 'oscar/categories.html' %} -
- {% endif %} -
- {% set language_label = _('Search language') %} - {% set language_info = _('What language do you prefer for search?') %} - {{ preferences_item_header(language_info, language_label, rtl) }} - - {{ preferences_item_footer(language_info, language_label, rtl) }} - - {% set locale_label = _('Interface language') %} - {% set locale_info = _('Change the language of the layout') %} - {{ preferences_item_header(locale_info, locale_label, rtl) }} - - {{ preferences_item_footer(locale_info, locale_label, rtl) }} - - {% set autocomplete_label = _('Autocomplete') %} - {% set autocomplete_info = _('Find stuff as you type') %} - {{ preferences_item_header(autocomplete_info, autocomplete_label, rtl) }} - - {{ preferences_item_footer(autocomplete_info, autocomplete_label, rtl) }} - - {% set image_proxy_label = _('Image proxy') %} - {% set image_proxy_info = _('Proxying image results through searx') %} - {{ preferences_item_header(image_proxy_info, image_proxy_label, rtl) }} - - {{ preferences_item_footer(image_proxy_info, image_proxy_label, rtl) }} - - {% set method_label = _('Method') %} - {% set method_info = _('Change how forms are submited, learn more about request methods') %} - {{ preferences_item_header(method_info, method_label, rtl) }} - - {{ preferences_item_footer(method_info, method_label, rtl) }} - - {% set safesearch_label = _('SafeSearch') %} - {% set safesearch_info = _('Filter content') %} - {{ preferences_item_header(safesearch_info, safesearch_label, rtl) }} - - {{ preferences_item_footer(safesearch_info, safesearch_label, rtl) }} - - {% set theme_label = _('Themes') %} - {% set theme_info = _('Change searx layout') %} - {{ preferences_item_header(theme_info, theme_label, rtl) }} - - {{ preferences_item_footer(theme_info, theme_label, rtl) }} -
-
-
-
- - - - - - - -
- {% for categ in categories %} - -
-
-
- {% for search_engine in engines_by_category[categ] %} - {% if not search_engine.private %} -
- {% if not rtl %} -
{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})
- {% endif %} -
- {{ checkbox_toggle('engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_'), (search_engine.name, categ) in blocked_engines) }} -
- {% if rtl %} -
{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})‎
- {% endif %} -
+ + +
+
+
+
+
+ {% if rtl %} +
+ {% include 'oscar/categories.html' %} +
+ + {% else %} + +
+ {% include 'oscar/categories.html' %} +
{% endif %} - {% endfor %} -
+ {% set language_label = _('Search language') %} + {% set language_info = _('What language do you prefer for search?') %} + {{ preferences_item_header(language_info, language_label, rtl) }} + + {{ preferences_item_footer(language_info, language_label, rtl) }} + + {% set locale_label = _('Interface language') %} + {% set locale_info = _('Change the language of the layout') %} + {{ preferences_item_header(locale_info, locale_label, rtl) }} + + {{ preferences_item_footer(locale_info, locale_label, rtl) }} + + {% set autocomplete_label = _('Autocomplete') %} + {% set autocomplete_info = _('Find stuff as you type') %} + {{ preferences_item_header(autocomplete_info, autocomplete_label, rtl) }} + + {{ preferences_item_footer(autocomplete_info, autocomplete_label, rtl) }} + + {% set image_proxy_label = _('Image proxy') %} + {% set image_proxy_info = _('Proxying image results through searx') %} + {{ preferences_item_header(image_proxy_info, image_proxy_label, rtl) }} + + {{ preferences_item_footer(image_proxy_info, image_proxy_label, rtl) }} + + {% set method_label = _('Method') %} + {% set method_info = _('Change how forms are submited, learn more about request methods') %} + {{ preferences_item_header(method_info, method_label, rtl) }} + + {{ preferences_item_footer(method_info, method_label, rtl) }} + + {% set safesearch_label = _('SafeSearch') %} + {% set safesearch_info = _('Filter content') %} + {{ preferences_item_header(safesearch_info, safesearch_label, rtl) }} + + {{ preferences_item_footer(safesearch_info, safesearch_label, rtl) }} + + {% set theme_label = _('Themes') %} + {% set theme_info = _('Change searx layout') %} + {{ preferences_item_header(theme_info, theme_label, rtl) }} + + {{ preferences_item_footer(theme_info, theme_label, rtl) }}
- {% endfor %} +
-
-
- -
-
- {% for plugin in plugins %} -
-
-

{{ plugin.name }}

-
-
-
{{ plugin.description }}
-
- {{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }} +
+ + + + + + + +
+ {% for categ in categories %} + +
+
+
+ {% for search_engine in engines_by_category[categ] %} + {% if not search_engine.private %} +
+ {% if not rtl %} +
{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})
+ {% endif %} +
+ {{ checkbox_toggle('engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_'), (search_engine.name, categ) in blocked_engines) }} +
+ {% if rtl %} +
{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})‎
+ {% endif %} +
+ {% endif %} + {% endfor %} +
+ {% endfor %}
- {% endfor %}
-
-
-
-

{{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }} -
- {{ _("These cookies serve your sole convenience, we don't use these cookies to track you.") }} -

+
+ +
+
+ {% for plugin in plugins %} +
+
+

{{ plugin.name }}

+
+
+
{{ plugin.description }}
+
+ {{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }} +
+
+
+ {% endfor %} +
+
+
- -
{{ _('back') }}
-
{{ _('Reset defaults') }}
+
+ +

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

+
+
+
+
+
+
+ + {% for cookie in cookies %} +
+
{{ cookie }}
+
{{ cookies[cookie] }}
+
+ {% endfor %} +
+
+
+
+

{{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }} +
+ {{ _("These cookies serve your sole convenience, we don't use these cookies to track you.") }} +

+ + +
{{ _('back') }}
+
{{ _('Reset defaults') }}
{% endblock %}