menu.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <!-- ========== MAIN CONTENT ========== -->
  2. <!-- Breadcrumb -->
  3. <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">
  4. <div class="flex items-center py-2">
  5. <!-- Navigation Toggle -->
  6. <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">
  7. <span class="sr-only">Toggle Navigation</span>
  8. <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>
  9. </button>
  10. <!-- End Navigation Toggle -->
  11. <!-- Breadcrumb -->
  12. <ol class="ms-3 flex items-center whitespace-nowrap">
  13. <li class="flex items-center text-sm text-gray-800 dark:text-neutral-400">
  14. SIPA Automobiles
  15. <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">
  16. <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"/>
  17. </svg>
  18. </li>
  19. <li class="text-sm font-semibold text-gray-800 truncate dark:text-neutral-400" aria-current="page">
  20. SIPA - Dashboard
  21. </li>
  22. </ol>
  23. <!-- End Breadcrumb -->
  24. </div>
  25. </div>
  26. <!-- End Breadcrumb -->
  27. <!-- Sidebar -->
  28. <div id="hs-application-sidebar" class="hs-overlay [--auto-close:lg]
  29. hs-overlay-open:translate-x-0
  30. -translate-x-full transition-all duration-300 transform
  31. w-65 h-full
  32. hidden
  33. fixed inset-y-0 start-0 z-60
  34. bg-white border-e border-gray-200
  35. lg:block lg:translate-x-0 lg:end-auto lg:bottom-0
  36. dark:bg-neutral-800 dark:border-neutral-700" role="dialog" tabindex="-1" aria-label="Sidebar">
  37. <div class="relative flex flex-col h-full max-h-full">
  38. <div class="px-6 pt-4">
  39. <!-- Logo SIPA -->
  40. <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">
  41. <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';">
  42. <span class="text-xl font-bold text-gray-800 dark:text-white" style="display:none;">SIPA</span>
  43. </a>
  44. <!-- End Logo -->
  45. </div>
  46. <!-- Content -->
  47. <div class="h-full 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">
  48. <nav class="hs-accordion-group p-3 w-full flex flex-col flex-wrap" data-hs-accordion-always-open>
  49. <ul class="flex flex-col space-y-1" data-hs-scrollspy="#scrollspy">
  50. <!-- Accueil / Dashboard -->
  51. <li>
  52. <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">
  53. <div class="flex items-center gap-x-3.5">
  54. <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">
  55. <path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
  56. <polyline points="9 22 9 12 15 12 15 22"/>
  57. </svg>
  58. <span>Accueil</span>
  59. </div>
  60. <span class="text-xs text-gray-600 dark:text-neutral-400 ml-9">Dashboard</span>
  61. </a>
  62. </li>
  63. <!-- Nouvelle demande -->
  64. <li>
  65. <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">
  66. <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">
  67. <path d="M5 12h14"/>
  68. <path d="M12 5v14"/>
  69. </svg>
  70. Nouvelle demande
  71. </a>
  72. </li>
  73. <!-- Nouvelle demande d'avenant -->
  74. <li>
  75. <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">
  76. <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">
  77. <path d="M4 20h16"/>
  78. <path d="M6 16l6-6 6 6"/>
  79. <path d="M12 4v12"/>
  80. </svg>
  81. Nouvelle demande d'avenant
  82. </a>
  83. </li>
  84. <!-- Nouveau recrutement -->
  85. <li>
  86. <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">
  87. <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">
  88. <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
  89. <circle cx="9" cy="7" r="4"/>
  90. <path d="M22 21v-2a4 4 0 0 0-3-3.87"/>
  91. <path d="M16 3.13a4 4 0 0 1 0 7.75"/>
  92. </svg>
  93. Nouveau recrutement
  94. </a>
  95. </li>
  96. <!-- Mes demandes -->
  97. <li>
  98. <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">
  99. <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">
  100. <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
  101. <path d="M14 2v6h6"/>
  102. <path d="M16 13H8"/>
  103. <path d="M16 17H8"/>
  104. <path d="M10 9H8"/>
  105. </svg>
  106. Mes demandes
  107. </a>
  108. </li>
  109. <!-- Demandes archivées -->
  110. <li>
  111. <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">
  112. <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">
  113. <rect width="20" height="5" x="2" y="4" rx="2"/>
  114. <path d="M4 9v9.5A2.5 2.5 0 0 0 6.5 21h11a2.5 2.5 0 0 0 2.5-2.5V9"/>
  115. <path d="M4 9h16"/>
  116. <path d="M10 13h4"/>
  117. </svg>
  118. Demandes archivées
  119. </a>
  120. </li>
  121. </ul>
  122. </nav>
  123. </div>
  124. <!-- End Content -->
  125. </div>
  126. </div>
  127. <!-- End Sidebar -->
  128. <!-- Content -->
  129. <div class="lg:ps-65">
  130. <div class="min-h-300 p-4 md:p-8">
  131. <!-- your content goes here ... -->
  132. <!-- Content -->
  133. <div id="scrollspy" class="space-y-10 md:space-y-16">
  134. <div id="dashboard" class="min-h-100 scroll-mt-24">
  135. <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Dashboard</h2>
  136. </div>
  137. <div id="nouvelle-demande" class="min-h-100 scroll-mt-24">
  138. <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Nouvelle demande</h2>
  139. </div>
  140. <div id="nouvelle-demande-avenant" class="min-h-100 scroll-mt-24">
  141. <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Nouvelle demande d'avenant</h2>
  142. </div>
  143. <div id="nouveau-recrutement" class="min-h-100 scroll-mt-24">
  144. <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Nouveau recrutement</h2>
  145. </div>
  146. <div id="mes-demandes" class="min-h-100 scroll-mt-24">
  147. <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Mes demandes</h2>
  148. </div>
  149. <div id="demandes-archivees" class="min-h-100 scroll-mt-24">
  150. <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Demandes archivées</h2>
  151. </div>
  152. </div>
  153. <!-- End Content -->
  154. </div>
  155. </div>
  156. <!-- End Content -->
  157. <!-- ========== END MAIN CONTENT ========== -->