vendor/jamel/cms-bundle/Resources/views/bundles/KunstmaanAdminBundle/Default/layout.html.twig line 1

Open in your IDE?
  1. {% extends "@!KunstmaanAdmin/Default/layout.html.twig" %}
  2. {% block footer %}
  3.     <footer role="contentinfo" class="app__footer container-fluid">
  4.         <a target="_blank" rel="noopener" href="https://jamel.pl" class="pull-right">
  5.             <img src="{{ asset('/bundles/jamelcms/img/jamel_logo.svg') }}" alt="Logo Jamel" />
  6.         </a>
  7.     </footer>
  8. {% endblock %}
  9. {% block extracss %}
  10.     {{ parent() }}
  11.     {% include 'JamelCmsBundle::extraCss.html.twig' %}
  12. {% endblock %}
  13. {% block extrajavascript %}
  14.     {% set cmsAdminPath = 'bundles/jamelcms/js/cms-bundle.min.js' %}
  15.     {% set cropperAdminPath = 'bundles/jamelcropper/js/cropper-bundle.min.js' %}
  16.     <script>
  17.         var scripts = [
  18.             {% if file_exists(cmsAdminPath) %}'{{ asset(cmsAdminPath) }}',{% endif %}
  19.             {% if file_exists(cropperAdminPath) %}'{{ asset(cropperAdminPath) }}',{% endif %}
  20.         ];
  21.         scripts.forEach(function(src) {
  22.             var scriptEl = document.createElement('script');
  23.             scriptEl.src = src;
  24.             scriptEl.async = false;
  25.             document.head.appendChild(scriptEl);
  26.         });
  27.     </script>
  28. {% endblock %}