[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>
This commit is contained in:
Markus Heiser
2025-02-15 09:17:21 +01:00
committed by Markus Heiser
parent 6500d73714
commit 8b864ed111
4 changed files with 13 additions and 13 deletions

View File

@@ -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 %}