From 7cfd8d900a9d828e5fbbcb5df65ffedbf11a5a0f Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 14 Apr 2021 18:11:35 +0200 Subject: [mod] oscar: /preferences , engines tab: report engine times * display the median time instead of the average. * add a "Reliability" column (sum up the metrics and the checker results). * the "selected language", "SafeSearch", "Time range" values are displayed as "broken" when the checker tests fail. --- searx/templates/simple/macros.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'searx/templates/simple/macros.html') diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index 1eb42667a..8b6851e0e 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -79,7 +79,11 @@ {%- macro checkbox(name, checked, readonly, disabled) -%}
{{- '' -}} - {{- '' -}} - {{- '' -}} + {%- if checked == '?' -%} + {{ icon_small('warning') }} + {%- else -%} + {{- '' -}} + {{- '' -}} + {%- endif -%}
{%- endmacro -%} -- cgit v1.2.3