searxngRebrandZaclys/searx/templates/simple
Markus Heiser 0a6c488417 [fix] make /stats more CSP compliant - simple theme
Replace simple theme's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/simple/less/stats.less`` ::

    ./simple/stats.html:26:  <table style="max-width: 1280px; margin: 0 auto 0 0;">
    ./simple/stats.html:28:  <th scope="col" style="width:20rem;">{{ th_sort('name', _("Engine name")) }}</th>
    ./simple/stats.html:29:  <th scope="col" style="width:7rem; text-align: right;">{{ th_sort('score', _('Scores')) }}</th>
    ./simple/stats.html:32:  <th scope="col" style="text-align: right;">{{ th_sort('reliability', _('Reliability')) }}</th>
    ./simple/stats.html:37:  <td style="text-align: right;">
    ./simple/stats.html:90:  <td style="text-align: right;"> {{ engine_reliabilities.get(engine_stat.name, {}).get('reliablity') }}</td>
    ./simple/stats.html:106: <table style="max-width: 1280px; margin: 1rem; border: 1px solid gray;">
    ./simple/stats.html:107: <tbody style="padding-top: 1rem;">
    ./simple/stats.html:110: <th scope="row" style="width: 10rem">{{ _('Exception') }}</th><td>{{ error.exception_classname }}</td>
    ./simple/stats.html:112: <th scope="row" style="width: 10rem">{{ _('Message') }}</th><td>{{ error.log_message }}</td>
    ./simple/stats.html:114: <th scope="row" style="width: 10rem">{{ _('Percentage') }}</th><td style="width: 10rem">{{ error.percentage }}</td>
    ./simple/stats.html:119: <span style="border-right: 1px solid gray; padding: 0 1rem 0 0; margin: 0 0 0 0.5rem;">{{ param }}</span>
    ./simple/stats.html:136: <th scope="col" style="width: 10rem">{{ _('Failed test') }}</th>

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
..
messages [mod] engine errors: link to the stats to create an github issue 2021-04-29 11:10:38 +02:00
result_templates add seedpeer again 2019-11-24 22:01:44 -07:00
404.html Drop Python 2 (2/n): templates 2020-09-10 10:39:04 +02:00
about.html [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
base.html More branding 2021-04-22 20:14:16 +02:00
categories.html [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
index.html [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
infobox.html [mod] separate index and search routes 2020-11-02 20:04:03 -07:00
languages.html [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
macros.html [mod] option to enable or disable "proxy" button next to each result (#54) 2021-05-04 11:57:14 +02:00
preferences.html [themes] /preferences, reliablity: warning icons & error logs link 2021-05-04 10:50:03 +02:00
results.html [mod] engine errors: link to the stats to create an github issue 2021-04-29 11:10:38 +02:00
search.html [mod] separate index and search routes 2020-11-02 20:04:03 -07:00
simple.spec.txt [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
stats.html [fix] make /stats more CSP compliant - simple theme 2021-05-17 17:41:22 +02:00
time-range.html [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00