You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
autocomplete.less [mod] simple theme: add the license to different files. 7 years ago
code.less [mod] upgrade pygments 4 years ago
definitions.less [mod] oscar: /preferences , engines tab: report engine times 4 years ago
index.less [enh] add simple theme (WIP) 7 years ago
ion.less simple theme update 6 years ago
mixins.less simple theme update 6 years ago
normalize.less simple theme update 6 years ago
preferences.less [mod] /stats: simple theme implementation 4 years ago
pygments.less [upd] ./manage pyenv.cmd searx_extra/update/update_pygments.py 4 years ago
search.less simple theme update 6 years ago
style-rtl.less [enh] add simple theme (WIP) 7 years ago
style.less [fix] make /stats more CSP compliant - bar graph 3 years ago
toolkit.less [fix] make /stats more CSP compliant - bar graph 3 years ago
toolkit_loader.less simple theme update 6 years ago