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
..
2021-03-01 10:52:39 +01:00
2021-05-02 17:46:40 -07:00
2021-05-05 13:12:42 +02:00
2021-04-27 10:42:00 +02:00
2021-05-05 20:36:37 +02:00
2021-04-22 11:47:16 +02:00
2021-04-21 16:24:46 +02:00
2021-05-05 16:47:02 +02:00
2021-01-13 14:07:39 +01:00
2021-05-17 17:41:22 +02:00
2021-05-17 17:41:22 +02:00
2021-03-27 19:10:54 +01:00
2021-04-27 10:42:00 +02:00
2021-04-12 17:25:56 +02:00
2020-12-11 14:37:08 +01:00
2021-02-24 18:48:36 +01:00
2020-10-28 08:09:25 +01:00
2021-03-05 10:56:46 +00:00
2021-04-26 20:18:20 +02:00
2021-03-01 19:12:32 +01:00
2021-04-21 16:24:46 +02:00
2021-04-05 16:33:48 +02:00
2021-04-22 12:13:01 +02:00
2021-05-04 11:57:14 +02:00
2021-05-03 15:45:30 +02:00
2021-04-10 15:38:33 +02:00
2021-03-27 20:30:08 +01:00
2021-03-06 12:12:35 +01:00
2021-05-14 11:15:35 +02:00
2021-02-08 23:58:54 -05:00