templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. {% block head %}
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  9. <title>{% block title %}SENACS | Bienvenue sur SENACS !{% endblock title %}</title>
  10. {% block stylesheets %}
  11. {{ encore_entry_link_tags('app') }}
  12. <link href="{{ asset('css/print.css') }}" rel="stylesheet" media="print" type="text/css" />
  13. {% endblock stylesheets %}
  14. <link rel="shortcut icon" href="{{ asset('build/logotypes/favicon.ico') }}" />
  15. {% block head_bottom %}
  16. {% endblock head_bottom %}
  17. {% block head_script %}
  18. <script src="https://sentry.symfyp.fr/js-sdk-loader/6bbecf59d2ccad4d57fe5f679ac821e1.min.js" crossorigin="anonymous"></script>
  19. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  20. {{ encore_entry_script_tags('app') }}
  21. {# {{ encore_entry_link_tags('waiting') }}
  22. {{ encore_entry_link_tags('jquery-validation') }}
  23. {{ encore_entry_link_tags('questions') }}#}
  24. {# <script src="{{ asset('bundles/tetranzselect2entity/js/select2entity.js') }}"></script>#}
  25. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  26. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  27. <!--[if lt IE 9]>
  28. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  29. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  30. <![endif]-->
  31. {% endblock head_script %}
  32. </head>
  33. {% endblock head %}
  34. {% block body %}
  35. <body class="{% if app.request.get('_route') == 'homepage' %}home {% endif %} {% if app.request.get('_route') == 'fos_user_security_login' %}backgroundimg {% endif %} {% if app.request.get('_route') == 'fos_user_profile_edit' %}backgroundimg {% endif %} {% if app.request.get('_route') == 'fos_user_change_password' %}backgroundimg {% endif %}{% block body_class %}{% endblock body_class %}">
  36. <header>
  37. {% include 'topnavbar.html.twig' %}
  38. </header>
  39. <main>
  40. <div class="container-fluid">
  41. <div class="row">
  42. <aside>
  43. {% include 'nav.html.twig' %}
  44. </aside>
  45. {% include 'show_modal_charte.html.twig' %}
  46. <div class="main">
  47. {% block content %}
  48. {% block submenu %}{% endblock submenu %}
  49. {% block highlighted %}{% endblock highlighted %}
  50. {% include 'alerts.html.twig' %}
  51. {% block content_content %}
  52. {% block headline %}{% endblock headline %}
  53. {% block description %}{% endblock description %}
  54. {% endblock content_content %}
  55. {% endblock content %}
  56. </div>
  57. </div>
  58. </div>
  59. </main>
  60. <footer>
  61. <div class="spacefooter">
  62. <div class="container">
  63. <p>Contact par mail :&nbsp; <a href="mailto:animation.senacs@gmail.com"><span class="fa-solid fa-envelope" aria-hidden="true"></span> Coordination</a>&nbsp; -&nbsp; Copyright © {{ 'now' | date('Y') }} &nbsp;-&nbsp; </p>
  64. </div>
  65. </div>
  66. </footer>
  67. <!-- Bootstrap core JavaScript
  68. ================================================== -->
  69. {% block foot_script %}
  70. {% if app.user and app.user.valideChartAt is null and not is_granted('ROLE_PREVIOUS_ADMIN') %}
  71. <script type="text/javascript">
  72. $('#ModalCharte').modal('show');
  73. </script>
  74. {% endif %}
  75. {% endblock foot_script %}
  76. {% block piwik %}
  77. {% if app_env == 'prod' %}
  78. <!-- Matomo -->
  79. <script>
  80. var _paq = window._paq = window._paq || [];
  81. _paq.push(['trackPageView']);
  82. _paq.push(['enableLinkTracking']);
  83. (function() {
  84. var u="//stats.symfyp.fr/";
  85. _paq.push(['setTrackerUrl', u+'matomo.php']);
  86. _paq.push(['setSiteId', '2']);
  87. var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  88. g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  89. })();
  90. </script>
  91. <!-- End Matomo Code -->
  92. {% endif %}
  93. <!-- End Piwik Code -->
  94. {% endblock piwik %}
  95. </body>
  96. {% endblock body %}
  97. </html>