templates/public/public_base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="es">
  3. <head>
  4.     <title>{% block title %}{{customThemeGlobals.project_name}}{% endblock %}</title>
  5.     <link rel="icon" href="{{customThemeGlobals.favicon_url}}" type="image/x-icon">
  6.     <link rel="shortcut icon" href="{{customThemeGlobals.favicon_url}}" type="image/x-icon">
  7.     <link rel="stylesheet" href="{{ asset('vendors/fontawesome-6.7.2/css/all.min.css') }}">
  8.     <link href="{{ asset('vendors/bootstrap/dist/css/bootstrap.min.css') }}" rel="stylesheet">
  9.     <link rel="stylesheet" href="{{ asset('build/css/public-site.css') }}">
  10.     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
  11.     {% block metas %}
  12.         <meta charset="UTF-8">
  13.         <meta name="viewport" content="width=device-width, initial-scale=1">
  14.     {% endblock %}
  15.     
  16.     {% block stylesheets %}{% endblock %}
  17. </head>
  18.     <body {% block bodyclass %}class="" {% endblock %}>
  19.     {% block impersionate %}
  20.         {% if is_granted('IS_IMPERSONATOR') %}
  21.             <div class="alert alert-warning" style="margin-bottom: 0;">
  22.                 {{ "backend.global.you_are_logged"|trans }} : {{ app.user.username }}
  23.                 <a href="{{ path('app_admin_index',{'_switch_user':'_exit'}) }}">{{ "backend.global.leave_impersonate"|trans }}</a>
  24.             </div>
  25.         {% endif %}
  26.     {% endblock %}
  27.     {% block body %}{% endblock %}
  28.     {% block javascripts %}{% endblock %}
  29.     {% block script %}
  30.         <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
  31.         <script src="{{ asset('build/js/sigexpe-styles.js') }}" defer></script>
  32.     {% endblock %}
  33.     </body>
  34. </html>