From 566dfe33307e33e4cb54dc6eae17fb373a09684e Mon Sep 17 00:00:00 2001 From: MrPaulBlack Date: Sat, 13 Nov 2021 10:42:07 +0100 Subject: [simple theme] update to ion icons 5 and drop webfont * update from ionicons-npm to ionicons ver.5 * drop the webfont built by grunt for icons * built icons.html template for inlining icons with jinja2 into html * update icon to use mostly the outline version * add icons to categories and do not display them on mobile to save space * remove all legacy ion icon font files from simple theme * icons.html is added in this commit since make statc.build.restore requires git to know the file already * cleanup error-dialog --- searx/templates/simple/preferences.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'searx/templates/simple/preferences.html') diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 90d01d2b6..267dd6e14 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -1,4 +1,5 @@ -{% from 'simple/macros.html' import icon, tabs_open, tabs_close, tab_header, tab_footer, checkbox_onoff, checkbox %} +{% from 'simple/macros.html' import tabs_open, tabs_close, tab_header, tab_footer, checkbox_onoff, checkbox %} +{% from 'simple/icons.html' import icon_big %} {% extends "simple/base.html" %} @@ -25,7 +26,7 @@

{{about.website}}

{%- if about.wikidata_id -%}

wikidata.org/wiki/{{about.wikidata_id}}

{%- endif -%} - {%- if search_engine.enable_http %}

{{ icon('exclamation-sign', 'No HTTPS') }}{{ _('No HTTPS')}}

{% endif -%} + {%- if search_engine.enable_http %}

{{ icon_big('exclamation-sign', 'No HTTPS') }}{{ _('No HTTPS')}}

{% endif -%} {%- if reliabilities.get(search_engine.name, {}).errors or reliabilities.get(search_engine.name, {}).checker -%} {{ _('View error logs and submit a bug report') }} @@ -74,7 +75,7 @@ {{- "" -}} {{- "" -}} - {{ icon('warning', 'The engine is not reliabled') }} {{ r -}} + {{ icon_big('warning', 'The engine is not reliabled') }} {{ r -}} {{- "" -}} {{- "" -}}