{% macro progressbar(data) %}
{% if data.infotext is not empty %} {% endif %} {{ data.text }}
{% endmacro %} {% macro boolean(data) %} {% if (data) %} {% else %} {% endif %} {% endmacro %} {% macro booleanWithInfo(data) %} {% if (data.checked) %} {% else %} {% endif %} {% if data.info is not empty %} {{ data.info }} {% endif %} {% endmacro %} {% macro link(data) %} {% apply spaceless %} {% if data.icon is defined %} {% endif %} {% if data.text is defined %} {{ data.text }} {% endif %} {% endapply %} {% endmacro %} {% macro button(data) %} {% apply spaceless %} <{% if data.href is defined %}a{% else %}span{% endif %} class="{% if data.class is defined %}btn btn-sm {{ data.class }}{% else %}btn btn-sm btn-outline-secondary{% endif %}" {% if data.modal is defined and data.modal is iterable %} data-bs-toggle="modal" role="button" href="#{{ data.modal.id }}" {% else %} {% if data.href is defined %}href="{{ data.href }}"{% endif %} {% endif %} {% if data.target is defined %} target="{{ data.target }}" {% endif %} {% if data.title is defined %} title="{{ data.title }}" {% endif %}> {% if data.icon is defined %} {% endif %} {% if data.text is defined %} {{ data.text }} {% endif %} {% if data.modal is defined and data.modal is iterable %} {% endif %} {% endapply %} {% endmacro %} {% macro domainWithSan(data) %} {{ data.domain }} {% if data.san is not empty %}
SAN: {{ data.san }} {% endif %} {% endmacro %} {% macro actions(data) %} {% for action in data %} {% if action.visible is not defined or action.visible is defined and action.visible %} {{ _self.button(action) }} {% endif %} {% endfor %} {% endmacro %}