{# Catalog of SVG symbols that can be inserted into the HTML output of a Jinja template. This file from: client/simple/tools/icon_catalog.edge.html #} {%- set catalog = { 'alert' : '', 'appstore' : '', 'book' : '', 'close' : '', 'download' : '', 'ellipsis-vertical' : '', 'file-tray-full' : '', 'film' : '', 'globe' : '', 'heart' : '', 'image' : '', 'layers' : '', 'leecher' : '', 'location' : '', 'magnet' : '', 'musical-notes' : '', 'navigate-down' : '', 'navigate-left' : '', 'navigate-right' : '', 'navigate-up' : '', 'people' : '', 'play' : '', 'radio' : '', 'save' : '', 'school' : '', 'search' : '', 'seeder' : '', 'settings' : '', 'tv' : '', 'information-circle' : '', 'newspaper' : '', } -%} {% macro icon(action, alt) -%} {{ catalog[action] | replace("__jinja_class_placeholder__", "sxng-icon-set") | safe }} {%- endmacro %} {% macro icon_small(action, alt) -%} {{ catalog[action] | replace("__jinja_class_placeholder__", "sxng-icon-set-small") | safe }} {%- endmacro %} {% macro icon_big(action, alt) -%} {{ catalog[action] | replace("__jinja_class_placeholder__", "sxng-icon-set-big") | safe }} {%- endmacro %}