app/Resources/views/firstLayoutLogin.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5.     <meta name="description" content="L'Interface de supervision des Chaudières Industrielles">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     
  8.     {% block boilerBoxCSS %}
  9.         <link rel="icon" type="image/png" href="{{ asset('bundles/lciboilerbox/images/img/favicon.png') }}" />
  10.         <link rel="stylesheet" href="{{ asset('bundles/lciboilerbox/css/style.css') }}" />
  11.     {% endblock boilerBoxCSS %}
  12.     
  13.     
  14.     <script src="{{ asset('bundles/lciboilerbox/js/jquery.js') }}"></script>
  15.     {# Fonctions spécifiques au login #}
  16.     <script src="{{ asset('bundles/lciboilerbox/js/function_login.js') }}"></script>
  17.     <title>{% block title %}BOILERBOX {% endblock title %}</title>
  18. </head>
  19. <body>
  20. {% block mainBandeau %}
  21. {# 
  22.     <a href="https://www.google.com/maps/d/embed?mid=1y0NIi4DoQQCO4sDyfxOMwqQ052U3X2TB" >
  23.         <img src="{{ asset('bundles/lciboilerbox/images/img/nav/localisation.svg') }}" alt="icône localisation des sites">
  24.         <span class="tooltip">Localisation</span>
  25.     </a>
  26. #}
  27.     <section id='popUpError' class='popup cacher'>
  28.         <div class="message-box">
  29.             <div class="close-cross close-cross--light" onClick="clotureMessageErreur();"></div>
  30.             {% if app.session.flashbag.peek('erreur') | length  > 0 %}
  31.                 <h1 class="message-box__title message-box__title--error">Erreur rencontrée</h1>
  32.                 <div class="message-box__content">
  33.                     <img src="{{ asset('bundles/lciboilerbox/images/img/warningError.svg') }}" alt="icône Erreur">
  34.                     <p>
  35.                         {% for message in app.session.flashbag.get('erreur') %}
  36.                             {{ message|raw }}<br /><br />
  37.                         {% endfor %}
  38.                     </p>
  39.                 </div>
  40.             {% endif %}
  41.             {% if  app.session.flashbag.peek('info') | length  > 0 %}
  42.                 <h1 class="message-box__title">Informations</h1>
  43.                 <div class="message-box__content">
  44.                     <img src="{{ asset('bundles/lciboilerbox/images/img/warningInfo.svg') }}" alt="icône Info">
  45.                     <p>
  46.                         {% for message in app.session.flashbag.get('info') %}
  47.                             {{ message|raw }}<br /><br />
  48.                         {% endfor %}
  49.                     </p>
  50.                 </div>
  51.             {% endif %}
  52.             <p class="btn btn--main btn--icon okay" onClick="clotureMessageErreur();">compris</p>
  53.         </div>
  54.     </section>
  55. {% endblock mainBandeau %}
  56. {% block subBandeau %}
  57. {% endblock subBandeau %}
  58. {% block mainBody %}
  59. {% endblock mainBody%}
  60. <script type='text/javascript'>
  61.     $(document).ready(function() 
  62.     {
  63.         if(typeof($('#popUpError .message-box__content p').html()) != 'undefined') 
  64.         {
  65.             $('#popUpError').removeClass('cacher')
  66.         }
  67.     });
  68.     function clotureMessageErreur() {
  69.         $('#popUpError').addClass('cacher');
  70.     }
  71. </script>
  72. {% block javascript %}
  73. {% endblock javascript %}
  74. </body>
  75. </html>