nineskeletor/templates/Icon/list.html.twig
afornerot 88cfeae266
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
v0 ninegate
2023-01-10 11:13:28 +01:00

26 lines
1.0 KiB
Twig

{% extends "base.html.twig" %}
{% block body %}
{% if not inframe %}
<h1 class="page-header">Gestion des Icônes</h1>
{% endif %}
{% if auditUse and (access=="admin" or access=="audit") %}
<a class="btn btn-secondary float-end" href="{{ path("app_"~access~"_audit_render",{entityname:"Icon"}) }}"><i class="fas fa-eye fa-fw"></i> Audit</a>
{% endif %}
<p>
<a class="btn btn-success" href={{ path('app_'~access~'_icon_submit',{'inframe': inframe}) }}>Ajouter</a>
{% if inframe %}
<a class="btn btn-secondary" href={{ path('app_'~access~'_icon_select') }}>Fermer</a>
{% endif %}
</p>
<div class="flex wrap">
{% for icon in icons %}
<a href="{{ path('app_'~access~'_icon_update', {id : icon.id, 'inframe': inframe}) }}"><img class="icon" height="90" src="{{ path('app_minio_image',{file:icon.label}) }}"" style="padding:10px; margin-bottom:2px; background-color: var(--colorbgbodydark"></a>
{% endfor %}
</div>
{% endblock %}