demande-rh.php 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
  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. <title>Demande RH - SIPA Automobiles</title>
  7. <!-- Tailwind CSS CDN -->
  8. <script src="https://cdn.tailwindcss.com"></script>
  9. <style>
  10. /* Style pour les onglets actifs Preline */
  11. button[role="tab"].active,
  12. button[role="tab"][aria-selected="true"] {
  13. background-color: white !important;
  14. color: #21B6BA !important; /* Couleur turquoise */
  15. border-bottom: 3px solid #21B6BA !important;
  16. box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  17. font-weight: 600 !important;
  18. }
  19. @media (prefers-color-scheme: dark) {
  20. button[role="tab"].active,
  21. button[role="tab"][aria-selected="true"] {
  22. background-color: rgb(38, 38, 38) !important; /* dark:bg-neutral-800 */
  23. color: #21B6BA !important; /* Couleur turquoise */
  24. border-bottom: 3px solid #21B6BA !important;
  25. }
  26. }
  27. </style>
  28. </head>
  29. <body class="bg-gray-50 dark:bg-neutral-900">
  30. <?php
  31. $skip_default_content = true;
  32. include 'menu.php';
  33. ?>
  34. <!-- Content -->
  35. <div class="pt-12 lg:pt-16 lg:ps-64">
  36. <div class="min-h-screen p-4 md:p-8">
  37. <!-- Card: Synthèse de la demande -->
  38. <div class="mb-6 bg-white border border-gray-200 rounded-xl shadow-sm dark:bg-neutral-800 dark:border-neutral-700">
  39. <div class="p-6 mx-6">
  40. <!-- Title and Statut Header -->
  41. <div class="flex justify-between items-center gap-3 mb-6 pb-4 border-b border-gray-200 dark:border-neutral-700">
  42. <!-- Title -->
  43. <h2 class="text-lg font-semibold text-[#21B6BA] dark:text-[#21B6BA]">Vue focus de la demande</h2>
  44. <!-- Dropdown Statut -->
  45. <div class="relative">
  46. <select id="statut" name="statut" class="py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-orange-500 text-white hover:bg-orange-600 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 dark:focus:ring-offset-gray-800 appearance-none pr-8 cursor-pointer">
  47. <option value="">Statut</option>
  48. <option value="en-attente">En attente</option>
  49. <option value="en-cours">En cours</option>
  50. <option value="traitee">Traitée</option>
  51. <option value="annulee">Annulée</option>
  52. </select>
  53. <svg class="absolute right-2 top-1/2 -translate-y-1/2 size-3 text-white pointer-events-none" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
  54. <path d="M2 5L8.16086 10.6869C8.35239 10.8637 8.64761 10.8637 8.83914 10.6869L15 5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
  55. </svg>
  56. </div>
  57. <!-- End Dropdown Statut -->
  58. </div>
  59. <!-- End Title and Statut Header -->
  60. <!-- Tabs Navigation -->
  61. <nav class="flex flex-wrap gap-x-1 mb-4 bg-gray-50 dark:bg-neutral-700/50 p-1 rounded-lg" aria-label="Tabs" role="tablist">
  62. <button type="button" class="hs-tab-active:bg-white hs-tab-active:text-[#21B6BA] hs-tab-active:shadow-md hs-tab-active:border-b-2 hs-tab-active:border-[#21B6BA] dark:hs-tab-active:bg-neutral-800 dark:hs-tab-active:text-[#21B6BA] py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium text-center text-gray-500 rounded-md hover:text-gray-700 hover:bg-gray-100 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-600 transition-all duration-200 active" id="tab-synthese-rh-main" data-hs-tab="#tab-content-synthese-rh-main" aria-controls="tab-content-synthese-rh-main" role="tab">
  63. <svg class="size-4" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  64. <path stroke-linecap="round" stroke-linejoin="round" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
  65. </svg>
  66. Synthèse RH
  67. </button>
  68. <button type="button" class="hs-tab-active:bg-white hs-tab-active:text-[#21B6BA] hs-tab-active:shadow-md hs-tab-active:border-b-2 hs-tab-active:border-[#21B6BA] dark:hs-tab-active:bg-neutral-800 dark:hs-tab-active:text-[#21B6BA] py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium text-center text-gray-500 rounded-md hover:text-gray-700 hover:bg-gray-100 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-600 transition-all duration-200" id="tab-info-personnel-main" data-hs-tab="#tab-content-info-personnel-main" aria-controls="tab-content-info-personnel-main" role="tab">
  69. <svg class="size-4" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  70. <path stroke-linecap="round" stroke-linejoin="round" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
  71. </svg>
  72. Informations
  73. </button>
  74. <button type="button" class="hs-tab-active:bg-white hs-tab-active:text-[#21B6BA] hs-tab-active:shadow-md hs-tab-active:border-b-2 hs-tab-active:border-[#21B6BA] dark:hs-tab-active:bg-neutral-800 dark:hs-tab-active:text-[#21B6BA] py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium text-center text-gray-500 rounded-md hover:text-gray-700 hover:bg-gray-100 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-600 transition-all duration-200" id="tab-contrat-main" data-hs-tab="#tab-content-contrat-main" aria-controls="tab-content-contrat-main" role="tab">
  75. <svg class="size-4" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  76. <path stroke-linecap="round" stroke-linejoin="round" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
  77. </svg>
  78. Contrat
  79. </button>
  80. <button type="button" class="hs-tab-active:bg-white hs-tab-active:text-[#21B6BA] hs-tab-active:shadow-md hs-tab-active:border-b-2 hs-tab-active:border-[#21B6BA] dark:hs-tab-active:bg-neutral-800 dark:hs-tab-active:text-[#21B6BA] py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium text-center text-gray-500 rounded-md hover:text-gray-700 hover:bg-gray-100 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-600 transition-all duration-200" id="tab-remuneration-main" data-hs-tab="#tab-content-remuneration-main" aria-controls="tab-content-remuneration-main" role="tab">
  81. <svg class="size-4" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  82. <path stroke-linecap="round" stroke-linejoin="round" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
  83. </svg>
  84. Rémunération
  85. </button>
  86. <button type="button" class="hs-tab-active:bg-white hs-tab-active:text-[#21B6BA] hs-tab-active:shadow-md hs-tab-active:border-b-2 hs-tab-active:border-[#21B6BA] dark:hs-tab-active:bg-neutral-800 dark:hs-tab-active:text-[#21B6BA] py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium text-center text-gray-500 rounded-md hover:text-gray-700 hover:bg-gray-100 dark:text-neutral-400 dark:hover:text-neutral-300 dark:hover:bg-neutral-600 transition-all duration-200" id="tab-informatique-main" data-hs-tab="#tab-content-informatique-main" aria-controls="tab-content-informatique-main" role="tab">
  87. <svg class="size-4" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  88. <path stroke-linecap="round" stroke-linejoin="round" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
  89. </svg>
  90. Informatique
  91. </button>
  92. </nav>
  93. <!-- Tabs Content -->
  94. <div class="mt-3 mx-6">
  95. <!-- Tab 1: Synthèse RH -->
  96. <div id="tab-content-synthese-rh-main" role="tabpanel" aria-labelledby="tab-synthese-rh-main">
  97. <div class="space-y-3">
  98. <!-- Grid 2 colonnes : Identité & Contact et Demande -->
  99. <div class="grid grid-cols-2 gap-3">
  100. <!-- Bloc 1: Identité & Contact -->
  101. <div class="p-6 pt-10 bg-gradient-to-r from-blue-50 to-cyan-50 dark:from-blue-900/20 dark:to-cyan-900/20 rounded-lg border border-blue-100 dark:border-blue-800">
  102. <div class="flex items-center gap-2 mb-5">
  103. <svg class="size-4 text-blue-600 dark:text-blue-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  104. <path stroke-linecap="round" stroke-linejoin="round" d="M10 6H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2h-5m-4 0V5a2 2 0 114 0v1m-4 0a2 2 0 104 0m-5 8a2 2 0 100-4 2 2 0 000 4zm0 0c1.306 0 2.417.835 2.83 2M9 14a3.001 3.001 0 00-2.83 2M15 11h3m-3 4h2" />
  105. </svg>
  106. <p class="text-xs font-semibold text-blue-900 dark:text-blue-200 uppercase">Identité & Contact</p>
  107. </div>
  108. <div class="space-y-1.5">
  109. <div class="flex justify-between">
  110. <span class="text-xs text-blue-600 dark:text-blue-400">Prénom:</span>
  111. <span class="text-sm font-semibold text-gray-900 dark:text-white">Cyril</span>
  112. </div>
  113. <div class="flex justify-between">
  114. <span class="text-xs text-blue-600 dark:text-blue-400">Nom:</span>
  115. <span class="text-sm font-semibold text-gray-900 dark:text-white">PHILIPPE</span>
  116. </div>
  117. <div class="flex justify-between">
  118. <span class="text-xs text-blue-600 dark:text-blue-400">Date de naissance:</span>
  119. <span class="text-sm font-semibold text-gray-900 dark:text-white">15/05/1985</span>
  120. </div>
  121. <div class="flex justify-between">
  122. <span class="text-xs text-blue-600 dark:text-blue-400">Téléphone:</span>
  123. <span class="text-sm font-semibold text-gray-900 dark:text-white">06 12 34 56 78</span>
  124. </div>
  125. <div class="flex justify-between">
  126. <span class="text-xs text-blue-600 dark:text-blue-400">Email:</span>
  127. <span class="text-sm font-semibold text-gray-900 dark:text-white">cyril.philippe@sipa.fr</span>
  128. </div>
  129. </div>
  130. </div>
  131. <!-- Bloc 2: Demande -->
  132. <div class="p-6 pt-10 bg-gradient-to-r from-purple-50 to-pink-50 dark:from-purple-900/20 dark:to-pink-900/20 rounded-lg border border-purple-100 dark:border-purple-800">
  133. <div class="flex items-center gap-2 mb-5">
  134. <svg class="size-4 text-purple-600 dark:text-purple-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  135. <path stroke-linecap="round" stroke-linejoin="round" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
  136. </svg>
  137. <p class="text-xs font-semibold text-purple-900 dark:text-purple-200 uppercase">Demande</p>
  138. </div>
  139. <div class="space-y-1.5">
  140. <div class="flex justify-between">
  141. <span class="text-xs text-purple-600 dark:text-purple-400">Site:</span>
  142. <span class="text-sm font-semibold text-gray-900 dark:text-white">AUTO 33</span>
  143. </div>
  144. <div class="flex justify-between">
  145. <span class="text-xs text-purple-600 dark:text-purple-400">Demandeur:</span>
  146. <span class="text-sm font-semibold text-gray-900 dark:text-white">ccperchery</span>
  147. </div>
  148. <div class="flex justify-between">
  149. <span class="text-xs text-purple-600 dark:text-purple-400">Date de la demande:</span>
  150. <span class="text-sm font-semibold text-gray-900 dark:text-white">2025-09-26</span>
  151. </div>
  152. <div class="flex justify-between">
  153. <span class="text-xs text-purple-600 dark:text-purple-400">Date d'entrée:</span>
  154. <span class="text-sm font-semibold text-gray-900 dark:text-white">2025-11-03</span>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. <!-- Grid 2 colonnes : Recrutement et Commentaire -->
  160. <div class="grid grid-cols-2 gap-3">
  161. <!-- Bloc 3: Recrutement -->
  162. <div class="p-6 pt-10 bg-gradient-to-r from-green-50 to-emerald-50 dark:from-green-900/20 dark:to-emerald-900/20 rounded-lg border border-green-100 dark:border-green-800">
  163. <div class="flex items-center gap-2 mb-5">
  164. <svg class="size-4 text-green-600 dark:text-green-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  165. <path stroke-linecap="round" stroke-linejoin="round" d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
  166. </svg>
  167. <p class="text-xs font-semibold text-green-900 dark:text-green-200 uppercase">Recrutement</p>
  168. </div>
  169. <div class="space-y-1.5">
  170. <div class="flex justify-between">
  171. <span class="text-xs text-green-600 dark:text-green-400">Nom:</span>
  172. <span class="text-sm font-semibold text-gray-900 dark:text-white">Cyril PHILIPPE</span>
  173. </div>
  174. <div class="flex justify-between">
  175. <span class="text-xs text-green-600 dark:text-green-400">Poste:</span>
  176. <span class="text-sm font-semibold text-gray-900 dark:text-white">Agent de maîtrise ateller</span>
  177. </div>
  178. <div class="flex justify-between">
  179. <span class="text-xs text-green-600 dark:text-green-400">Date d'entrée:</span>
  180. <span class="text-sm font-semibold text-gray-900 dark:text-white">2025-11-03</span>
  181. </div>
  182. <div class="flex justify-between">
  183. <span class="text-xs text-green-600 dark:text-green-400">Type de contrat:</span>
  184. <span class="inline-flex px-2.5 py-1 bg-green-600 text-white text-xs font-bold rounded">CDI</span>
  185. </div>
  186. <div class="flex justify-between">
  187. <span class="text-xs text-green-600 dark:text-green-400">Lettre d'engagement:</span>
  188. <span class="inline-flex items-center gap-1 text-xs font-semibold text-green-600 dark:text-green-400">
  189. <svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  190. <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
  191. </svg>
  192. Oui
  193. </span>
  194. </div>
  195. </div>
  196. </div>
  197. <!-- Bloc 4: Infos complémentaires -->
  198. <div class="p-6 pt-10 bg-gradient-to-r from-amber-50 to-orange-50 dark:from-amber-900/20 dark:to-orange-900/20 rounded-lg border border-amber-100 dark:border-amber-800">
  199. <div class="flex items-center gap-2 mb-5">
  200. <svg class="size-4 text-amber-600 dark:text-amber-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  201. <path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
  202. </svg>
  203. <p class="text-xs font-semibold text-amber-900 dark:text-amber-200 uppercase">Infos complémentaires</p>
  204. </div>
  205. <div class="space-y-3">
  206. <div>
  207. <span class="text-xs text-amber-600 dark:text-amber-400 font-medium mb-2 block">Commentaire:</span>
  208. <div class="mt-2 p-3 bg-white dark:bg-neutral-700 rounded-lg border border-amber-200 dark:border-amber-700">
  209. <p class="text-sm text-gray-900 dark:text-white leading-relaxed">Ceci est un commentaire pré-rempli pour la demande de recrutement.</p>
  210. </div>
  211. </div>
  212. <div>
  213. <span class="text-xs text-amber-600 dark:text-amber-400">Note:</span>
  214. <p class="text-sm font-semibold text-gray-900 dark:text-white mt-0.5">Note importante à prendre en compte</p>
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. </div>
  220. </div>
  221. <!-- Tab 3: Informations Personnel -->
  222. <div id="tab-content-info-personnel-main" class="hidden" role="tabpanel" aria-labelledby="tab-info-personnel-main">
  223. <div class="space-y-3">
  224. <!-- Identité - Grid 2 colonnes -->
  225. <div class="grid grid-cols-2 gap-3">
  226. <!-- Card 1: Identité -->
  227. <div class="p-6 pt-10 bg-gradient-to-r from-blue-50 to-cyan-50 dark:from-blue-900/20 dark:to-cyan-900/20 rounded-lg border border-blue-100 dark:border-blue-800">
  228. <div class="flex items-center gap-2 mb-5">
  229. <svg class="size-4 text-blue-600 dark:text-blue-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  230. <path stroke-linecap="round" stroke-linejoin="round" d="M10 6H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2h-5m-4 0V5a2 2 0 114 0v1m-4 0a2 2 0 104 0m-5 8a2 2 0 100-4 2 2 0 000 4zm0 0c1.306 0 2.417.835 2.83 2M9 14a3.001 3.001 0 00-2.83 2M15 11h3m-3 4h2" />
  231. </svg>
  232. <p class="text-xs font-semibold text-blue-900 dark:text-blue-200 uppercase">Identité</p>
  233. </div>
  234. <div class="space-y-1.5">
  235. <div class="flex justify-between">
  236. <span class="text-xs text-blue-600 dark:text-blue-400">Prénom:</span>
  237. <span class="text-sm font-semibold text-gray-900 dark:text-white">Cyril</span>
  238. </div>
  239. <div class="flex justify-between">
  240. <span class="text-xs text-blue-600 dark:text-blue-400">Nom:</span>
  241. <span class="text-sm font-semibold text-gray-900 dark:text-white">PHILIPPE</span>
  242. </div>
  243. <div class="flex justify-between">
  244. <span class="text-xs text-blue-600 dark:text-blue-400">Date de naissance:</span>
  245. <span class="text-sm font-semibold text-gray-900 dark:text-white">15/05/1985</span>
  246. </div>
  247. </div>
  248. </div>
  249. <!-- Card 2: Contact -->
  250. <div class="p-3 pt-10 bg-gradient-to-r from-teal-50 to-cyan-50 dark:from-teal-900/20 dark:to-cyan-900/20 rounded-lg border border-teal-100 dark:border-teal-800">
  251. <div class="flex items-center gap-2 mb-5">
  252. <svg class="size-4 text-teal-600 dark:text-teal-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  253. <path stroke-linecap="round" stroke-linejoin="round" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
  254. </svg>
  255. <p class="text-xs font-semibold text-teal-900 dark:text-teal-200 uppercase">Contact</p>
  256. </div>
  257. <div class="space-y-1.5">
  258. <div class="flex justify-between">
  259. <span class="text-xs text-teal-600 dark:text-teal-400">Email:</span>
  260. <span class="text-sm font-semibold text-gray-900 dark:text-white">cyril.philippe@sipa.fr</span>
  261. </div>
  262. <div class="flex justify-between">
  263. <span class="text-xs text-teal-600 dark:text-teal-400">Téléphone:</span>
  264. <span class="text-sm font-semibold text-gray-900 dark:text-white">06 12 34 56 78</span>
  265. </div>
  266. <div class="flex justify-between">
  267. <span class="text-xs text-teal-600 dark:text-teal-400">Adresse:</span>
  268. <span class="text-sm font-semibold text-gray-900 dark:text-white">33000 Bordeaux</span>
  269. </div>
  270. </div>
  271. </div>
  272. </div>
  273. <!-- Poste & Service - Grid 2 colonnes -->
  274. <div class="grid grid-cols-2 gap-3">
  275. <!-- Card 1: Poste & Fonction -->
  276. <div class="p-3 pt-10 bg-gradient-to-r from-purple-50 to-pink-50 dark:from-purple-900/20 dark:to-pink-900/20 rounded-lg border border-purple-100 dark:border-purple-800">
  277. <div class="flex items-center gap-2 mb-5">
  278. <svg class="size-4 text-purple-600 dark:text-purple-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  279. <path stroke-linecap="round" stroke-linejoin="round" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4" />
  280. </svg>
  281. <p class="text-xs font-semibold text-purple-900 dark:text-purple-200 uppercase">Poste</p>
  282. </div>
  283. <div class="space-y-1.5">
  284. <div class="flex justify-between">
  285. <span class="text-xs text-purple-600 dark:text-purple-400">Intitulé</span>
  286. <span class="text-sm font-semibold text-gray-900 dark:text-white">Agent de maîtrise</span>
  287. </div>
  288. <div class="flex justify-between">
  289. <span class="text-xs text-purple-600 dark:text-purple-400">Service</span>
  290. <span class="text-sm font-semibold text-gray-900 dark:text-white">Atelier</span>
  291. </div>
  292. <div class="flex justify-between">
  293. <span class="text-xs text-purple-600 dark:text-purple-400">Manager</span>
  294. <span class="text-sm font-semibold text-gray-900 dark:text-white">Jean DUPONT</span>
  295. </div>
  296. </div>
  297. </div>
  298. <!-- Card 2: Lieu & Horaires -->
  299. <div class="p-3 pt-10 bg-gradient-to-r from-rose-50 to-red-50 dark:from-rose-900/20 dark:to-red-900/20 rounded-lg border border-rose-100 dark:border-rose-800">
  300. <div class="flex items-center gap-2 mb-5">
  301. <svg class="size-4 text-rose-600 dark:text-rose-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  302. <path stroke-linecap="round" stroke-linejoin="round" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" />
  303. <path stroke-linecap="round" stroke-linejoin="round" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
  304. </svg>
  305. <p class="text-xs font-semibold text-rose-900 dark:text-rose-200 uppercase">Lieu & Horaires</p>
  306. </div>
  307. <div class="space-y-1.5">
  308. <div class="flex justify-between">
  309. <span class="text-xs text-rose-600 dark:text-rose-400">Site</span>
  310. <span class="text-sm font-semibold text-gray-900 dark:text-white">Bordeaux</span>
  311. </div>
  312. <div class="flex justify-between">
  313. <span class="text-xs text-rose-600 dark:text-rose-400">Horaires</span>
  314. <span class="text-sm font-semibold text-gray-900 dark:text-white">09h-18h</span>
  315. </div>
  316. <div class="flex justify-between">
  317. <span class="text-xs text-rose-600 dark:text-rose-400">Télétravail</span>
  318. <span class="text-sm font-semibold text-gray-900 dark:text-white">1j/sem</span>
  319. </div>
  320. </div>
  321. </div>
  322. </div>
  323. <!-- Documents -->
  324. <div class="p-3 pt-10 bg-gradient-to-r from-amber-50 to-orange-50 dark:from-amber-900/20 dark:to-orange-900/20 rounded-lg border border-amber-100 dark:border-amber-800">
  325. <div class="flex items-center gap-2 mb-5">
  326. <svg class="size-4 text-amber-600 dark:text-amber-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  327. <path stroke-linecap="round" stroke-linejoin="round" d="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z" />
  328. </svg>
  329. <p class="text-xs font-semibold text-amber-900 dark:text-amber-200 uppercase">Documents joints</p>
  330. </div>
  331. <div class="flex flex-wrap gap-2">
  332. <a href="#" class="inline-flex items-center gap-1 px-2 py-1 bg-white dark:bg-neutral-700 rounded text-xs font-medium text-amber-700 dark:text-amber-300 hover:bg-amber-100 dark:hover:bg-neutral-600">
  333. <svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  334. <path stroke-linecap="round" stroke-linejoin="round" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
  335. </svg>
  336. CV.pdf
  337. </a>
  338. <a href="#" class="inline-flex items-center gap-1 px-2 py-1 bg-white dark:bg-neutral-700 rounded text-xs font-medium text-amber-700 dark:text-amber-300 hover:bg-amber-100 dark:hover:bg-neutral-600">
  339. <svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  340. <path stroke-linecap="round" stroke-linejoin="round" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
  341. </svg>
  342. Pièce d'identité
  343. </a>
  344. <a href="#" class="inline-flex items-center gap-1 px-2 py-1 bg-white dark:bg-neutral-700 rounded text-xs font-medium text-amber-700 dark:text-amber-300 hover:bg-amber-100 dark:hover:bg-neutral-600">
  345. <svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  346. <path stroke-linecap="round" stroke-linejoin="round" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
  347. </svg>
  348. Autres
  349. </a>
  350. </div>
  351. </div>
  352. </div>
  353. </div>
  354. <!-- Tab 3: Contrat -->
  355. <div id="tab-content-contrat-main" class="hidden" role="tabpanel" aria-labelledby="tab-contrat-main">
  356. <div class="space-y-3">
  357. <!-- Grid 2 colonnes : Type de contrat et Durée -->
  358. <div class="grid grid-cols-2 gap-3">
  359. <!-- Type de contrat -->
  360. <div class="p-3 pt-10 bg-gradient-to-r from-green-50 to-emerald-50 dark:from-green-900/20 dark:to-emerald-900/20 rounded-lg border border-green-100 dark:border-green-800">
  361. <div class="flex items-center gap-2 mb-5">
  362. <svg class="size-4 text-green-600 dark:text-green-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  363. <path stroke-linecap="round" stroke-linejoin="round" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
  364. </svg>
  365. <p class="text-xs font-semibold text-green-900 dark:text-green-200 uppercase">Type de contrat</p>
  366. </div>
  367. <div class="space-y-1.5">
  368. <div>
  369. <p class="text-xs text-green-600 dark:text-green-400 mb-0.5">Contrat</p>
  370. <span class="inline-flex px-2.5 py-1 bg-green-600 text-white text-sm font-bold rounded">CDI</span>
  371. </div>
  372. <div>
  373. <p class="text-xs text-green-600 dark:text-green-400 mb-0.5">Période d'essai</p>
  374. <p class="text-sm font-semibold text-gray-900 dark:text-white">3 mois</p>
  375. </div>
  376. <div>
  377. <p class="text-xs text-green-600 dark:text-green-400 mb-0.5">Temps de travail</p>
  378. <p class="text-sm font-semibold text-gray-900 dark:text-white">Temps plein</p>
  379. </div>
  380. </div>
  381. </div>
  382. <!-- Durée -->
  383. <div class="p-3 pt-10 bg-gradient-to-r from-lime-50 to-green-50 dark:from-lime-900/20 dark:to-green-900/20 rounded-lg border border-lime-100 dark:border-lime-800">
  384. <div class="flex items-center gap-2 mb-5">
  385. <svg class="size-4 text-lime-600 dark:text-lime-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  386. <path stroke-linecap="round" stroke-linejoin="round" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
  387. </svg>
  388. <p class="text-xs font-semibold text-lime-900 dark:text-lime-200 uppercase">Durée</p>
  389. </div>
  390. <div class="space-y-1.5">
  391. <div>
  392. <p class="text-xs text-lime-600 dark:text-lime-400 mb-0.5">Date d'entrée</p>
  393. <p class="text-sm font-semibold text-gray-900 dark:text-white">03/11/2025</p>
  394. </div>
  395. <div>
  396. <p class="text-xs text-lime-600 dark:text-lime-400 mb-0.5">Début contrat</p>
  397. <p class="text-sm font-semibold text-gray-900 dark:text-white">03/11/2025</p>
  398. </div>
  399. <div>
  400. <p class="text-xs text-lime-600 dark:text-lime-400 mb-0.5">Fin contrat</p>
  401. <p class="text-sm font-semibold text-gray-900 dark:text-white">Indéterminée</p>
  402. </div>
  403. </div>
  404. </div>
  405. </div>
  406. </div>
  407. </div>
  408. <!-- Tab 4: Rémunération -->
  409. <div id="tab-content-remuneration-main" class="hidden" role="tabpanel" aria-labelledby="tab-remuneration-main">
  410. <div class="space-y-3">
  411. <!-- Grid 2 colonnes : Salaire et Horaires -->
  412. <div class="grid grid-cols-2 gap-3">
  413. <!-- Salaire -->
  414. <div class="p-3 pt-10 bg-gradient-to-r from-emerald-50 to-teal-50 dark:from-emerald-900/20 dark:to-teal-900/20 rounded-lg border border-emerald-100 dark:border-emerald-800">
  415. <div class="flex items-center gap-2 mb-5">
  416. <svg class="size-4 text-emerald-600 dark:text-emerald-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  417. <path stroke-linecap="round" stroke-linejoin="round" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
  418. </svg>
  419. <p class="text-xs font-semibold text-emerald-900 dark:text-emerald-200 uppercase">Salaire</p>
  420. </div>
  421. <div class="space-y-1.5">
  422. <div>
  423. <p class="text-xs text-emerald-600 dark:text-emerald-400 mb-0.5">Brut mensuel</p>
  424. <p class="text-lg font-bold text-emerald-700 dark:text-emerald-300">2 500,00 €</p>
  425. </div>
  426. <div>
  427. <p class="text-xs text-emerald-600 dark:text-emerald-400 mb-0.5">Brut annuel</p>
  428. <p class="text-sm font-semibold text-gray-900 dark:text-white">30 000,00 €</p>
  429. </div>
  430. <div>
  431. <p class="text-xs text-emerald-600 dark:text-emerald-400 mb-0.5">Net estimé</p>
  432. <p class="text-sm font-semibold text-gray-900 dark:text-white">1 950,00 €</p>
  433. </div>
  434. </div>
  435. </div>
  436. <!-- Horaires & Base -->
  437. <div class="p-3 pt-10 bg-gradient-to-r from-cyan-50 to-blue-50 dark:from-cyan-900/20 dark:to-blue-900/20 rounded-lg border border-cyan-100 dark:border-cyan-800">
  438. <div class="flex items-center gap-2 mb-5">
  439. <svg class="size-4 text-cyan-600 dark:text-cyan-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  440. <path stroke-linecap="round" stroke-linejoin="round" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
  441. </svg>
  442. <p class="text-xs font-semibold text-cyan-900 dark:text-cyan-200 uppercase">Horaires</p>
  443. </div>
  444. <div class="space-y-1.5">
  445. <div>
  446. <p class="text-xs text-cyan-600 dark:text-cyan-400 mb-0.5">Base horaire</p>
  447. <p class="text-sm font-semibold text-gray-900 dark:text-white">35h / semaine</p>
  448. </div>
  449. <div>
  450. <p class="text-xs text-cyan-600 dark:text-cyan-400 mb-0.5">Heures mensuelles</p>
  451. <p class="text-sm font-semibold text-gray-900 dark:text-white">151,67h</p>
  452. </div>
  453. <div>
  454. <p class="text-xs text-cyan-600 dark:text-cyan-400 mb-0.5">Taux horaire</p>
  455. <p class="text-sm font-semibold text-gray-900 dark:text-white">16,48 €</p>
  456. </div>
  457. </div>
  458. </div>
  459. </div>
  460. <!-- Grid 2 colonnes : Avantages et Primes -->
  461. <div class="grid grid-cols-2 gap-3">
  462. <!-- Avantages -->
  463. <div class="p-3 pt-10 bg-gradient-to-r from-indigo-50 to-blue-50 dark:from-indigo-900/20 dark:to-blue-900/20 rounded-lg border border-indigo-100 dark:border-indigo-800">
  464. <div class="flex items-center gap-2 mb-5">
  465. <svg class="size-4 text-indigo-600 dark:text-indigo-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  466. <path stroke-linecap="round" stroke-linejoin="round" d="M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7" />
  467. </svg>
  468. <p class="text-xs font-semibold text-indigo-900 dark:text-indigo-200 uppercase">Avantages</p>
  469. </div>
  470. <div class="space-y-1.5">
  471. <div class="flex items-center justify-between">
  472. <span class="text-xs text-indigo-600 dark:text-indigo-400">Véhicule fonction</span>
  473. <span class="inline-flex items-center gap-1 text-xs font-semibold text-green-600 dark:text-green-400">
  474. <svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  475. <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
  476. </svg>
  477. Oui
  478. </span>
  479. </div>
  480. <div class="flex items-center justify-between">
  481. <span class="text-xs text-indigo-600 dark:text-indigo-400">Avantage en nature</span>
  482. <span class="text-sm font-semibold text-gray-900 dark:text-white">500,00 €</span>
  483. </div>
  484. </div>
  485. </div>
  486. <!-- Primes & Bonus -->
  487. <div class="p-3 pt-10 bg-gradient-to-r from-violet-50 to-purple-50 dark:from-violet-900/20 dark:to-purple-900/20 rounded-lg border border-violet-100 dark:border-violet-800">
  488. <div class="flex items-center gap-2 mb-5">
  489. <svg class="size-4 text-violet-600 dark:text-violet-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  490. <path stroke-linecap="round" stroke-linejoin="round" d="M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7" />
  491. </svg>
  492. <p class="text-xs font-semibold text-violet-900 dark:text-violet-200 uppercase">Primes & Bonus</p>
  493. </div>
  494. <div class="space-y-1.5">
  495. <div class="flex items-center justify-between">
  496. <span class="text-xs text-violet-600 dark:text-violet-400">Prime annuelle</span>
  497. <span class="text-sm font-semibold text-gray-900 dark:text-white">1 000,00 €</span>
  498. </div>
  499. </div>
  500. </div>
  501. </div>
  502. </div>
  503. </div>
  504. <!-- Tab 5: Informatique -->
  505. <div id="tab-content-informatique-main" class="hidden" role="tabpanel" aria-labelledby="tab-informatique-main">
  506. <div class="space-y-3">
  507. <!-- Grid 2 colonnes : Compte Windows et Compte Office 365 -->
  508. <div class="grid grid-cols-2 gap-3">
  509. <!-- Bloc 1: Compte Windows -->
  510. <div class="p-6 pt-10 bg-gradient-to-r from-indigo-50 to-blue-50 dark:from-indigo-900/20 dark:to-blue-900/20 rounded-lg border border-indigo-100 dark:border-indigo-800">
  511. <div class="flex items-center gap-2 mb-5">
  512. <svg class="size-4 text-indigo-600 dark:text-indigo-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  513. <path stroke-linecap="round" stroke-linejoin="round" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
  514. </svg>
  515. <p class="text-xs font-semibold text-indigo-900 dark:text-indigo-200 uppercase">Compte Windows</p>
  516. </div>
  517. <div class="space-y-3">
  518. <div class="flex items-center justify-between p-3 bg-white dark:bg-neutral-700 rounded-lg border border-indigo-200 dark:border-indigo-700">
  519. <span class="text-sm font-semibold text-gray-900 dark:text-white" id="compte-windows">augustin.podvin</span>
  520. <button type="button" onclick="copyToClipboard('augustin.podvin')" class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-indigo-600 dark:text-indigo-400 hover:text-indigo-700 dark:hover:text-indigo-300">
  521. <svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  522. <path stroke-linecap="round" stroke-linejoin="round" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" />
  523. </svg>
  524. Copier
  525. </button>
  526. </div>
  527. </div>
  528. </div>
  529. <!-- Bloc 2: Compte Office 365 -->
  530. <div class="p-6 pt-10 bg-gradient-to-r from-blue-50 to-cyan-50 dark:from-blue-900/20 dark:to-cyan-900/20 rounded-lg border border-blue-100 dark:border-blue-800">
  531. <div class="flex items-center gap-2 mb-5">
  532. <svg class="size-4 text-blue-600 dark:text-blue-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  533. <path stroke-linecap="round" stroke-linejoin="round" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
  534. </svg>
  535. <p class="text-xs font-semibold text-blue-900 dark:text-blue-200 uppercase">Compte Office 365</p>
  536. </div>
  537. <div class="space-y-3">
  538. <div class="flex items-center justify-between p-3 bg-white dark:bg-neutral-700 rounded-lg border border-blue-200 dark:border-blue-700">
  539. <span class="text-sm font-semibold text-gray-900 dark:text-white" id="compte-office365">augustin.podvin@sipa-automobiles.fr</span>
  540. <button type="button" onclick="copyToClipboard('augustin.podvin@sipa-automobiles.fr')" class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300">
  541. <svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  542. <path stroke-linecap="round" stroke-linejoin="round" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" />
  543. </svg>
  544. Copier
  545. </button>
  546. </div>
  547. </div>
  548. </div>
  549. </div>
  550. <!-- Grid 2 colonnes : MDP Temporaire -->
  551. <div class="grid grid-cols-2 gap-3">
  552. <!-- Bloc 3: MDP Temporaire -->
  553. <div class="p-6 pt-10 bg-gradient-to-r from-purple-50 to-pink-50 dark:from-purple-900/20 dark:to-pink-900/20 rounded-lg border border-purple-100 dark:border-purple-800">
  554. <div class="flex items-center gap-2 mb-5">
  555. <svg class="size-4 text-purple-600 dark:text-purple-400" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  556. <path stroke-linecap="round" stroke-linejoin="round" d="M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z" />
  557. </svg>
  558. <p class="text-xs font-semibold text-purple-900 dark:text-purple-200 uppercase">MDP Temporaire</p>
  559. </div>
  560. <div class="space-y-3">
  561. <div class="flex items-center justify-between p-3 bg-white dark:bg-neutral-700 rounded-lg border border-purple-200 dark:border-purple-700">
  562. <span class="text-sm font-semibold text-gray-900 dark:text-white font-mono" id="mdp-temporaire">Sip@OGU4my</span>
  563. <button type="button" onclick="copyToClipboard('Sip@OGU4my')" class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-purple-600 dark:text-purple-400 hover:text-purple-700 dark:hover:text-purple-300">
  564. <svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  565. <path stroke-linecap="round" stroke-linejoin="round" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" />
  566. </svg>
  567. Copier
  568. </button>
  569. </div>
  570. </div>
  571. </div>
  572. </div>
  573. </div>
  574. </div>
  575. </div>
  576. </div>
  577. </div>
  578. <!-- End Card: Synthèse de la demande -->
  579. <!-- Grid Container for Statut and Historique Cards -->
  580. <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
  581. <!-- Card: Statut Actualisation LUCCA -->
  582. <div class="bg-white border border-gray-200 rounded-xl shadow-sm dark:bg-neutral-800 dark:border-neutral-700">
  583. <div class="p-6">
  584. <!-- Header -->
  585. <div class="mb-6 pb-4 border-b border-gray-200 dark:border-neutral-700">
  586. <h2 class="text-lg font-semibold text-[#21B6BA] dark:text-[#21B6BA]">Statut Actualisation LUCCA</h2>
  587. </div>
  588. <div class="space-y-4">
  589. <!-- Section 1: Création du collaborateur -->
  590. <div class="hs-accordion-group">
  591. <div class="hs-accordion hs-accordion-active:border-gray-200 dark:hs-accordion-active:border-neutral-700 border border-gray-200 rounded-lg dark:border-neutral-700" id="hs-basic-collapse-heading-1">
  592. <button class="hs-accordion-toggle hs-accordion-active:text-blue-600 py-4 px-5 inline-flex items-center gap-x-3 w-full font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 dark:hs-accordion-active:text-blue-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-expanded="true" aria-controls="hs-basic-collapse-1">
  593. <svg class="hs-accordion-active:hidden block flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" 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">
  594. <path d="M5 12h14"/>
  595. <path d="M12 5v14"/>
  596. </svg>
  597. <svg class="hs-accordion-active:block hidden flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" 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">
  598. <path d="M5 12h14"/>
  599. </svg>
  600. Création du collaborateur
  601. <span class="ms-auto inline-flex items-center gap-x-1.5 py-1.5 px-3 rounded-full text-xs font-medium bg-green-100 text-green-800 dark:bg-green-800/30 dark:text-green-500">
  602. <span class="size-1.5 inline-block rounded-full bg-green-800 dark:bg-green-500"></span>
  603. Validé
  604. </span>
  605. </button>
  606. <div id="hs-basic-collapse-1" class="hs-accordion-content w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-collapse-heading-1">
  607. <div class="px-5 pb-4">
  608. <!-- Champs envoyés -->
  609. <div class="space-y-3 mb-4">
  610. <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
  611. <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Nom:</span>
  612. <span class="text-sm text-gray-900 dark:text-white">PHILIPPE</span>
  613. </div>
  614. <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
  615. <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Prénom:</span>
  616. <span class="text-sm text-gray-900 dark:text-white">Cyril</span>
  617. </div>
  618. <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
  619. <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Email:</span>
  620. <span class="text-sm text-gray-900 dark:text-white">cyril.philippe@sipa-automobiles.fr</span>
  621. </div>
  622. </div>
  623. <!-- Bouton pour voir le JSON -->
  624. <button type="button" class="hs-collapse-toggle py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-white dark:hover:bg-neutral-700" id="hs-collapse-collaborateur-json" data-hs-collapse="#hs-collapse-collaborateur-content">
  625. Voir le JSON de la requête
  626. <svg class="hs-collapse-open:rotate-180 flex-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">
  627. <path d="m6 9 6 6 6-6"/>
  628. </svg>
  629. </button>
  630. <!-- Contenu JSON (masqué par défaut) -->
  631. <div id="hs-collapse-collaborateur-content" class="hs-collapse hidden w-full overflow-hidden transition-[height] duration-300 mt-3">
  632. <div class="p-4 bg-gray-900 rounded-lg dark:bg-neutral-900">
  633. <pre class="text-xs text-green-400 overflow-x-auto"><code>{
  634. "firstName": "Cyril",
  635. "lastName": "PHILIPPE",
  636. "email": "cyril.philippe@sipa-automobiles.fr",
  637. "position": "Agent de maîtrise ateller",
  638. "site": "AUTO 33",
  639. "startDate": "2025-11-03"
  640. }</code></pre>
  641. </div>
  642. </div>
  643. </div>
  644. </div>
  645. </div>
  646. </div>
  647. <!-- End Section 1: Création du collaborateur -->
  648. <!-- Section 2: Création du contrat -->
  649. <div class="border border-gray-200 rounded-lg dark:border-neutral-700 p-5">
  650. <!-- Header avec titre et badge -->
  651. <div class="flex items-center justify-between mb-4">
  652. <h3 class="text-base font-semibold text-gray-800 dark:text-white">Création du contrat</h3>
  653. <span class="inline-flex items-center gap-x-1.5 py-1.5 px-3 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800 dark:bg-yellow-800/30 dark:text-yellow-500">
  654. <span class="size-1.5 inline-block rounded-full bg-yellow-800 dark:bg-yellow-500"></span>
  655. En attente
  656. </span>
  657. </div>
  658. <!-- Champs envoyés -->
  659. <div class="space-y-3 mb-4">
  660. <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
  661. <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Type de contrat:</span>
  662. <span class="text-sm text-gray-900 dark:text-white">CDI</span>
  663. </div>
  664. <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
  665. <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Date de début:</span>
  666. <span class="text-sm text-gray-900 dark:text-white">2025-11-03</span>
  667. </div>
  668. <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
  669. <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Poste:</span>
  670. <span class="text-sm text-gray-900 dark:text-white">Agent de maîtrise ateller</span>
  671. </div>
  672. </div>
  673. <!-- Bouton pour voir le JSON -->
  674. <button type="button" class="hs-collapse-toggle py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-white dark:hover:bg-neutral-700" id="hs-collapse-contrat-json" data-hs-collapse="#hs-collapse-contrat-content">
  675. Voir le JSON de la requête
  676. <svg class="hs-collapse-open:rotate-180 flex-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">
  677. <path d="m6 9 6 6 6-6"/>
  678. </svg>
  679. </button>
  680. <!-- Contenu JSON (masqué par défaut) -->
  681. <div id="hs-collapse-contrat-content" class="hs-collapse hidden w-full overflow-hidden transition-[height] duration-300 mt-3">
  682. <div class="p-4 bg-gray-900 rounded-lg dark:bg-neutral-900">
  683. <pre class="text-xs text-green-400 overflow-x-auto"><code>{
  684. "contractType": "CDI",
  685. "startDate": "2025-11-03",
  686. "position": "Agent de maîtrise ateller",
  687. "userId": "12345",
  688. "site": "AUTO 33"
  689. }</code></pre>
  690. </div>
  691. </div>
  692. </div>
  693. <!-- End Section 2: Création du contrat -->
  694. </div>
  695. </div>
  696. </div>
  697. <!-- End Card: Statut Actualisation LUCCA -->
  698. <!-- Card: Historique -->
  699. <div class="bg-white border border-gray-200 rounded-xl shadow-sm dark:bg-neutral-800 dark:border-neutral-700">
  700. <div class="p-6">
  701. <!-- Header -->
  702. <div class="mb-6 pb-4 border-b border-gray-200 dark:border-neutral-700">
  703. <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Historique</h2>
  704. </div>
  705. <!-- Timeline -->
  706. <div class="relative ps-8 sm:ps-12">
  707. <!-- Timeline Item 1 -->
  708. <div class="mb-10 last:mb-0">
  709. <div class="flex flex-col sm:flex-row sm:items-center mb-1 sm:mb-0">
  710. <div class="flex items-center mb-1 sm:mb-0">
  711. <div class="flex z-10 items-center justify-center size-6 bg-blue-600 rounded-full border-4 border-white dark:border-neutral-800"></div>
  712. <h3 class="text-sm sm:text-base font-semibold text-gray-800 dark:text-neutral-200 sm:ms-3">26 Sep, 2025</h3>
  713. </div>
  714. </div>
  715. <div class="sm:ms-12">
  716. <h3 class="text-sm font-semibold text-gray-800 dark:text-neutral-200">Céline a modifié la demande</h3>
  717. <p class="mt-1 text-sm text-gray-600 dark:text-neutral-400">Modification du statut de "En attente" à "En cours"</p>
  718. <div class="mt-2 flex items-center gap-2">
  719. <div class="flex-shrink-0">
  720. <div class="flex size-7 items-center justify-center rounded-full bg-gray-100 dark:bg-neutral-700">
  721. <span class="text-xs font-semibold text-gray-800 dark:text-white">C</span>
  722. </div>
  723. </div>
  724. <span class="text-xs text-gray-600 dark:text-neutral-400">Céline MARTIN</span>
  725. </div>
  726. </div>
  727. </div>
  728. <!-- Timeline Item 2 -->
  729. <div class="mb-10 last:mb-0">
  730. <div class="flex flex-col sm:flex-row sm:items-center mb-1 sm:mb-0">
  731. <div class="flex items-center mb-1 sm:mb-0">
  732. <div class="flex z-10 items-center justify-center size-6 bg-green-600 rounded-full border-4 border-white dark:border-neutral-800"></div>
  733. <h3 class="text-sm sm:text-base font-semibold text-gray-800 dark:text-neutral-200 sm:ms-3">26 Sep, 2025</h3>
  734. </div>
  735. </div>
  736. <div class="sm:ms-12">
  737. <h3 class="text-sm font-semibold text-gray-800 dark:text-neutral-200">Automatisation Faite</h3>
  738. <p class="mt-1 text-sm text-gray-600 dark:text-neutral-400">Configuration Active Directory et O365 terminée</p>
  739. <div class="mt-2 flex items-center gap-2">
  740. <div class="flex-shrink-0">
  741. <div class="flex size-7 items-center justify-center rounded-full bg-gray-100 dark:bg-neutral-700">
  742. <span class="text-xs font-semibold text-gray-800 dark:text-white">A</span>
  743. </div>
  744. </div>
  745. <span class="text-xs text-gray-600 dark:text-neutral-400">Système Automatique</span>
  746. </div>
  747. </div>
  748. </div>
  749. <!-- Timeline Item 3 -->
  750. <div class="mb-10 last:mb-0">
  751. <div class="flex flex-col sm:flex-row sm:items-center mb-1 sm:mb-0">
  752. <div class="flex items-center mb-1 sm:mb-0">
  753. <div class="flex z-10 items-center justify-center size-6 bg-purple-600 rounded-full border-4 border-white dark:border-neutral-800"></div>
  754. <h3 class="text-sm sm:text-base font-semibold text-gray-800 dark:text-neutral-200 sm:ms-3">26 Sep, 2025</h3>
  755. </div>
  756. </div>
  757. <div class="sm:ms-12">
  758. <h3 class="text-sm font-semibold text-gray-800 dark:text-neutral-200">Envoi mails</h3>
  759. <p class="mt-1 text-sm text-gray-600 dark:text-neutral-400">Notification envoyée au demandeur et à l'équipe IT</p>
  760. <div class="mt-2 flex items-center gap-2">
  761. <div class="flex-shrink-0">
  762. <div class="flex size-7 items-center justify-center rounded-full bg-gray-100 dark:bg-neutral-700">
  763. <span class="text-xs font-semibold text-gray-800 dark:text-white">S</span>
  764. </div>
  765. </div>
  766. <span class="text-xs text-gray-600 dark:text-neutral-400">Système Automatique</span>
  767. </div>
  768. </div>
  769. </div>
  770. <!-- Timeline Item 4 -->
  771. <div class="mb-10 last:mb-0">
  772. <div class="flex flex-col sm:flex-row sm:items-center mb-1 sm:mb-0">
  773. <div class="flex items-center mb-1 sm:mb-0">
  774. <div class="flex z-10 items-center justify-center size-6 bg-gray-400 rounded-full border-4 border-white dark:border-neutral-800"></div>
  775. <h3 class="text-sm sm:text-base font-semibold text-gray-800 dark:text-neutral-200 sm:ms-3">25 Sep, 2025</h3>
  776. </div>
  777. </div>
  778. <div class="sm:ms-12">
  779. <h3 class="text-sm font-semibold text-gray-800 dark:text-neutral-200">Demande créée</h3>
  780. <p class="mt-1 text-sm text-gray-600 dark:text-neutral-400">Nouvelle demande IT créée par ccperchery</p>
  781. <div class="mt-2 flex items-center gap-2">
  782. <div class="flex-shrink-0">
  783. <div class="flex size-7 items-center justify-center rounded-full bg-gray-100 dark:bg-neutral-700">
  784. <span class="text-xs font-semibold text-gray-800 dark:text-white">C</span>
  785. </div>
  786. </div>
  787. <span class="text-xs text-gray-600 dark:text-neutral-400">ccperchery</span>
  788. </div>
  789. </div>
  790. </div>
  791. <!-- Timeline Line -->
  792. <div class="absolute inset-y-0 start-0 w-px bg-gray-200 dark:bg-neutral-700"></div>
  793. </div>
  794. </div>
  795. </div>
  796. <!-- End Card: Historique -->
  797. </div>
  798. <!-- End Grid Container for Statut and Historique -->
  799. </div>
  800. </div>
  801. <!-- End Content -->
  802. <!-- Preline UI -->
  803. <script src="https://cdn.jsdelivr.net/npm/preline@2.1.0/dist/preline.js"></script>
  804. <!-- Script pour copier dans le presse-papier -->
  805. <script>
  806. function copyToClipboard(text) {
  807. navigator.clipboard.writeText(text).then(function() {
  808. // Optionnel: afficher une notification de succès
  809. const button = event.target.closest('button');
  810. const originalText = button.innerHTML;
  811. button.innerHTML = '<svg class="size-3" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" /></svg> Copié';
  812. button.classList.add('text-green-600');
  813. setTimeout(function() {
  814. button.innerHTML = originalText;
  815. button.classList.remove('text-green-600');
  816. }, 2000);
  817. }).catch(function(err) {
  818. console.error('Erreur lors de la copie:', err);
  819. });
  820. }
  821. </script>
  822. </body>
  823. </html>