searxng/searx
Martin Fischer 6f0ec7e58f [simple] introduce page_with_header.html template
Previously the preferences & stats templates contained the markup:

<a href="{{ url_for('index') }}"><h1><span>SearXNG</span></h1></a>

There are many things wrong with this:

1. the markup was duplicated

2. the CSS needed to be changed whenever a new page wanted to use this
   header (since the CSS used page-specific selectors)

3. h1 should be reserved for the actual page title
   (e.g. Preferences or Engine stats)

4. the image was set via CSS which also set:

       span { visibility: hidden; }

   which however removes the alternative text from the accessibility
   tree (meaning screen readers will ignore it).

This commit fixes all these problems.
2022-01-30 17:29:21 +01:00
..
answerers [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
data [mod] remove deprecate code 2022-01-29 08:54:12 +01:00
engines [fix] ina engine 2022-01-28 22:33:41 +01:00
help [help] stop rendering documentation with Jinja2 2022-01-23 08:01:55 +01:00
metrics [enh] settings.yml: implement general.enable_metrics 2022-01-05 19:03:04 +01:00
network [mod] remove deprecate code 2022-01-29 08:54:12 +01:00
plugins [typing] add optional attrs to Plugin 2022-01-17 11:42:48 +01:00
search [pyright:strict] searx.search.checker.background 2022-01-27 22:07:12 +01:00
shared [pyright:strict] searx.search.checker.background 2022-01-27 22:07:12 +01:00
static [simple] introduce page_with_header.html template 2022-01-30 17:29:21 +01:00
templates [simple] introduce page_with_header.html template 2022-01-30 17:29:21 +01:00
translations [translations] update from Weblate 2022-01-28 07:16:43 +00:00
__init__.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
autocomplete.py [fix] brave autocompleter: charset_normalizer issues 2022-01-23 17:22:13 +01:00
exceptions.py [pyright:strict] searx.search.checker.background 2022-01-27 22:07:12 +01:00
external_bang.py [fix] external bangs: don't overwrite Bangs in data trie 2022-01-12 19:37:13 +01:00
external_urls.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
flaskfix.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
languages.py Update searx.data - update_languages.py 2022-01-01 18:37:35 +01:00
locales.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
preferences.py [fix] make BooleanChoices only set cookies that vary from the default 2022-01-13 19:43:49 +01:00
query.py [fix] remove broken ? search operator 2022-01-06 14:10:58 +01:00
results.py [typing] add results.UnresponsiveEngine 2022-01-17 11:42:48 +01:00
settings.yml Merge pull request #813 from MarcAbonce/change-wolfram-category 2022-01-26 14:10:19 +01:00
settings_defaults.py Merge pull request #686 from return42/lib_redis 2022-01-11 19:55:14 +01:00
settings_loader.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
unixthreadname.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
user_help.py [help] stop rendering documentation with Jinja2 2022-01-23 08:01:55 +01:00
utils.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
version.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
webadapter.py [fix] disabling all engines in a category makes the bang search in general 2022-01-03 20:23:46 +01:00
webapp.py [pyright] remove no longer needed assertion 2022-01-27 22:17:16 +01:00
webutils.py [enh] change categories_as_tabs from a list to a dict 2022-01-05 11:03:44 +01:00