templates/charte/woody/404.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" content="width=device-width, initial-scale=1.0">
  6.         <!-- titre -->
  7.         <title>En construction</title>
  8.         <!-- description -->
  9.         <meta content="Ce site est en construction" name="description">
  10.         <!-- template headHtml -->
  11.         {{ idSite.charte.headHtml|raw }}
  12.     </head>
  13.     <body>
  14.         {# loading template #}
  15.         {{ idSite.charte.loadingHtml|raw }}
  16.         <!-- Page Header Start -->
  17.         <div class="container-fluid page-404 py-5 mb-5">
  18.             {% if user is not null %}
  19.             <div class="" style="text-align:right; position:absolute; width:100%; padding:0 15px;">
  20.                 <a href="{{ path('secur_login') }}">
  21.                     <button class="btn btn-primary">Login</button>
  22.                 </a>
  23.             </div>
  24.             {% endif %}
  25.             <div class="container py-5">
  26.                 <h1 class="display-3 text-white mb-3 animated slideInDown">
  27.                     {{ idSite.domaine }}
  28.                 </h1>
  29.                 <nav aria-label="breadcrumb animated slideInDown">
  30.                     <ol class="breadcrumb">
  31.                         <li class="breadcrumb-item">
  32.                             <a class="text-white" href="#">
  33.                                 ERREUR 404
  34.                             </a>
  35.                         </li>
  36.                     </ol>
  37.                 </nav>
  38.             </div>
  39.         </div>
  40.         <!-- Page Header End -->
  41.         <!-- Construction Start -->
  42.         <div class="container-xxl py-5 wow fadeInUp" data-wow-delay="0.1s">
  43.             <div class="container text-center">
  44.                 <div class="row justify-content-center">
  45.                     <div class="col-lg-8">
  46.                         <i class="fa fa-circle-question display-1 "></i>
  47.                         <h1 class="display-1">
  48.                             
  49.                         </h1>
  50.                         <h1 class="mb-4">
  51.                             La page que vous recherchez semble introuvable
  52.                         </h1>
  53.                         <p class="mb-4">
  54.                             Nous vous conseillons de revenir sur <a href="{{ path('front_index') }}">la page d'accueil</a>.
  55.                         </p>
  56.                     </div>
  57.                 </div> 
  58.             </div>
  59.         </div>
  60.         <!-- Construction End -->
  61.         <!-- JS -->
  62.         {{ idSite.charte.jsHtml|raw }}
  63.         <script>
  64.             $(function(){
  65.                 $("#contactConstruction").on("submit", function(){
  66.                     // bloque l'envoi du formulaire
  67.                     event.preventDefault();
  68.                     // traitement
  69.                     $.ajax({
  70.                         type: "POST",
  71.                         url: "{{ path('save_emailConstruction') }}",
  72.                         data: {
  73.                             contact: $("#form_emailVisiteur").val(),
  74.                         },
  75.                     })
  76.                     .done(function(msg){
  77.                         if (msg.msg == 1){
  78.                             $("#caseForm").html("Votre email vient d'être envoyé au webmaster.");
  79.                         }
  80.                         console.log("submit mail");
  81.                     });
  82.                 });
  83.             });
  84.         </script>
  85.         {% if user.roles[0] is defined and user.roles[0] == "ROLE_ADMIN" %}
  86.         {% else %}
  87.             <script type="text/javascript">
  88.                 $(function(){
  89.                     $('.sf-toolbar').css("opacity", "0");
  90.                 });
  91.             </script>
  92.         {% endif %}
  93.     </body>
  94. </html>