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/results.html | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'searx/templates/simple/results.html') diff --git a/searx/templates/simple/results.html b/searx/templates/simple/results.html index 59874dab3..59de1ee0d 100644 --- a/searx/templates/simple/results.html +++ b/searx/templates/simple/results.html @@ -1,5 +1,5 @@ {% extends "simple/base.html" %} -{% from 'simple/macros.html' import icon, icon_small %} +{% from 'simple/icons.html' import icon, icon_big, icon_small %} {% macro engine_data_form(engine_data) -%} {% for engine_name, kv_data in engine_data.items() %} {% for k, v in kv_data.items() %} @@ -10,7 +10,7 @@ {% block title %}{% if method == 'GET' %}{{- q|e -}} -{% endif %}{% endblock %} {% block meta %}{% endblock %} {% block content %} - + {% include 'simple/search.html' %} {% if results and results|map(attribute='template')|unique|list|count == 1 %} @@ -42,14 +42,17 @@ {% if unresponsive_engines and results|length >= 1 %} {% endif %} @@ -141,7 +144,7 @@ {% endif %}
- {{ icon_small('chevron-up') }} + {{ icon_small('chevron-up-outline') }}
{% if paging %}