templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport"
  6.           content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8.     <title>{% block title %}Portail NVL{% endblock %}</title>
  9.     {# Run `composer require symfony/webpack-encore-bundle`
  10.            and uncomment the following Encore helpers to start using Symfony UX #}
  11.     {% if app.user and app.user.contexts|length == 1 %}
  12.         <link rel="stylesheet"
  13.               href="{{ asset('assets/css/style-'~app.user.contexts|first.slug~'.css') }}?v={{ commitHash() }}">
  14.     {% else %}
  15.         <link rel="stylesheet" href="{{ asset('assets/css/third-party.css') }}?v={{ commitHash() }}">
  16.         <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}?v={{ commitHash() }}">
  17.     {% endif %}
  18.     {% include 'include/favicons.html.twig' %}
  19.     {% block stylesheets %}
  20.         {# {{ encore_entry_link_tags('app') }} #}
  21.     {% endblock %}
  22. </head>
  23. <body>
  24. {% include 'include/helper-responsive.html.twig' %}
  25. <div id="wrapper">
  26.     {% include 'include/navigation.html.twig' %}
  27.     <div id="content-wrapper" class="d-flex flex-column">
  28.         <div id="content">
  29.             {% include 'include/header.html.twig' with{'bodytitle': block('bodytitle')} %}
  30.             <main class="container-fluid h-100">
  31.                 {% include 'include/flash-messages.html.twig' %}
  32.                 <div class="d-none">
  33.                     <div class="d-sm-flex align-items-center justify-content-between mb-4">
  34.                         <h1 class="h3 mb-0 text-gray-800">{% block bodytitle %}{{ title is defined ? title :'' }}{% endblock %}</h1>
  35.                     </div>
  36.                 </div>
  37.                 {# {% block breadcrumb %} #}
  38.                 {# {% if breadcrumb is defined %} #}
  39.                 {# {% include 'include/breadcrumb.html.twig' %} #}
  40.                 {# {% endif %} #}
  41.                 {# {% endblock %} #}
  42.                 <div class="row">
  43.                     <div class="col">
  44.                         {% block body %}{% endblock %}
  45.                     </div>
  46.                 </div>
  47.                 {% include 'include/ajax_loader.html.twig' %}
  48.             </main>
  49.         </div>
  50.         {% include 'include/footer.html.twig' %}
  51.     </div>
  52. </div>
  53. <script src="{{ asset('assets/js/third-party.min.js') }}?v={{ commitHash() }}"></script>
  54. <script src="{{ asset('assets/js/flatpikr.min.js') }}?v={{ commitHash() }}"></script>
  55. <script src="{{ asset('assets/js/modules/_select2.min.js') }}?v={{ commitHash() }}"></script>
  56. <script src="{{ asset('bundles/oznvlportaldisplayer/js/datepicker.js') }}?v={{ commitHash() }}"></script>
  57. <script src="{{ asset('bundles/oznvlportaldisplayer/js/displayer.js') }}?v={{ commitHash() }}"></script>
  58. <script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}?v={{ commitHash() }}"></script>
  59. <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
  60. <script src="{{ asset('bundles/oznvlportaldisplayer/js/force-filter.js') }}?v={{ commitHash() }}"></script>
  61. <script src="{{ asset('assets/js/main.js') }}?v={{ commitHash() }}"></script>
  62. <script src="{{ asset('assets/js/ticket/modalCreateTicketAjax.js') }}"></script>
  63. {% block javascripts %}
  64.     {# {{ encore_entry_script_tags('app') }} #}
  65. {% endblock %}
  66. </body>
  67. </html>