toolbar.html.twig 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <!-- START of Symfony Web Debug Toolbar -->
  2. <div id="sfMiniToolbar-{{ token }}" class="sf-minitoolbar" data-no-turbolink>
  3. <button type="button" title="Show Symfony toolbar" id="sfToolbarMiniToggler-{{ token }}" accesskey="D" aria-expanded="false" aria-controls="sfToolbarMainContent-{{ token }}">
  4. {{ include('@WebProfiler/Icon/symfony.svg') }}
  5. </button>
  6. </div>
  7. <div id="sfToolbarClearer-{{ token }}" class="sf-toolbar-clearer"></div>
  8. <div id="sfToolbarMainContent-{{ token }}" class="sf-toolbarreset clear-fix" data-no-turbolink>
  9. {% for name, template in templates %}
  10. {% if block('toolbar', template) is defined %}
  11. {% with {
  12. collector: profile.getcollector(name),
  13. profiler_url: profiler_url,
  14. token: profile.token,
  15. name: name,
  16. profiler_markup_version: profiler_markup_version,
  17. csp_script_nonce: csp_script_nonce,
  18. csp_style_nonce: csp_style_nonce
  19. } %}
  20. {{ block('toolbar', template) }}
  21. {% endwith %}
  22. {% endif %}
  23. {% endfor %}
  24. <button class="hide-button" type="button" id="sfToolbarHideButton-{{ token }}" title="Close Toolbar" accesskey="D" aria-expanded="true" aria-controls="sfToolbarMainContent-{{ token }}">
  25. {{ include('@WebProfiler/Icon/close.svg') }}
  26. </button>
  27. </div>
  28. <!-- END of Symfony Web Debug Toolbar -->