23 lines
809 B
Twig
23 lines
809 B
Twig
{% extends '@CadolesCore/base.html.twig' %}
|
|
|
|
{% block pagewrapper %}
|
|
{% if not inframe %}
|
|
<h1 class="page-header">Gestion des Icônes</h1>
|
|
{% endif %}
|
|
|
|
<p>
|
|
<a class="btn btn-success" href={{ path('cadoles_portal_'~access~'_icon_submit',{'inframe': inframe}) }}>Ajouter</a>
|
|
{% if inframe %}
|
|
<a class="btn btn-default" href={{ path('cadoles_portal_'~access~'_icon_select') }}>Fermer</a>
|
|
{% endif %}
|
|
</p>
|
|
|
|
<div class="row">
|
|
{% for icon in icons %}
|
|
<a href="{{ path('cadoles_portal_'~access~'_icon_update', {id : icon.id, 'inframe': inframe}) }}"><img class="icon" height="90" src="/{{ alias }}/{{ icon.label }}" style="padding:10px; margin-bottom:2px; background-color: #{{color["main"]}}"></a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|