summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2025-02-15 09:17:21 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2025-02-28 12:27:41 +0100
commit8b864ed11107dcc6ef2780d8536cba1f9c5ff388 (patch)
tree57b324a1f822799ff0db0fb3637afa5e6a32f9b3 /searx
parent6500d7371414251f895e36397ff017c129e6bbe0 (diff)
[fix] simple template - video.html fix button icon to icon_small
BTW: Rename the manufacturer-specific name ``ion-icon`` of the icon set in SerXNG to ``sxng-icon-set`` --> The icon set can be assembled together as desired in the FE and should therefore not have a manufacturer-specific name in the style and template definitions. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-rw-r--r--searx/templates/simple/icons.html6
-rw-r--r--searx/templates/simple/result_templates/videos.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/simple/icons.html b/searx/templates/simple/icons.html
index c6022de09..2ef37dd26 100644
--- a/searx/templates/simple/icons.html
+++ b/searx/templates/simple/icons.html
@@ -43,13 +43,13 @@ set catalog = {
{% macro icon(action, alt) -%}
- {{ catalog[action] | replace("__jinja_class_placeholder__", "ion-icon") | safe }}
+ {{ catalog[action] | replace("__jinja_class_placeholder__", "sxng-icon-set") | safe }}
{%- endmacro %}
{% macro icon_small(action, alt) -%}
- {{ catalog[action] | replace("__jinja_class_placeholder__", "ion-icon-small") | safe }}
+ {{ catalog[action] | replace("__jinja_class_placeholder__", "sxng-icon-set-small") | safe }}
{%- endmacro %}
{% macro icon_big(action, alt) -%}
- {{ catalog[action] | replace("__jinja_class_placeholder__", "ion-icon-big") | safe }}
+ {{ catalog[action] | replace("__jinja_class_placeholder__", "sxng-icon-set-big") | safe }}
{%- endmacro %} \ No newline at end of file
diff --git a/searx/templates/simple/result_templates/videos.html b/searx/templates/simple/result_templates/videos.html
index 40a05698f..23d4195ca 100644
--- a/searx/templates/simple/result_templates/videos.html
+++ b/searx/templates/simple/result_templates/videos.html
@@ -3,7 +3,7 @@
{{ result_header(result, favicons, image_proxify) }}
{{ result_sub_header(result) }}
{% if result.iframe_src -%}
-<p class="altlink"> <a class="btn-collapse collapsed media-loader disabled_if_nojs" data-target="#result-video-{{ index }}" data-btn-text-collapsed="{{ _('show video') }}" data-btn-text-not-collapsed="{{ _('hide video') }}">{{ icon('film') }} {{ _('show video') }}</a></p>
+<p class="altlink"> <a class="btn-collapse collapsed media-loader disabled_if_nojs" data-target="#result-video-{{ index }}" data-btn-text-collapsed="{{ _('show video') }}" data-btn-text-not-collapsed="{{ _('hide video') }}">{{ icon_small('film') }} {{ _('show video') }}</a></p>
{%- endif %}
{%- if result.content %}
<p class="content">