diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-02-04 15:59:02 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-02-28 12:27:41 +0100 |
| commit | 189dd0155df60c98b5d7de73b873c8ad444ff931 (patch) | |
| tree | b35944ba5102b05635eb3f0bc4c43d6e76b88733 /searx/templates/simple/base.html | |
| parent | 30ee34d3ea5fc6cb25a96c5e30cdb952253ec697 (diff) | |
[web-client] simple theme: refactor jinja_svg_catalog and cleanup icon names
This patch implements the template generation of the template:
searx/templates/simple/icons.html
by the way the icon set (the icon names) has been normalized:
film-outline --> film
magnet-outline --> magnet
..
warning --> alert
Some missing (categorie) icons had been added.
Some of the ionicons are not suitable for a dark theme, we fixed the svg
manually in src/svg/ionicons:
- https://github.com/searxng/searxng/pull/4284#issuecomment-2680550342
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/simple/base.html')
| -rw-r--r-- | searx/templates/simple/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 93249fbf8..2eebde676 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -46,15 +46,15 @@ <nav id="links_on_top"> {%- from 'simple/icons.html' import icon_big -%} {%- block linkto_about -%} - <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a> + <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle') }}<span>{{ _('About') }}</span></a> {%- endblock -%} {%- block linkto_donate -%} {%- if donation_url -%} - <a href="{{ donation_url }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a> + <a href="{{ donation_url }}" class="link_on_top_donate">{{ icon_big('heart') }}<span>{{ _('Donate') }}</span></a> {%- endif -%} {%- endblock -%} {%- block linkto_preferences -%} - <a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}<span>{{ _('Preferences') }}</span></a> + <a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('settings') }}<span>{{ _('Preferences') }}</span></a> {%- endblock -%} </nav> {% block header %} |