searxng/searx/static/themes/simple/less
Markus Heiser cdfb4b7ff9 [fix] make /stats more CSP compliant - bar graph
Replace bar graph's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

    ./simple/stats.html:49: <span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./simple/stats.html:57: <span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./simple/stats.html:58: <span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"></span>{{- "" -}}
    ./oscar/stats.html:50:  <span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./oscar/stats.html:58:  <span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./oscar/stats.html:59:  <span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"></span>{{- "" -}}

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-17 17:41:22 +02:00
..
autocomplete.less [mod] simple theme: add the license to different files. 2017-11-26 14:33:11 +01:00
code.less [mod] upgrade pygments 2021-03-16 09:07:08 +01:00
definitions.less [mod] oscar: /preferences , engines tab: report engine times 2021-04-21 16:24:46 +02:00
index.less [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
ion.less simple theme update 2018-08-14 17:21:30 +02:00
mixins.less simple theme update 2018-08-14 17:21:30 +02:00
normalize.less simple theme update 2018-08-14 17:21:30 +02:00
preferences.less [mod] /stats: simple theme implementation 2021-04-24 06:58:49 +02:00
pygments.less [upd] ./manage pyenv.cmd searx_extra/update/update_pygments.py 2021-04-26 19:11:58 +02:00
search.less simple theme update 2018-08-14 17:21:30 +02:00
style-rtl.less [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
style.less [fix] make /stats more CSP compliant - bar graph 2021-05-17 17:41:22 +02:00
toolkit.less [fix] make /stats more CSP compliant - bar graph 2021-05-17 17:41:22 +02:00
toolkit_loader.less simple theme update 2018-08-14 17:21:30 +02:00