templates/home/index.html.twig line 1

Open in your IDE?
  1. {% extends 'society_dashboard.html.twig' %}
  2. {% block main %}
  3.   <main class="bg-gray-200 flex flex-col overflow-y-hidden w-full absolute overflow-x-hidden overflow-y-auto right-0 min-h-screen text-white max-w-8xl">
  4.   <div class="text-center">
  5.     <p class="my-0 text-lg text-gray-600">Système de Management  de l’Excellence Opérationnelle</p>
  6.   </div>
  7.     <div class="px-4 py-16 mx-auto sm:max-w-xl md:max-w-full lg:max-w-screen-xl md:px-24 lg:px-8">
  8.  
  9.   <div class="grid max-w-md gap-10 row-gap-8 lg:max-w-screen-lg sm:row-gap-10 lg:grid-cols-3 xl:max-w-screen-lg sm:mx-auto">
  10.     <div class="flex flex-col">
  11.       <div class="relative w-full h-44">
  12.         {# <img src="https://images.pexels.com/photos/3184305/pexels-photo-3184305.jpeg?auto=compress&amp;cs=tinysrgb&amp;dpr=2&amp;h=75s0&amp;w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" />#}
  13.         <img class="w-full h-full -mb-16" src="{{asset('assets/img/restitution.jpg')}}" alt="">
  14.        
  15.       </div>
  16.       <div class="flex flex-col p-8 border border-t-0 rounded-b bg-gray-300">
  17.         <div> 
  18.           <p class="text-sm text-gray-900">
  19.            Recherche par mot, thème, type de document,…
  20.           </p>
  21.         </div>
  22.         <a
  23.           href="{{ path('app_portail_restitution') }}"
  24.           class="bg-white inline-flex items-center justify-center w-full h-12 px-6 font-medium tracking-wide text-black transition duration-200 rounded shadow-md  hover:text-white  hover:bg-blue-500"style="font-weight:bold; font-size: 16px;"
  25.         >
  26.         Accès aux données
  27.  
  28.         </a>
  29.       </div>
  30.     </div>
  31.     <div class="flex flex-col">
  32.       <div class="relative w-full h-44">
  33.         {#<img src="https://images.pexels.com/photos/3183181/pexels-photo-3183181.jpeg?auto=compress&amp;cs=tinysrgb&amp;dpr=2&amp;h=750&amp;w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" /> graphic-design-outsourcing-preview.jpg#}
  34.         <img class="w-full h-full -mb-16" src="{{asset('assets/img/gestion.jpeg')}}" alt="">
  35.       </div>
  36.       <div class="flex flex-col p-8 border border-t-0 rounded-b bg-gray-300">
  37.         <div>
  38.           <p class="text-sm text-gray-900">
  39.             Paramétrage de l’application
  40.           </p>
  41.         </div>
  42.         <a
  43.           href="{{ path('app_portail_administration') }}"
  44.           class="bg-white inline-flex items-center justify-center w-full h-12 px-6 font-medium tracking-wide text-black transition duration-200 rounded shadow-md hover:bg-blue-500 hover:text-white"style="font-weight:bold; font-size: 16px;"
  45.         >
  46.          Administration du Site
  47.         </a>
  48.         
  49.       </div>
  50.     </div>
  51.     <div class="flex flex-col">
  52.       <div class="relative w-full h-44">
  53.         {#<img src="https://images.pexels.com/photos/3182743/pexels-photo-3182743.jpeg?auto=compress&amp;cs=tinysrgb&amp;dpr=2&amp;h=750&amp;w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" />#}
  54.          <img class="w-full h-full -mb-16" src="{{asset('assets/img/graphic-design-outsourcing-preview.jpg')}}" alt="">
  55.       </div>
  56.       <div class="flex flex-col p-8 border border-t-0 rounded-b bg-gray-300">
  57.         <div>
  58.           <p class="text-sm text-gray-900">
  59.             Back office thématique
  60.           </p>
  61.         </div>
  62.         <a
  63.           href="{{ path('app_portail_thematique') }}"
  64.           class="bg-white inline-flex items-center justify-center w-full h-12 px-6 font-medium tracking-wide text-black transition duration-200 rounded shadow-md hover:bg-blue-500  hover:text-white"style="font-weight:bold; font-size: 16px;"
  65.         >
  66.          Accès thématiques
  67.         </a>
  68.       </div>
  69.     </div>
  70.   </div>
  71. </div>
  72.     
  73.   </main>
  74.   {% block javascripts %}
  75.     <script src="https://code.jquery.com/jquery-3.6.1.js" integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI=" crossorigin="anonymous"></script>
  76.     <script> 
  77.       $(document).ready(function(){
  78.         //
  79.         function chargePage(name){
  80.           $.ajax({
  81.           url: name,
  82.           method: 'GET',
  83.           data: {name: name }
  84.           }).done(function (response) {
  85.           $('body').html(response);
  86.         })
  87.         }
  88.         
  89.         $(".prt_page").click(function(){
  90.           let name = '{{ path('app_portail_restitution') }}';
  91.           chargePage(name);
  92.         });
  93.         $(".prt_all").click(function(){
  94.           let name = '{{ path('app_portail_administration') }}';
  95.           chargePage(name);
  96.         });
  97.         $(".prt_task").click(function(){
  98.           let name = '{{ path('app_portail_thematique') }}';
  99.           chargePage(name);
  100.         });
  101.       });
  102.     </script>
  103.   {% endblock %}
  104. {% endblock %}