| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535 |
- <!-- ========== MAIN CONTENT ========== -->
- <!-- Breadcrumb -->
- <div class="sticky top-0 inset-x-0 z-20 bg-white border-y border-gray-200 px-4 sm:px-6 lg:px-8 lg:hidden dark:bg-neutral-800 dark:border-neutral-700">
- <div class="flex items-center py-2">
- <!-- Navigation Toggle -->
- <button type="button" class="size-8 flex justify-center items-center gap-x-2 border border-gray-200 text-gray-800 hover:text-gray-500 rounded-lg focus:outline-hidden focus:text-gray-500 disabled:opacity-50 disabled:pointer-events-none dark:border-neutral-700 dark:text-neutral-200 dark:hover:text-neutral-500 dark:focus:text-neutral-500" aria-haspopup="dialog" aria-expanded="false" aria-controls="hs-application-sidebar" aria-label="Toggle navigation" data-hs-overlay="#hs-application-sidebar">
- <span class="sr-only">Toggle Navigation</span>
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M15 3v18"/><path d="m8 9 3 3-3 3"/></svg>
- </button>
- <!-- End Navigation Toggle -->
- <!-- Breadcrumb -->
- <ol class="ms-3 flex items-center whitespace-nowrap">
- <li class="flex items-center text-sm text-gray-800 dark:text-neutral-400">
- SIPA Automobiles
- <svg class="shrink-0 mx-3 overflow-visible size-2.5 text-gray-400 dark:text-neutral-500" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
- </svg>
- </li>
- <li class="text-sm font-semibold text-gray-800 truncate dark:text-neutral-400" aria-current="page">
- SIPA - Dashboard
- </li>
- </ol>
- <!-- End Breadcrumb -->
- </div>
- </div>
- <!-- End Breadcrumb -->
- <!-- Sidebar -->
- <div id="hs-application-sidebar" class="hs-overlay [--auto-close:lg]
- hs-overlay-open:translate-x-0
- -translate-x-full transition-all duration-300 transform
- w-64 h-full
- hidden
- fixed inset-y-0 start-0 z-60
- bg-white border-e border-gray-200
- lg:block lg:translate-x-0 lg:end-auto lg:bottom-0
- dark:bg-neutral-800 dark:border-neutral-700" role="dialog" tabindex="-1" aria-label="Sidebar">
- <div class="relative flex flex-col h-full max-h-full">
- <div class="px-6 pt-4">
- <!-- Logo SIPA -->
- <a class="flex-none rounded-xl text-xl inline-block font-semibold focus:outline-hidden focus:opacity-80" href="index.php" aria-label="SIPA Automobiles">
- <img src="assets/images/logo-sipa-horizontal-2018-01.png" alt="Logo SIPA Automobiles" class="h-12 w-auto" onerror="this.style.display='none'; this.nextElementSibling.style.display='block';">
- <span class="text-xl font-bold text-gray-800 dark:text-white" style="display:none;">SIPA</span>
- </a>
- <!-- End Logo -->
- </div>
- <!-- Content -->
- <div class="flex-1 overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500">
- <nav class="hs-accordion-group p-3 w-full flex flex-col flex-wrap" data-hs-accordion-always-open>
- <ul class="flex flex-col space-y-1" data-hs-scrollspy="#scrollspy">
- <!-- Accueil / Dashboard -->
- <li>
- <a class="flex flex-col gap-y-1 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200 hs-scrollspy-active:bg-gray-100 dark:hs-scrollspy-active:bg-neutral-700 active" href="#dashboard">
- <div class="flex items-center gap-x-3.5">
- <svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
- <polyline points="9 22 9 12 15 12 15 22"/>
- </svg>
- <span>Accueil</span>
- </div>
- <span class="text-xs text-gray-600 dark:text-neutral-400 ml-9">Dashboard</span>
- </a>
- </li>
- <!-- Mes dashboards (Accordion) -->
- <li class="hs-accordion" id="dashboards-accordion">
- <button type="button" class="hs-accordion-toggle w-full text-start flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" aria-expanded="false" aria-controls="dashboards-accordion-child">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <rect width="18" height="18" x="3" y="3" rx="2" ry="2"/>
- <line x1="3" y1="9" x2="21" y2="9"/>
- <line x1="9" y1="21" x2="9" y2="9"/>
- </svg>
- Mes dashboards
- <svg class="hs-accordion-active:block ms-auto hidden size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="m18 15-6-6-6 6"/>
- </svg>
- <svg class="hs-accordion-active:hidden ms-auto block size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="m6 9 6 6 6-6"/>
- </svg>
- </button>
- <div id="dashboards-accordion-child" class="hs-accordion-content w-full overflow-hidden transition-[height] duration-300 hidden" role="region">
- <ul class="pt-1 space-y-1">
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" href="directeur.php" target="_parent">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
- <circle cx="9" cy="7" r="4"/>
- <path d="M22 21v-2a4 4 0 0 0-3-3.87"/>
- <path d="M16 3.13a4 4 0 0 1 0 7.75"/>
- </svg>
- Dashboard Directeur
- </a>
- </li>
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" href="directeur-actions.php" target="_parent">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <rect width="18" height="18" x="3" y="3" rx="2"/>
- <path d="M9 9h6v6H9z"/>
- </svg>
- Actions Directeur
- </a>
- </li>
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" href="it.php" target="_parent">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <rect width="18" height="18" x="3" y="3" rx="2"/>
- <path d="M12 8v8"/>
- <path d="m8 12 4-4 4 4"/>
- </svg>
- Dashboard IT
- </a>
- </li>
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" href="rh.php" target="_parent">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
- <circle cx="9" cy="7" r="4"/>
- <path d="M22 21v-2a4 4 0 0 0-3-3.87"/>
- <path d="M16 3.13a4 4 0 0 1 0 7.75"/>
- </svg>
- Dashboard RH
- </a>
- </li>
- </ul>
- </div>
- </li>
- <!-- Demandes (Accordion) -->
- <li class="hs-accordion" id="demandes-accordion">
- <button type="button" class="hs-accordion-toggle w-full text-start flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" aria-expanded="false" aria-controls="demandes-accordion-child">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
- <path d="M14 2v6h6"/>
- <path d="M16 13H8"/>
- <path d="M16 17H8"/>
- <path d="M10 9H8"/>
- </svg>
- Demandes
- <svg class="hs-accordion-active:block ms-auto hidden size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="m18 15-6-6-6 6"/>
- </svg>
- <svg class="hs-accordion-active:hidden ms-auto block size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="m6 9 6 6 6-6"/>
- </svg>
- </button>
- <div id="demandes-accordion-child" class="hs-accordion-content w-full overflow-hidden transition-[height] duration-300 hidden" role="region">
- <ul class="pt-1 space-y-1">
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" href="demande-rh.php" target="_parent">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
- <circle cx="9" cy="7" r="4"/>
- <path d="M22 21v-2a4 4 0 0 0-3-3.87"/>
- <path d="M16 3.13a4 4 0 0 1 0 7.75"/>
- </svg>
- Demande RH
- </a>
- </li>
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" href="demande-it.php" target="_parent">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <rect width="18" height="18" x="3" y="3" rx="2"/>
- <path d="M12 8v8"/>
- <path d="m8 12 4-4 4 4"/>
- </svg>
- Demande IT
- </a>
- </li>
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200" href="demande-integration.php" target="_parent">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
- <circle cx="9" cy="7" r="4"/>
- <line x1="19" x2="19" y1="8" y2="14"/>
- <line x1="22" x2="16" y1="11" y2="11"/>
- </svg>
- Demande d'Intégration
- </a>
- </li>
- </ul>
- </div>
- </li>
- <!-- Nouvelle demande -->
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200 hs-scrollspy-active:bg-gray-100 dark:hs-scrollspy-active:bg-neutral-700" href="#nouvelle-demande">
- <svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M5 12h14"/>
- <path d="M12 5v14"/>
- </svg>
- Nouvelle demande
- </a>
- </li>
- <!-- Nouvelle demande d'avenant -->
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200 hs-scrollspy-active:bg-gray-100 dark:hs-scrollspy-active:bg-neutral-700" href="#nouvelle-demande-avenant">
- <svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M4 20h16"/>
- <path d="M6 16l6-6 6 6"/>
- <path d="M12 4v12"/>
- </svg>
- Nouvelle demande d'avenant
- </a>
- </li>
- <!-- Nouveau recrutement -->
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200 hs-scrollspy-active:bg-gray-100 dark:hs-scrollspy-active:bg-neutral-700" href="#nouveau-recrutement">
- <svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
- <circle cx="9" cy="7" r="4"/>
- <path d="M22 21v-2a4 4 0 0 0-3-3.87"/>
- <path d="M16 3.13a4 4 0 0 1 0 7.75"/>
- </svg>
- Nouveau recrutement
- </a>
- </li>
- <!-- Mes demandes -->
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200 hs-scrollspy-active:bg-gray-100 dark:hs-scrollspy-active:bg-neutral-700" href="#mes-demandes">
- <svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
- <path d="M14 2v6h6"/>
- <path d="M16 13H8"/>
- <path d="M16 17H8"/>
- <path d="M10 9H8"/>
- </svg>
- Mes demandes
- </a>
- </li>
- <!-- Demandes archivées -->
- <li>
- <a class="flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 dark:bg-neutral-800 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 dark:text-neutral-200 hs-scrollspy-active:bg-gray-100 dark:hs-scrollspy-active:bg-neutral-700" href="#demandes-archivees">
- <svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <rect width="20" height="5" x="2" y="4" rx="2"/>
- <path d="M4 9v9.5A2.5 2.5 0 0 0 6.5 21h11a2.5 2.5 0 0 0 2.5-2.5V9"/>
- <path d="M4 9h16"/>
- <path d="M10 13h4"/>
- </svg>
- Demandes archivées
- </a>
- </li>
- </ul>
- </nav>
- </div>
- <!-- End Content -->
- <!-- Menu Label -->
- <div class="px-3 py-3 mt-auto border-t border-gray-200 dark:border-neutral-700">
- <button type="button" onclick="toggleMenu(1)" class="w-full text-left">
- <span class="text-xs text-gray-900 dark:text-neutral-200 font-mono font-semibold">menu</span>
- </button>
- <button type="button" onclick="toggleMenu(2)" class="w-full text-left mt-1">
- <span class="text-xs text-gray-400 dark:text-neutral-500 font-mono hover:text-gray-600 dark:hover:text-neutral-400 transition-colors">menu2</span>
- </button>
- </div>
- <!-- End Menu Label -->
- </div>
- </div>
- <!-- End Sidebar -->
- <script>
- function toggleMenu(menuNum) {
- window.location.href = '?menu=' + menuNum;
- }
- </script>
- <!-- Top Header -->
- <header class="fixed top-0 left-0 right-0 lg:left-64 z-50 bg-white border-b border-gray-200 dark:bg-neutral-800 dark:border-neutral-700">
- <div class="flex items-center justify-between w-full px-4 sm:px-6 lg:px-8 py-2">
- <!-- Boutons d'action -->
- <div class="flex items-center gap-2">
- <!-- Nouvelle Demande d'intégration -->
- <a href="demande-integration.php" class="inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 hover:text-gray-900 focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:bg-neutral-800 dark:text-neutral-200 dark:border-neutral-700 dark:hover:bg-neutral-700 dark:focus:ring-neutral-600 transition-colors">
- <svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
- <path d="M14 2v6h6"/>
- <path d="M12 11v6"/>
- <path d="M9 14h6"/>
- </svg>
- Nouvelle Demande d'intégration
- </a>
-
- <!-- Gérer les utilisateurs -->
- <a href="gestion-utilisateurs.php" class="inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 hover:text-gray-900 focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:bg-neutral-800 dark:text-neutral-200 dark:border-neutral-700 dark:hover:bg-neutral-700 dark:focus:ring-neutral-600 transition-colors">
- <svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
- <circle cx="9" cy="7" r="4"/>
- <path d="M22 21v-2a4 4 0 0 0-3-3.87"/>
- <path d="M16 3.13a4 4 0 0 1 0 7.75"/>
- </svg>
- Gérer les utilisateurs
- </a>
-
- <!-- Voir mon dashboard -->
- <a href="#" class="inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 hover:text-gray-900 focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:bg-neutral-800 dark:text-neutral-200 dark:border-neutral-700 dark:hover:bg-neutral-700 dark:focus:ring-neutral-600 transition-colors">
- <svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
- <polyline points="9 22 9 12 15 12 15 22"/>
- </svg>
- Voir mon dashboard
- </a>
- </div>
-
- <!-- Icônes de droite -->
- <div class="flex items-center gap-2">
- <!-- Help Icon -->
- <button type="button" class="relative inline-flex items-center justify-center w-9 h-9 text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:ring-neutral-600" aria-label="Aide">
- <svg class="w-5 h-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <circle cx="12" cy="12" r="10"></circle>
- <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
- <path d="M12 17h.01"></path>
- </svg>
- </button>
- <!-- End Help Icon -->
- <!-- Notifications Dropdown -->
- <div class="hs-dropdown relative inline-flex">
- <button id="hs-notification-dropdown" type="button" class="hs-dropdown-toggle relative inline-flex items-center justify-center w-9 h-9 text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:ring-neutral-600 transition-colors" aria-expanded="false" aria-label="Notifications">
- <svg class="w-5 h-5 transition-transform hover:scale-110" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"></path>
- <path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"></path>
- </svg>
- <!-- Notification Badge -->
- <span class="absolute -top-0.5 -right-0.5 flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white dark:border-neutral-800">
- <span class="relative z-10">2</span>
- </span>
- <!-- End Notification Badge -->
- </button>
- <div id="notification-dropdown-menu" class="fixed transition-all duration-200 opacity-0 invisible min-w-[400px] max-w-[400px] bg-white border border-gray-200 rounded-lg shadow-xl dark:bg-neutral-800 dark:border-neutral-700 z-[60] transform translate-y-2" role="menu" aria-labelledby="hs-notification-dropdown">
- <!-- Header -->
- <div class="flex items-center justify-between px-4 py-3 border-b border-gray-200 dark:border-neutral-700">
- <h3 class="text-sm font-semibold text-gray-800 dark:text-white">Notifications</h3>
- <button type="button" class="inline-flex items-center p-1.5 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-lg transition-colors dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-700" aria-label="Paramètres notifications">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path>
- <circle cx="12" cy="12" r="3"></circle>
- </svg>
- </button>
- </div>
- <!-- End Header -->
- <!-- Notifications List -->
- <div class="max-h-[500px] overflow-y-auto">
- <ul class="divide-y divide-gray-200 dark:divide-neutral-700">
- <!-- Notification Item 1 - Unread -->
- <li class="relative group">
- <div class="flex items-start gap-3 p-4 hover:bg-gray-50 dark:hover:bg-neutral-700/50 bg-blue-50/30 dark:bg-blue-900/10">
- <!-- Avatar -->
- <div class="relative shrink-0">
- <img class="size-10 rounded-full object-cover ring-2 ring-white dark:ring-neutral-800" src="https://images.unsplash.com/photo-1659482634023-2c4fda99ac0c?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=facearea&facepad=3&w=320&h=320&q=80" alt="Avatar">
- <span class="absolute -start-0.5 -top-0.5 size-3 bg-blue-500 border-2 border-white rounded-full dark:border-neutral-800"></span>
- </div>
- <!-- End Avatar -->
- <!-- Content -->
- <div class="flex-1 min-w-0 pr-2">
- <p class="text-xs text-gray-500 dark:text-neutral-400 mb-1.5">
- 2 heures
- </p>
- <p class="text-sm font-semibold text-gray-800 dark:text-white mb-1">
- Eilis Warner
- </p>
- <p class="text-sm text-gray-600 dark:text-neutral-400 leading-relaxed">
- a changé un problème de 'En cours' à 'Révision'
- </p>
- </div>
- <!-- End Content -->
-
- <!-- Checkbox -->
- <div class="shrink-0 pt-1">
- <input type="checkbox" class="shrink-0 size-4 border-gray-300 rounded text-blue-600 focus:ring-2 focus:ring-blue-500 focus:ring-offset-0 dark:bg-neutral-700 dark:border-neutral-600 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-blue-500 cursor-pointer" id="notification-1">
- </div>
- <!-- End Checkbox -->
- </div>
- </li>
- <!-- End Notification Item 1 -->
- <!-- Notification Item 2 -->
- <li class="relative group">
- <div class="flex items-start gap-3 p-4 hover:bg-gray-50 dark:hover:bg-neutral-700/50">
- <!-- Avatar -->
- <div class="relative shrink-0">
- <span class="flex size-10 items-center justify-center rounded-full bg-gray-200 text-gray-700 font-semibold text-sm dark:bg-neutral-700 dark:text-neutral-400">
- C
- </span>
- </div>
- <!-- End Avatar -->
- <!-- Content -->
- <div class="flex-1 min-w-0 pr-2">
- <p class="text-xs text-gray-500 dark:text-neutral-400 mb-1.5">
- 3 jours
- </p>
- <p class="text-sm font-semibold text-gray-800 dark:text-white mb-1">
- Clara Becker
- </p>
- <p class="text-sm text-gray-600 dark:text-neutral-400 leading-relaxed">
- vous a mentionné dans un commentaire
- </p>
- </div>
- <!-- End Content -->
-
- <!-- Checkbox -->
- <div class="shrink-0 pt-1">
- <input type="checkbox" class="shrink-0 size-4 border-gray-300 rounded text-blue-600 focus:ring-2 focus:ring-blue-500 focus:ring-offset-0 dark:bg-neutral-700 dark:border-neutral-600 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-blue-500 cursor-pointer" id="notification-2" checked>
- </div>
- <!-- End Checkbox -->
- </div>
- </li>
- <!-- End Notification Item 2 -->
- <!-- Notification Item 3 -->
- <li class="relative group">
- <div class="flex items-start gap-3 p-4 hover:bg-gray-50 dark:hover:bg-neutral-700/50">
- <!-- Avatar -->
- <div class="relative shrink-0">
- <span class="flex size-10 items-center justify-center rounded-full bg-gray-200 text-gray-700 font-semibold text-sm dark:bg-neutral-700 dark:text-neutral-400">
- P
- </span>
- </div>
- <!-- End Avatar -->
- <!-- Content -->
- <div class="flex-1 min-w-0 pr-2">
- <p class="text-xs text-gray-500 dark:text-neutral-400 mb-1.5">
- 5 Jan 2023
- </p>
- <p class="text-sm font-semibold text-gray-800 dark:text-white mb-1">
- Nouvelle mise à jour Preline
- </p>
- <p class="text-sm text-gray-600 dark:text-neutral-400 leading-relaxed">
- Ajoutez-vous à notre nouvelle page "Emploi". Faites savoir aux visiteurs que vous êtes ouvert au travail en freelance ou à temps plein.
- </p>
- </div>
- <!-- End Content -->
-
- <!-- Checkbox -->
- <div class="shrink-0 pt-1">
- <input type="checkbox" class="shrink-0 size-4 border-gray-300 rounded text-blue-600 focus:ring-2 focus:ring-blue-500 focus:ring-offset-0 dark:bg-neutral-700 dark:border-neutral-600 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-blue-500 cursor-pointer" id="notification-3" checked>
- </div>
- <!-- End Checkbox -->
- </div>
- </li>
- <!-- End Notification Item 3 -->
- </ul>
- </div>
- <!-- End Notifications List -->
- <!-- Footer -->
- <div class="px-4 py-3 border-t border-gray-200 dark:border-neutral-700 bg-gray-50 dark:bg-neutral-900/50">
- <button type="button" class="w-full inline-flex items-center justify-center gap-2 text-sm font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-100 rounded-lg py-2 px-3 transition-colors focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-800 dark:focus:ring-neutral-600">
- <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M18 6 7 17l-5-5"></path>
- <path d="m22 10-7.5 7.5L13 16"></path>
- </svg>
- Tout marquer comme lu
- </button>
- </div>
- <!-- End Footer -->
- </div>
- </div>
- <!-- End Notifications Dropdown -->
- <!-- Activity Icon -->
- <button type="button" class="relative inline-flex items-center justify-center w-9 h-9 text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:ring-neutral-600" aria-label="Activité">
- <svg class="w-5 h-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M22 12h-4l-3 9L9 3l-3 9H2"></path>
- </svg>
- </button>
- <!-- End Activity Icon -->
- <!-- User Profile -->
- <div class="relative ml-2">
- <button type="button" class="flex items-center focus:outline-hidden focus:ring-2 focus:ring-gray-200 rounded-lg dark:focus:ring-neutral-600" aria-label="Menu utilisateur" aria-haspopup="true" aria-expanded="false">
- <img class="w-9 h-9 rounded-full object-cover ring-2 ring-gray-200 dark:ring-neutral-700" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1000&q=80" alt="Photo de profil" onerror="this.src='data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22%3E%3Cpath d=%22M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2%22/%3E%3Ccircle cx=%2212%22 cy=%227%22 r=%224%22/%3E%3C/svg%3E'; this.className='w-9 h-9 rounded-full bg-gray-200 dark:bg-neutral-700 p-1.5'">
- </button>
- </div>
- <!-- End User Profile -->
- </div>
- </div>
- </header>
- <!-- End Top Header -->
- <?php if (!isset($skip_default_content)): ?>
- <!-- Content -->
- <div class="pt-14 lg:pt-20 lg:ps-64">
- <div class="min-h-300 p-4 md:p-8">
- <!-- your content goes here ... -->
- <!-- Content -->
- <div id="scrollspy" class="space-y-10 md:space-y-16">
- <div id="dashboard" class="min-h-100 scroll-mt-24">
- <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Dashboard</h2>
- </div>
- <div id="nouvelle-demande" class="min-h-100 scroll-mt-24">
- <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Nouvelle demande</h2>
- </div>
- <div id="nouvelle-demande-avenant" class="min-h-100 scroll-mt-24">
- <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Nouvelle demande d'avenant</h2>
- </div>
- <div id="nouveau-recrutement" class="min-h-100 scroll-mt-24">
- <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Nouveau recrutement</h2>
- </div>
- <div id="mes-demandes" class="min-h-100 scroll-mt-24">
- <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Mes demandes</h2>
- </div>
- <div id="demandes-archivees" class="min-h-100 scroll-mt-24">
- <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Demandes archivées</h2>
- </div>
- </div>
- <!-- End Content -->
- </div>
- </div>
- <!-- End Content -->
- <?php endif; ?>
- <!-- ========== END MAIN CONTENT ========== -->
|