{{ encore_entry_link_tags('app') }} {{ encore_entry_script_tags('app') }} {% block encoretags %}{% endblock encoretags %} {{ include('Include/style.css.twig') }} {% if not app.session.get("apptheme") is empty %} {% endif %} {% block localstyle %}{% endblock %} {% if (useheader is defined and useheader) or (usemenu is defined and usemenu) %}
{% if useheader is defined and useheader and app.session.get("haveheader") and (app.session.get("fgheader") or not app.user) %} {% endif %} {% if (usemenu is defined and usemenu) or not app.session.get("fgheader") or not app.session.get("haveheader") %} {%set style="display:flex"%} {% else %} {%set style="display:none"%} {% endif %}
{% endif %}
{% if usesidebar is defined and usesidebar %} {% if is_granted('ROLE_ADMIN') %} {{ include('Include/sidebaradmin.html.twig') }} {% elseif is_granted('ROLE_MODO') %} {{ include('Include/sidebarmodo.html.twig') }} {% endif %} {% endif %}
{%if maxsize is defined %}
{%endif%} {% block body %}{% endblock %} {%if maxsize is defined %}
{%endif%}
{% if app.session.get("havefooter") and ((useheader is defined and useheader) or (usemenu is defined and usemenu)) %} {% endif %} {% block localscript %}{% endblock %}