templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, user-scalable=no">
  6.     <title>ProAgri - {% block title %}{% endblock %}</title>
  7.     {#-------------------------------- Bootstrap ---------------------------------#}
  8. {#    <link rel="stylesheet" href="{{ asset('css/bootstrap/bootstrap.css') }}">#}
  9.     <link rel="stylesheet" href="{{ asset('css/new/bootstrap.min.css') }}">
  10.     {#<link rel="stylesheet" href="{{ asset('plugins/bootstrap/css/bootstrap.min.css') }}">#}
  11.     <link rel="stylesheet" href="{{ asset('css/styles.css') }}">
  12.     <link rel="stylesheet" href="{{ asset('font-awesome/css/all.css') }}">
  13.     <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
  14.     {% block stylesheets %}{% endblock %}
  15. </head>
  16. <body>
  17. <div class="titlePage d-flex justify-content-start" style="padding-left: 9.5%">
  18.     <div class="home pl-1">
  19.         <img src="{{ asset('img/logo_CA.png') }}" class="img-fluid" alt="Gard">
  20.     </div>
  21.     <div class="titre w-50" style="padding-left: 2%">
  22.         <a href="{{ path('home') }}" class="title-h2 h4 font-weight-normal text-center" style="text-decoration: none; color:#999696;">{% block navBar %}{% endblock %}</a>
  23.     </div>
  24.     {% if app.user %}
  25.         <div class="admin d-flex">
  26.             <div class="dropdown">
  27.                 <button class="dropdown-toggle btn" type="button" data-toggle="dropdown" style="color:#999696;padding-top: 15px">
  28.                     <i class="fas fa-users-cog" style="color:#999696"></i>
  29.                     <span class="caret"></span>
  30.                 </button>
  31.                 <ul class="dropdown-menu">
  32.                     <li><a class="dropdown-item" href="{{ path('administration') }}">Administration</a></li>
  33.                     <li><a class="dropdown-item" href="{{ path('app_profil') }}">Modifier le profil</a></li>
  34.                     <li><a class="dropdown-item" href="{{ path('app_logout') }}">Déconnexion</a></li>
  35.                 </ul>
  36.             </div>
  37.         </div>
  38.     {% endif %}
  39. </div>
  40. <div class="main">
  41.     <div class="col-12">
  42.         {% for label, flashes in app.session.flashbag.all %}
  43.             {% for flash in flashes %}
  44.                 <div id="flash" class="section__content">
  45.                     <div class="alert alert-{{ label }} ">
  46.                         {{ flash }}
  47.                         <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  48.                             <span aria-hidden="true">&times;</span>
  49.                         </button>
  50.                     </div>
  51.                 </div>
  52.             {% endfor %}
  53.         {% endfor %}
  54.     </div>
  55.     {% block body %}{% endblock %}
  56. </div>
  57. {#<script src="{{ asset('js/jquery-3.4.1.min.js') }}"></script>#}
  58. {#<script src="{{ asset('js/jquery-ui-1.12.1.min.js') }}"></script>#}
  59. {#<script src="{{ asset('js/bootstrap/popper.js') }}"></script>#}
  60. {#<script src="{{ asset('js/bootstrap/bootstrap.js') }}"></script>#}
  61. <script src="{{ asset('js/new/jquery-3.7.1.min.js') }}"></script>
  62. <script src="{{ asset('js/new/jquery-ui.min.js') }}"></script>
  63. <script src="{{ asset('js/new/popper.min.js') }}"></script>
  64. <script src="{{ asset('js/new/bootstrap.bundle.min.js') }}"></script>
  65. {% block javascripts %}{% endblock %}
  66. {# bandeau de cookies #}
  67. {#<script type="text/javascript" id="cookiebanner" src="{{ asset('js/cookiebanner.min.js') }}" data-position="top" data-fg="#ffffff" data-bg="#C30040" data-link="#03447E" data-moreinfo="http://www.votresite.fr/mentions-legales" data-message="Les cookies assurent le bon fonctionnement de notre site Internet. En utilisant ce dernier, vous acceptez leur utilisation." data-linkmsg="En savoir plus"</script>#}
  68. </body>
  69. </html>