From 0507e185a55702c528ead471b17506fc5db39b58 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 17 May 2021 17:56:18 +0200 Subject: [fix] bar graph and rename CSS class engine-scores -> engine-score - drop #main_stats selector in stats.less - 'engine-score' exists before this PR. - untabify searx/static/themes/__common__/less/stats.less for details see comment at: https://github.com/searxng/searxng/pull/81/files/d93bec7638908cae64530727d4e1539ae10bd144..1204e4f07e932029d66b4674a3474918228459a6#r633571496 Suggested-by: @dalf in commit 1204e4f0 Signed-off-by: Markus Heiser --- searx/templates/simple/stats.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'searx/templates/simple/stats.html') diff --git a/searx/templates/simple/stats.html b/searx/templates/simple/stats.html index 968208381..67c9c79cc 100644 --- a/searx/templates/simple/stats.html +++ b/searx/templates/simple/stats.html @@ -26,7 +26,7 @@ - + @@ -34,7 +34,7 @@ {% for engine_stat in engine_stats.get('time', []) %} -
{{ th_sort('name', _("Engine name")) }}{{ th_sort('score', _('Scores')) }}{{ th_sort('score', _('Scores')) }} {{ th_sort('result_count', _('Result count')) }} {{ th_sort('time', _('Response time')) }} {{ th_sort('reliability', _('Reliability')) }}
{{ engine_stat.name }} + {% if engine_stat.score %} {{ engine_stat.score|round(1) }} {%- if engine_stat.total -%}
{{- engine_stat.total | round(1) -}}
{{- "" -}} -