templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1,shrink-to-fit=no">
  6.         {% set route = app.request.attributes.get('_route') %}
  7.         <title>
  8.             {% block title %}Accueil
  9.             {% endblock %}
  10.         </title>
  11.         {% block stylesheets %}{% endblock %}
  12.         <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
  13.         {% if app.user and app.user.uiColor %}
  14.             <link rel="stylesheet" href="{{ asset('css/theme/w3-theme-' ~ app.user.uiColor.color ~ '.css') }}">
  15.         {% else %}
  16.             <link rel="stylesheet" href="{{ asset('css/theme/w3-theme-blue.css') }}">
  17.         {% endif %}
  18.         <link rel="stylesheet" href="{{ asset('fontawesome/css/all.css') }}">
  19.         <link rel="stylesheet" href="{{ asset('css/w3.css') }}">
  20.         <link rel="stylesheet" href="{{ asset('css/style.css') }}">
  21.         {% if app.user and app.user.member and app.user.member.documentsMember.medicalCertificateDate %}
  22.             {% set certifNotOk = date(app.user.member.documentsMember.medicalCertificateDate) < date('-3years') %}
  23.         {% else %}
  24.             {% set certifNotOk = true %}
  25.         {% endif %}
  26.     </head>
  27.     <body class="w3-theme-light">
  28.         {% include("partials/header.html.twig") %}
  29.         {% include("partials/navbar.html.twig") %}
  30.         <div class="w3-main" style="margin-left:300px;margin-top:43px;">
  31.             <div style="min-height: 100vh; position:relative;padding-bottom:250px "> {% block body %}{% endblock %}
  32.                 <div style="position:absolute; width:100% ;bottom:0;">
  33.                     {% include("partials/footer.html.twig") %}
  34.                 </div>
  35.             </div>
  36.         </div>
  37.         {% block javascripts %}{% endblock %}
  38.         <script src="{{ asset('js/w3.js') }}"></script>
  39.     </body>
  40. </html>