diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index d544a8cb8..ab237a219 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -287,6 +287,48 @@ {{ tab_footer() }} + {{ tab_header('maintab', 'query', _('Special Queries')) }} + + {% if answerers %} +
+ + + + + + + + + + + {% 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', 'privacy', _('Privacy')) }} {% if 'method' not in locked_preferences %}