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

    ./oscar/stats.html:29:  <th scope="col" style="width:20rem;">{{ th_sort('name', _("Engine name")) }}</th>
    ./oscar/stats.html:30:  <th scope="col" style="width:7rem; text-align: right;">{{ th_sort('score', _('Scores')) }}</th>
    ./oscar/stats.html:33:  <th scope="col" style="text-align: right;">{{ th_sort('reliability', _('Reliability')) }}</th>
    ./oscar/stats.html:38:  <td style="text-align: right;">
    ./oscar/stats.html:91:  <td style="text-align: right;"> {{ engine_reliabilities.get(engine_stat.name, {}).get('reliablity') }}</td>
    ./oscar/stats.html:109: <tbody style="padding-top: 1rem;">
    ./oscar/stats.html:112: <th scope="row" style="width: 10rem">{{ _('Exception') }}</th><td>{{ error.exception_classname }}</td>
    ./oscar/stats.html:114: <th scope="row" style="width: 10rem">{{ _('Message') }}</th><td>{{ error.log_message }}</td>
    ./oscar/stats.html:116: <th scope="row" style="width: 10rem">{{ _('Percentage') }}</th><td style="width: 10rem">{{ error.percentage }}</td>
    ./oscar/stats.html:121: <span style="border-right: 1px solid gray; padding: 0 1rem 0 0; margin: 0 0 0 0.5rem;">{{ param }}</span>
    ./oscar/stats.html:138: <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 [mod] oscar's "default" template should make use of result.thumbnail 2021-04-15 08:52:11 +02:00
404.html Drop Python 2 (2/n): templates 2020-09-10 10:39:04 +02:00
about.html [mod] add a __common__ template that can't be selected but that provides a common place for shared templates. 2017-01-20 15:40:38 +01:00
advanced.html [fix] make "Advanced settings" openable and usable with keyboard - #350 2020-06-25 19:50:26 +02:00
base.html More branding 2021-04-22 20:14:16 +02:00
categories.html [mod] tidy oscar HTML output 2019-12-10 10:58:30 +01:00
index.html [mod] themes: remove legacy, courgette and pix-art themes 2020-12-17 11:33:28 +01:00
infobox.html [mod] duckduckgo_definitions: display only user friendly attributes / URL 2020-10-28 08:09:25 +01:00
languages.html fix selects in preferences so they look consistent (#2150) 2020-08-27 21:55:47 +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
navbar.html [mod] tidy oscar HTML output 2019-12-10 10:58:30 +01: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 [fix] fix the reset button in the oscar theme (#2306) 2020-11-30 16:30:21 +01:00
search_full.html [mod] separate index and search routes 2020-11-02 20:04:03 -07:00
stats.html [fix] make /stats more CSP compliant - oscar theme 2021-05-17 17:41:22 +02:00
time-range.html fix selects in preferences so they look consistent (#2150) 2020-08-27 21:55:47 +02:00