{% extends '@SonataAdmin/standard_layout.html.twig' %} {% block body_attributes -%} class="sonata-bc {% block admin_lte_skin_class %}{{ _skin }}{% endblock %} fixed sidebar-mini {% if _use_select2 %}sonata-select2{% endif %} {% if _use_icheck %}sonata-icheck{% endif %} {% if app.request.cookies.get('sonata_sidebar_hide') -%} sidebar-collapse {%- endif -%}" {%- endblock -%} {% block sonata_sidebar_search %}
{% endblock sonata_sidebar_search %} {% block sonata_top_nav_menu_add_block %} {% endblock %} {% block sonata_top_nav_menu %} {{ parent() }} {# {{ dump("now"|date) }}#}
{% endblock %} {% block sonata_head_title %} Administration {% if _title is not empty %} {{ _title|striptags|raw }} {% else %} {% if action is defined %} - {% for menu in breadcrumbs_builder.breadcrumbs(admin, action) %} {% if not loop.first %} {% if loop.index != 2 %} > {% endif %} {%- set translation_domain = menu.extra('translation_domain', 'messages') -%} {# We use method accessor instead of ".label" since `menu` implements `ArrayAccess` and could have a property called "label". #} {%- set label = menu.getLabel() -%} {%- if translation_domain is not same as(false) -%} {%- set label = label|trans(menu.extra('translation_params', {}), translation_domain) -%} {%- endif -%} {{ label }} {% endif %} {% endfor %} {% endif %} {% endif %} {% endblock %} {% block sonata_wrapper %} {{ parent() }} {% endblock sonata_wrapper %} {% block html_attributes %} {% if app.request.locale == 'ar_Tn' %} dir="rtl" lang="ar" {% endif %} class="no-js" {% endblock %} {% block stylesheets %} {% for stylesheet in sonata_config.getOption('stylesheets', []) %} {% endfor %} {% if app.request.locale == 'ar_Tn' %} {% endif %} {% if app.request.locale == 'ar_Tn' %} {% endif %} {{ render(controller('App\\Controller\\SwitchCouleurController::configCouleurStyle')) }} {% endblock %} {% block javascripts %} {{ parent() }} {# #} {# #} {% endblock %}