searxng/searx/static/themes/simple
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
..
css [build] /static 2022-01-29 14:44:05 +01:00
img [build] /static 2021-12-18 21:25:22 +01:00
js [build] /static 2022-01-10 17:42:13 +01:00
src [simple] introduce page_with_header.html template 2022-01-30 17:29:21 +01:00
.eslintrc.json [mod] SearXNG JavaScript Style Guide (eslint:recommended) 2021-12-14 06:50:26 +01:00
.gitignore [themes] ignore packages-lock.json 2021-06-22 08:17:06 +02:00
.jshintrc [emacs] .dir-locals.el: add setup for js-mode 2021-06-24 13:27:21 +02:00
.stylelintrc.json [mod] simple theme: change stylelint configuration 2022-01-16 18:50:19 +01:00
gruntfile.js Changed preferences icon to settings icon in gruntfile 2022-01-22 17:14:19 +01:00
package.json [simple theme] activate - SearXNG JavaScript Style Guide 2021-12-14 07:50:53 +01:00
svg4favicon.svgo.js [enh] add SVG favicon href="favicon.svg" type="image/svg+xml" 2021-11-29 20:36:31 +01:00
svg4web.svgo.js [fix] eslint --fix 2021-12-14 07:31:58 +01:00