Ponysearch/searx/static/themes
Markus Heiser 7dc9cc91a8 [mod] simple theme, JS: introduce window.searxng.theme namespace
In window.searxng.theme the theme data can be passed through to JS
implementations.

Initial the window.searxng.theme namespace starts with a value for
`img_load_error`::

    // image that is displayed if load of <img src='...'> failed
    img_load_error: 'img/img_load_error.svg'

The searx/static/themes/__common__/js/image_layout.js is patched to uses the
value, if the theme defines a value for img_load_error in this namespace.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-30 12:42:52 +01:00
..
__common__ [mod] simple theme, JS: introduce window.searxng.theme namespace 2021-11-30 12:42:52 +01:00
oscar [build] /static 2021-11-29 20:48:38 +01:00
simple [mod] simple theme, JS: introduce window.searxng.theme namespace 2021-11-30 12:42:52 +01:00