action_icons_static.html 2.9 KB

12345678910111213
  1. {% macro search_svg(bl_quotes=True, s_label="search", width="16") -%}{% if bl_quotes %}<img src="{{ url_for("static", filename=static_prefix+"action_icons/search.svg") }}" alt="{{ s_label }}" aria-label="{{ s_label }}" width="{{ width }}">{% else %}<img src='{{ url_for("static", filename=static_prefix+"action_icons/search.svg") }}' alt='{{ s_label }}' aria-label='{{ s_label }}' width='{{ width }}'>{% endif %}{%- endmacro %}
  2. {% macro edit_svg(bl_quotes=True, s_label="edit", width="16") -%}{% if bl_quotes %}<img src="{{ url_for("static", filename=static_prefix+"action_icons/edit.svg") }}" alt="{{ s_label }}" aria-label="{{ s_label }}" width="{{ width }}">{% else %}<img src='{{ url_for("static", filename=static_prefix+"action_icons/edit.svg") }}' alt='{{ s_label }}' aria-label='{{ s_label }}' width='{{ width }}'>{% endif %}{%- endmacro %}
  3. {% macro view_svg(bl_quotes=True, s_label="view", width="16") -%}{% if bl_quotes %}<img src="{{ url_for("static", filename=static_prefix+"action_icons/view.svg") }}" alt="{{ s_label }}" aria-label="{{ s_label }}" width="{{ width }}">{% else %}<img src='{{ url_for("static", filename=static_prefix+"action_icons/view.svg") }}' alt='{{ s_label }}' aria-label='{{ s_label }}' width='{{ width }}'>{% endif %}{%- endmacro %}
  4. {% macro delete_svg(bl_quotes=True, s_label="delete", width="16") -%}{% if bl_quotes %}<img src="{{ url_for("static", filename=static_prefix+"action_icons/delete.svg") }}" alt="{{ s_label }}" aria-label="{{ s_label }}" width="{{ width }}">{% else %}<img src='{{ url_for("static", filename=static_prefix+"action_icons/delete.svg") }}' alt='{{ s_label }}' aria-label='{{ s_label }}' width='{{ width }}'>{% endif %}{%- endmacro %}
  5. {% macro add_svg(bl_quotes=True, s_label="add", width="16") -%}{% if bl_quotes %}<img src="{{ url_for("static", filename=static_prefix+"action_icons/add.svg") }}" alt="{{ s_label }}" aria-label="{{ s_label }}" width="{{ width }}">{% else %}<img src='{{ url_for("static", filename=static_prefix+"action_icons/add.svg") }}' alt='{{ s_label }}' aria-label='{{ s_label }}' width='{{ width }}'>{% endif %}{%- endmacro %}
  6. {% macro save_svg(bl_quotes=True, s_label="save", width="16") -%}{% if bl_quotes %}<img src="{{ url_for("static", filename=static_prefix+"action_icons/save.svg") }}" alt="{{ s_label }}" aria-label="{{ s_label }}" width="{{ width }}">{% else %}<img src='{{ url_for("static", filename=static_prefix+"action_icons/save.svg") }}' alt='{{ s_label }}' aria-label='{{ s_label }}' width='{{ width }}'>{% endif %}{%- endmacro %}
  7. {% macro settings_svg(bl_quotes=True, s_label="settings", width="16") -%}{% if bl_quotes %}<img src="{{ url_for("static", filename=static_prefix+"action_icons/settings.svg") }}" alt="{{ s_label }}" aria-label="{{ s_label }}" width="{{ width }}">{% else %}<img src='{{ url_for("static", filename=static_prefix+"action_icons/settings.svg") }}' alt='{{ s_label }}' aria-label='{{ s_label }}' width='{{ width }}'>{% endif %}{%- endmacro %}