templates/frontend/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <!-- Tell the browser to be responsive to screen width -->
  7.     <meta name="viewport" content="width=device-width, initial-scale=1">
  8.     <title>APP comuni</title>
  9.     <link rel="preconnect" href="https://fonts.googleapis.com">
  10.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  11.     <link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600&display=swap" rel="stylesheet">
  12.     <!-- Favicon icon -->
  13.     <link rel="icon" type="image/png" sizes="16x16" href="../../assets/images/favicon.png">
  14.     <title>{% block title %}Welcome!{% endblock %}</title>
  15.     <!-- Custom CSS -->
  16.     <!-- ... -->
  17.     {% block stylesheets %}
  18.         {# 'app' must match the first argument to addEntry() in webpack.config.js #}
  19.         {{ encore_entry_link_tags('web-entry', null, 'web') }}
  20.         <!-- Renders a link tag (if your module requires any CSS)
  21.              <link rel="stylesheet" href="/build/app.css"> -->
  22.     {% endblock %}
  23.     {% block javascripts %}
  24.         {{ encore_entry_script_tags('web-entry', null, 'web') }}
  25.         <!-- Renders app.js & a webpack runtime.js file
  26.             <script src="/build/runtime.js" defer></script>
  27.             <script src="/build/app.js" defer></script>
  28.             See note below about the "defer" attribute -->
  29.     {% endblock %}
  30.     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  31.     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  32.     <!--[if lt IE 9]>
  33.     <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  34.     <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  35.     <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
  36.     <link type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css">
  37.     <![endif]-->
  38. </head>
  39. <body class="{% block body_class %}{% endblock %}">
  40.     <div id="main-wrapper">
  41.         <div class="container-fluid g-0">
  42.             <nav class="main-navbar navbar navbar-expand-lg bg-white pt-3">
  43.                 <div class="container-fluid">
  44.                     <a href="{{ path('front_index' )}}" class="ms-3 me-auto">
  45.                         <img style="width: 130px;" src="{{ asset('build/web/img/logo-in.png', 'web') }}" alt="">
  46.                     </a>
  47.                 </div>
  48.             </nav>
  49.         </div>
  50.         {% for message in app.flashes('success') %}
  51.             <div class="position-fixed top-0 end-0 p-3" style="z-index: 11">
  52.                 <div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false">
  53.                     <div class="mb-2 d-flex align-items-center text-white bg-success border-0">
  54.                         <div class="toast-body">
  55.                             <div class="d-flex align-items-center">
  56.                                 <strong><i data-feather="info" class="fill-white feather-sm me-2"></i> {{ message }}</strong>
  57.                             </div>
  58.                         </div>
  59.                         <button type="button" class="btn-close btn-close-white ms-auto me-2 close-toast"></button>
  60.                     </div>
  61.                 </div>
  62.             </div>
  63.         {% endfor %}
  64.         {% for message in app.flashes('error') %}
  65.             <div class="position-fixed top-0 end-0 p-3" style="z-index: 11">
  66.                 <div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false">
  67.                     <div class="mb-2 d-flex align-items-center text-white bg-danger border-0">
  68.                         <div class="toast-body">
  69.                             <div class="d-flex align-items-center">
  70.                                 <strong><i data-feather="info" class="fill-white feather-sm me-2"></i> {{ message }}</strong>
  71.                             </div>
  72.                         </div>
  73.                         <button type="button" class="btn-close btn-close-white ms-auto me-2 close-toast"></button>
  74.                     </div>
  75.                 </div>
  76.             </div>
  77.         {% endfor %}
  78.         {% block content %}
  79.         {% endblock content %}
  80.         <!-- footer -->
  81.         <!-- -------------------------------------------------------------- -->
  82.         {{ render(controller(
  83.             'App\\Controller\\Frontend\\PageController::renderFooter'
  84.         )) }}
  85.         <!-- -------------------------------------------------------------- -->
  86.         <!-- End footer -->
  87.         <!-- -------------------------------------------------------------- -->
  88.     </div>
  89. </body>
  90. </html>