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 %} +
{{ _('Allow') }} | +{{ _('Keywords') }} | +{{ _('Name') }} | +{{ _('Description') }} | +{{ _('Examples') }} | ++ | {{ _('This is the list of searx\'s instant answering modules.') }} | + {% for answerer in answerers %} +
---|---|---|---|---|
+ | {{ answerer.keywords|join(', ') }} | +{{ answerer.info.name }} |
+ {{ answerer.info.description }} | +{{ answerer.info.examples|join(', ') }} | ++ | {{ _('This is the list of plugins.') }} | + {%- for plugin in plugins -%} + {%- if plugin.preference_section == 'query' -%} +
{{- checkbox_onoff('plugin_' + plugin.id, plugin.id not in allowed_plugins) -}} | +{{ plugin.query_keywords|join(', ') }} | +{{ _(plugin.name) }} |
+ {{ _(plugin.description) }} | +{{ plugin.query_examples }} | +