{% from 'simple/macros.html' import tabs_open, tabs_close, tab_header, tab_footer, checkbox_onoff, checkbox %} {% extends "simple/base.html" %} {%- macro plugin_preferences(section) -%} {%- for plugin in plugins -%} {%- if plugin.preference_section == section -%}
{{- '' -}} {{ _(plugin.name) }}{{- '' -}}
{{- checkbox_onoff('plugin_' + plugin.id, plugin.id not in allowed_plugins) -}}
{{- '' -}}
{{- _(plugin.description) -}}
{{- '' -}}
{%- endif -%} {%- endfor -%} {%- endmacro -%} {% block head %} {% endblock %} {% block content %}

searx

{{ _('Preferences') }}

{{ tabs_open() }} {{ tab_header('maintab', 'general', _('General')) }}
{{ _('Default categories') }} {% set display_tooltip = false %} {% include 'simple/categories.html' %}
{{ _('Search language') }}

{{- '' -}} {{- '' -}}

{{ _('What language do you prefer for search?') }}
{{ _('Autocomplete') }}

{{ _('Find stuff as you type') }}
{{ _('SafeSearch') }}

{{ _('Filter content') }}

{{ plugin_preferences('general') }} {{ tab_footer() }} {{ tab_header('maintab', 'engines', _('Engines')) }}

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

{{ tabs_open() }} {% for categ in all_categories %} {{ tab_header('enginetab', 'category' + categ, _(categ)) }}
{% for search_engine in engines_by_category[categ] %} {% if not search_engine.private %} {% set engine_id = 'engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_') %} {% endif %} {% endfor %}
{{ _("Allow") }} {{ _("Engine name") }} {{ _("Shortcut") }} {{ _("Supports selected language") }} {{ _("SafeSearch") }} {{ _("Time range") }} {{ _("Avg. time") }} {{ _("Max time") }}
{{ checkbox_onoff(engine_id, (search_engine.name, categ) in disabled_engines) }} {{ search_engine.name }} {{ shortcuts[search_engine.name] }} {{ checkbox(engine_id + '_supported_languages', current_language == 'all' or current_language in search_engine.supported_languages or current_language.split('-')[0] in search_engine.supported_languages, true, true) }} {{ checkbox(engine_id + '_safesearch', search_engine.safesearch==True, true, true) }} {{ checkbox(engine_id + '_time_range_support', search_engine.time_range_support==True, true, true) }} {{ 'N/A' if stats[search_engine.name].time==None else stats[search_engine.name].time }} {{ search_engine.timeout }}
{{ tab_footer() }} {% endfor %} {{ tabs_close() }} {{ tab_footer() }} {{ tab_header('maintab', 'ui', _('User interface')) }}
{{ _('Interface language') }}

{{ _('Change the language of the layout') }}
{{ _('Themes') }}

{{ _('Change searx layout') }}
{{ _('Results on new tabs') }}

{{_('Open result links on new browser tabs') }}
{{ plugin_preferences('ui') }} {{ tab_footer() }} {{ tab_header('maintab', 'privacy', _('Privacy')) }}
{{ _('Method') }}

{{ _('Search language') }}
{{ _('Image proxy') }}

{{ _('Proxying image results through searx') }}
{{ plugin_preferences('privacy') }} {{ tab_footer() }} {{ tabs_close() }}

{{ _('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.") }}

{% endblock %}