vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar.html.twig line 1

  1. <!-- START of Symfony Web Debug Toolbar -->
  2. <div id="sfMiniToolbar-{{ token }}" class="sf-minitoolbar" data-no-turbolink data-turbo="false">
  3.     <button type="button" title="Show Symfony toolbar" id="sfToolbarMiniToggler-{{ token }}" accesskey="D" aria-expanded="false" aria-controls="sfToolbarMainContent-{{ token }}">
  4.         {{ source('@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 notranslate clear-fix" data-no-turbolink>
  9.     {% for name, template in templates %}
  10.         {% if block('toolbar', template) is defined %}
  11.             {% with {
  12.                 collector: profile ? profile.getcollector(name) : null,
  13.                 profiler_url: profiler_url,
  14.                 token: token ?? (profile ? profile.token : null),
  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.     {% if full_stack %}
  25.         <div class="sf-full-stack sf-toolbar-block sf-toolbar-block-full-stack sf-toolbar-status-red sf-toolbar-block-right">
  26.             <div class="sf-toolbar-icon">
  27.                 <span class="sf-toolbar-value">Using symfony/symfony is NOT supported</span>
  28.             </div>
  29.             <div class="sf-toolbar-info sf-toolbar-status-red">
  30.                 <p>This project is using Symfony via the "symfony/symfony" package.</p>
  31.                 <p>This is NOT supported anymore since Symfony 4.0.</p>
  32.                 <p>Even if it seems to work well, it has some important limitations with no workarounds.</p>
  33.                 <p>Using this package also makes your project slower.</p>
  34.                 <strong>Please, stop using this package and replace it with individual packages instead.</strong>
  35.             </div>
  36.             <div></div>
  37.         </div>
  38.     {% endif %}
  39.     <button class="hide-button" type="button" id="sfToolbarHideButton-{{ token }}" title="Close Toolbar" accesskey="D" aria-expanded="true" aria-controls="sfToolbarMainContent-{{ token }}">
  40.         {{ source('@WebProfiler/Icon/close.svg') }}
  41.     </button>
  42. </div>
  43. <!-- END of Symfony Web Debug Toolbar -->