Files
maddin 6fbd1bb3c2
CI / checks (push) Has been cancelled
chore: initialize public repository
2026-03-22 12:57:09 +00:00

18 lines
592 B
HTML

{% macro icon_link(href, icon, label, title='', extra_class='') -%}
<a class="icon-button {{ extra_class }}"
href="{{ href }}"
title="{{ title if title else label }}"
aria-label="{{ label }}">
<img class="dash-icon" src="{{ icon }}" alt="" />
</a>
{%- endmacro %}
{% macro icon_submit(icon, label, title='', extra_class='') -%}
<button type="submit"
class="icon-button {{ extra_class }}"
title="{{ title if title else label }}"
aria-label="{{ label }}">
<img class="dash-icon" src="{{ icon }}" alt="" />
</button>
{%- endmacro %}