{% from 'simple/macros.html' import tabs_open, tabs_close, tab_header, tab_footer, checkbox_onoff, checkbox %} {% from 'simple/icons.html' import icon_big %} {% extends "simple/page_with_header.html" %} {%- macro plugin_preferences(section) -%} {%- for plugin in plugins -%} {%- if plugin.preference_section == section -%}
{%- endif -%} {%- endfor -%} {%- endmacro -%} {% macro engine_about(search_engine) -%} {% if search_engine.about is defined %} {% set about = search_engine.about %}wikidata.org/wiki/{{about.wikidata_id}}
{%- endif -%} {%- if search_engine.enable_http %}{{ icon_big('exclamation-sign', 'No HTTPS') }}{{ _('No HTTPS')}}
{% endif -%} {%- if reliabilities.get(search_engine.name, {}).errors or reliabilities.get(search_engine.name, {}).checker -%} {{ _('View error logs and submit a bug report') -}} {%- endif -%}{{ _("!bang for this engine") }}{% for bang in [search_engine.name] + [search_engine.shortcut] %} {{ '!' + bang.replace(' ', '_') }}{% endfor %}
{{ _("!bang for its categories") }}{% for bang in search_engine.categories %} {{ '!' + bang.replace(' ', '_') }}{% endfor %}
{{ _('Median') }}: {{ stats[engine_name].time }}
{{- "" -}}{{ _('P80') }}: {{ stats[engine_name].rate80 }}
{{- "" -}}{{ _('P95') }}: {{ stats[engine_name].rate95 }}
{{- "" -}}{{ _("Failed checker test(s): ") }} {{ ', '.join(checker_result) }}
{%- endif -%} {%- if errors %}{{ _('Errors:') }}
{% endif -%} {%- for error in errors -%}{{ error }}
{{- "" -}} {%- endfor -%}