You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
3 years ago
..
css [build] /static 3 years ago
img [build] /static 3 years ago
js [build] /static 3 years ago
src [simple] introduce page_with_header.html template 3 years ago
.eslintrc.json [mod] SearXNG JavaScript Style Guide (eslint:recommended) 3 years ago
.gitignore [themes] ignore packages-lock.json 3 years ago
.jshintrc [emacs] .dir-locals.el: add setup for js-mode 3 years ago
.stylelintrc.json [mod] simple theme: change stylelint configuration 3 years ago
gruntfile.js Changed preferences icon to settings icon in gruntfile 3 years ago
package.json [simple theme] activate - SearXNG JavaScript Style Guide 3 years ago
svg4favicon.svgo.js [enh] add SVG favicon href="favicon.svg" type="image/svg+xml" 3 years ago
svg4web.svgo.js [fix] eslint --fix 3 years ago