From 15a3dbf7a0222ed243c25c98262be4eeae10db77 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 8 Sep 2023 12:49:01 +0200 Subject: [fix] preferences - layout of the "special queries" tab Signed-off-by: Markus Heiser --- searx/templates/simple/preferences/answerers.html | 22 ++++++++++++---------- searx/templates/simple/preferences/engines.html | 8 ++++---- 2 files changed, 16 insertions(+), 14 deletions(-) (limited to 'searx/templates') diff --git a/searx/templates/simple/preferences/answerers.html b/searx/templates/simple/preferences/answerers.html index b2770c2f5..98ae61830 100644 --- a/searx/templates/simple/preferences/answerers.html +++ b/searx/templates/simple/preferences/answerers.html @@ -8,14 +8,15 @@ {{ _('Examples') }}{{- '' -}} {{- '' -}} - {{- '' -}} - - {{- _("This is the list of SearXNG's instant answering modules.") -}} - + {{- '' -}} + + {{- _("This is the list of SearXNG's instant answering modules.") -}} + {{- '' -}} + {%- for answerer in answerers -%} {{- '' -}} - {{- '' -}} + {{- '' -}} {{ answerer.keywords|join(', ') }}{{- '' -}} {{ answerer.info.name }}{{- '' -}} {{ answerer.info.description }}{{- '' -}} @@ -23,15 +24,16 @@ {%- endfor -%} - {{- '' -}} - - {{- _('This is the list of plugins.') -}} - {{- '' -}} + {{- '' -}} + + {{- _('This is the list of plugins.') -}} + {{- '' -}} + {%- for plugin in plugins -%} {%- if plugin.preference_section == 'query' -%} {{- '' -}} - {{- checkbox_onoff_reversed('plugin_' + plugin.id, plugin.id not in allowed_plugins) -}}{{- '' -}} + {{- checkbox_onoff_reversed('plugin_' + plugin.id, plugin.id not in allowed_plugins) -}}{{- '' -}} {{ plugin.query_keywords|join(', ') }}{{- '' -}} {{ _(plugin.name) }}{{- '' -}} {{ _(plugin.description) }}{{- '' -}} diff --git a/searx/templates/simple/preferences/engines.html b/searx/templates/simple/preferences/engines.html index 0dd74a0bb..ae71e1c97 100644 --- a/searx/templates/simple/preferences/engines.html +++ b/searx/templates/simple/preferences/engines.html @@ -14,7 +14,7 @@ {{- '' -}} {{- '' -}} - {{- '' -}} + {{- '' -}} {{- '' -}} {{- '' -}} {{- '' -}} @@ -33,9 +33,9 @@ {%- for group, group_bang, engines in engines_by_category[categ] | group_engines_in_tab -%} {%- if loop.length > 1 -%} - {{- '' -}} - {{- '' -}} - {{- '' -}} + {{- '' -}} + {{- '' -}} -- cgit v1.2.3
{{- _("Allow") -}}{{- _("Allow") -}}{{- _("Engine name") -}}{{ _("!bang") -}}{{- _("Supports selected language") -}}
{{- _(group) -}} +
{{- _(group) -}} {%- if group_bang -%} {{- group_bang -}} {%- endif -%}