{%- set ns = namespace(checked=true) -%} {%- for categ in categories_as_tabs + [DEFAULT_CATEGORY] -%} {{- tab_header('enginetab', 'category_' + categ, _(categ), ns.checked ) -}} {%- set ns.checked = false -%} {%- if categ == DEFAULT_CATEGORY -%}
{{- _('This tab does not exists in the user interface, but you can search in these engines by its !bangs.') -}} {{- ' ' -}}ⓘ
{%- endif -%}{{- _("Allow") -}} | {{- '' -}}{{- _("Engine name") -}} | {{- '' -}}{{ _("!bang") -}} | {{- '' -}}{{- _("Supports selected language") -}} | {{- '' -}}{{- _("SafeSearch") -}} | {{- '' -}}{{- _("Time range") -}} | {{- '' -}}{{- _("Weight") }} | {%- if enable_metrics -%}{{- _("Response time") -}} | {%- endif -%}{{- _("Max time") -}} | {%- if enable_metrics -%}{{- _("Reliability") }} | {%- endif -%}
---|---|---|---|---|---|---|---|---|---|
{{- _(group) -}} | {{- '' -}}{%- if group_bang -%} {{- group_bang -}} {%- endif -%} | {{- '' -}}||||||||
{{- checkbox_onoff_reversed(engine_id, (search_engine.name, categ) in disabled_engines) -}} | {{- '' -}}{%- if search_engine.enable_http -%} {{- icon_big('warning', 'No HTTPS') -}} {%- endif -%} {{- engine_about(search_engine) -}} | {{- '' -}}{{- '' -}} {{ '!' + shortcuts[search_engine.name] }}{{- '' -}} | {{- '' -}}{{- checkbox(None, supports[search_engine.name]['supports_selected_language'], true) -}} | {{- '' -}}{{- checkbox(None, supports[search_engine.name]['safesearch'], true) -}} | {{- '' -}}{{- checkbox(None, supports[search_engine.name]['time_range_support'], true) -}} | {{- '' -}}{{- search_engine.weight or '1.0' -}} | {{- '' -}} {%- if enable_metrics -%} {{- engine_time(search_engine.name) -}} {%- endif -%}{{- search_engine.timeout -}} | {{- '' -}} {%- if enable_metrics -%} {{- engine_reliability(search_engine.name) -}} {%- endif -%}