{% extends 'society_dashboard.html.twig' %}{% block main %} <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"> <div class="text-center"> <p class="my-0 text-lg text-gray-600">Système de Management de l’Excellence Opérationnelle</p> </div> <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"> <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"> <div class="flex flex-col"> <div class="relative w-full h-44"> {# <img src="https://images.pexels.com/photos/3184305/pexels-photo-3184305.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=75s0&w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" />#} <img class="w-full h-full -mb-16" src="{{asset('assets/img/restitution.jpg')}}" alt=""> </div> <div class="flex flex-col p-8 border border-t-0 rounded-b bg-gray-300"> <div> <p class="text-sm text-gray-900"> Recherche par mot, thème, type de document,… </p> </div> <a href="{{ path('app_portail_restitution') }}" 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;" > Accès aux données </a> </div> </div> <div class="flex flex-col"> <div class="relative w-full h-44"> {#<img src="https://images.pexels.com/photos/3183181/pexels-photo-3183181.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" /> graphic-design-outsourcing-preview.jpg#} <img class="w-full h-full -mb-16" src="{{asset('assets/img/gestion.jpeg')}}" alt=""> </div> <div class="flex flex-col p-8 border border-t-0 rounded-b bg-gray-300"> <div> <p class="text-sm text-gray-900"> Paramétrage de l’application </p> </div> <a href="{{ path('app_portail_administration') }}" 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;" > Administration du Site </a> </div> </div> <div class="flex flex-col"> <div class="relative w-full h-44"> {#<img src="https://images.pexels.com/photos/3182743/pexels-photo-3182743.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" />#} <img class="w-full h-full -mb-16" src="{{asset('assets/img/graphic-design-outsourcing-preview.jpg')}}" alt=""> </div> <div class="flex flex-col p-8 border border-t-0 rounded-b bg-gray-300"> <div> <p class="text-sm text-gray-900"> Back office thématique </p> </div> <a href="{{ path('app_portail_thematique') }}" 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;" > Accès thématiques </a> </div> </div> </div></div> </main> {% block javascripts %} <script src="https://code.jquery.com/jquery-3.6.1.js" integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI=" crossorigin="anonymous"></script> <script> $(document).ready(function(){ // function chargePage(name){ $.ajax({ url: name, method: 'GET', data: {name: name } }).done(function (response) { $('body').html(response); }) } $(".prt_page").click(function(){ let name = '{{ path('app_portail_restitution') }}'; chargePage(name); }); $(".prt_all").click(function(){ let name = '{{ path('app_portail_administration') }}'; chargePage(name); }); $(".prt_task").click(function(){ let name = '{{ path('app_portail_thematique') }}'; chargePage(name); }); }); </script> {% endblock %}{% endblock %}