| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660 |
- <!DOCTYPE html>
- <html lang="fr">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Demande RH - SIPA Automobiles</title>
-
- <!-- Tailwind CSS CDN -->
- <script src="https://cdn.tailwindcss.com"></script>
- <style>
- /* Style pour les onglets actifs Preline */
- button[role="tab"].active,
- button[role="tab"][aria-selected="true"] {
- background-color: white !important;
- color: #21B6BA !important; /* Couleur turquoise */
- border-bottom: 3px solid #21B6BA !important;
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
- font-weight: 600 !important;
- }
- @media (prefers-color-scheme: dark) {
- button[role="tab"].active,
- button[role="tab"][aria-selected="true"] {
- background-color: rgb(38, 38, 38) !important; /* dark:bg-neutral-800 */
- color: #21B6BA !important; /* Couleur turquoise */
- border-bottom: 3px solid #21B6BA !important;
- }
- }
- </style>
- </head>
- <body class="bg-gray-50 dark:bg-neutral-900">
-
- <?php
- $skip_default_content = true;
- include 'menu.php';
- ?>
-
- <!-- Content -->
- <div class="pt-12 lg:pt-16 lg:ps-64">
- <div class="min-h-screen p-4 md:p-8">
- <!-- Page Header -->
- <div class="mb-6">
- <h1 class="text-2xl font-semibold text-[#21B6BA] dark:text-[#21B6BA]">Demande RH</h1>
- <p class="mt-1 text-sm text-gray-600 dark:text-neutral-400">Créez une nouvelle demande pour les ressources humaines</p>
- </div>
- <!-- End Page Header -->
- <!-- Card: Synthèse de la demande -->
- <div class="mb-6 bg-white border border-gray-200 rounded-xl shadow-sm dark:bg-neutral-800 dark:border-neutral-700">
- <div class="p-6">
- <!-- Dropdowns Header -->
- <div class="flex justify-end items-center gap-3 mb-6 pb-4 border-b border-gray-200 dark:border-neutral-700">
- <!-- Dropdown Statut -->
- <div class="relative">
- <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">
- <option value="">Statut</option>
- <option value="en-attente">En attente</option>
- <option value="en-cours">En cours</option>
- <option value="traitee">Traitée</option>
- <option value="annulee">Annulée</option>
- </select>
- <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">
- <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"/>
- </svg>
- </div>
- <!-- End Dropdown Statut -->
- </div>
- <!-- End Dropdowns Header -->
- <!-- Title -->
- <h2 class="text-lg font-semibold text-[#21B6BA] dark:text-[#21B6BA] mb-6">Synthèse de la demande</h2>
-
- <!-- Summary Grid -->
- <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
- <!-- Site -->
- <div class="flex items-start gap-3 p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <div class="flex-shrink-0 mt-0.5">
- <svg class="flex-shrink-0 size-5 text-gray-400" 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="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
- </svg>
- </div>
- <div class="flex-1 min-w-0">
- <p class="text-xs font-medium text-gray-500 uppercase dark:text-neutral-400 mb-1">Site</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">AUTO 33</p>
- </div>
- </div>
- <!-- Demandeur -->
- <div class="flex items-start gap-3 p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <div class="flex-shrink-0 mt-0.5">
- <svg class="flex-shrink-0 size-5 text-gray-400" 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="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
- </svg>
- </div>
- <div class="flex-1 min-w-0">
- <p class="text-xs font-medium text-gray-500 uppercase dark:text-neutral-400 mb-1">Demandeur</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">ccperchery</p>
- </div>
- </div>
- <!-- Date de la demande -->
- <div class="flex items-start gap-3 p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <div class="flex-shrink-0 mt-0.5">
- <svg class="flex-shrink-0 size-5 text-gray-400" 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="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
- </svg>
- </div>
- <div class="flex-1 min-w-0">
- <p class="text-xs font-medium text-gray-500 uppercase dark:text-neutral-400 mb-1">Date de la demande</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">2025-09-26 13:00:26</p>
- </div>
- </div>
- <!-- Recrutement -->
- <div class="flex items-start gap-3 p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <div class="flex-shrink-0 mt-0.5">
- <svg class="flex-shrink-0 size-5 text-gray-400" 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="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" />
- </svg>
- </div>
- <div class="flex-1 min-w-0">
- <p class="text-xs font-medium text-gray-500 uppercase dark:text-neutral-400 mb-1">Recrutement</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">Cyril PHILIPPE</p>
- </div>
- </div>
- <!-- Poste -->
- <div class="flex items-start gap-3 p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <div class="flex-shrink-0 mt-0.5">
- <svg class="flex-shrink-0 size-5 text-gray-400" 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="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" />
- </svg>
- </div>
- <div class="flex-1 min-w-0">
- <p class="text-xs font-medium text-gray-500 uppercase dark:text-neutral-400 mb-1">Poste</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">Agent de maîtrise ateller</p>
- </div>
- </div>
- <!-- Date d'entrée -->
- <div class="flex items-start gap-3 p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <div class="flex-shrink-0 mt-0.5">
- <svg class="flex-shrink-0 size-5 text-gray-400" 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="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- <div class="flex-1 min-w-0">
- <p class="text-xs font-medium text-gray-500 uppercase dark:text-neutral-400 mb-1">Date d'entrée</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">2025-11-03</p>
- </div>
- </div>
- </div>
- <!-- Commentaire demande -->
- <div class="mb-6">
- <label for="commentaire-demande" class="block text-sm font-medium text-gray-700 dark:text-neutral-300 mb-2">
- Commentaire demande
- </label>
- <textarea id="commentaire-demande" name="commentaire-demande" rows="3" class="py-2 px-3 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-neutral-800 dark:border-neutral-600 dark:text-white dark:focus:border-blue-500 dark:focus:ring-blue-500" placeholder="Ajoutez un commentaire..."></textarea>
- </div>
- </div>
- </div>
- <!-- End Card: Synthèse de la demande -->
- <!-- Grid Container: Two Column Layout (50/50) -->
- <div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
-
- <!-- Left Column: Vue focus de la demande (50%) -->
- <div class="bg-white border border-gray-200 rounded-xl shadow-sm dark:bg-neutral-800 dark:border-neutral-700">
- <div class="p-5">
- <!-- Header with title and expand button -->
- <div class="flex items-center justify-between mb-4 pb-3 border-b border-gray-200 dark:border-neutral-700">
- <h2 class="text-lg font-semibold text-[#21B6BA] dark:text-[#21B6BA]">Vue focus de la demande</h2>
- <button type="button" class="inline-flex items-center justify-center size-8 text-sm font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-white dark:hover:bg-neutral-700">
- <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">
- <path stroke-linecap="round" stroke-linejoin="round" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
- </svg>
- </button>
- </div>
-
- <!-- Tabs Navigation -->
- <nav class="flex gap-x-1 mb-4 bg-gray-50 dark:bg-neutral-700/50 p-1 rounded-lg" aria-label="Tabs" role="tablist">
- <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-info-personnel" data-hs-tab="#tab-content-info-personnel" aria-controls="tab-content-info-personnel" role="tab">
- <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">
- <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" />
- </svg>
- Informations
- </button>
- <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" data-hs-tab="#tab-content-contrat" aria-controls="tab-content-contrat" role="tab">
- <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">
- <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" />
- </svg>
- Contrat
- </button>
- <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" data-hs-tab="#tab-content-remuneration" aria-controls="tab-content-remuneration" role="tab">
- <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">
- <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" />
- </svg>
- Rémunération
- </button>
- </nav>
- <!-- Tabs Content -->
- <div class="mt-3">
- <!-- Tab 1: Informations Personnel -->
- <div id="tab-content-info-personnel" role="tabpanel" aria-labelledby="tab-info-personnel">
- <div class="space-y-3">
- <!-- Identité - Grid 2 colonnes -->
- <div class="grid grid-cols-2 gap-3">
- <!-- Card 1: Identité -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <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" />
- </svg>
- <p class="text-xs font-semibold text-blue-900 dark:text-blue-200 uppercase">Identité</p>
- </div>
- <div class="space-y-1.5">
- <div>
- <p class="text-xs text-blue-600 dark:text-blue-400 mb-0.5">Prénom</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">Cyril</p>
- </div>
- <div>
- <p class="text-xs text-blue-600 dark:text-blue-400 mb-0.5">Nom</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">PHILIPPE</p>
- </div>
- <div>
- <p class="text-xs text-blue-600 dark:text-blue-400 mb-0.5">Date de naissance</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">15/05/1985</p>
- </div>
- </div>
- </div>
- <!-- Card 2: Contact -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <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" />
- </svg>
- <p class="text-xs font-semibold text-teal-900 dark:text-teal-200 uppercase">Contact</p>
- </div>
- <div class="space-y-1.5">
- <div>
- <p class="text-xs text-teal-600 dark:text-teal-400 mb-0.5">Email</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">cyril.philippe@sipa.fr</p>
- </div>
- <div>
- <p class="text-xs text-teal-600 dark:text-teal-400 mb-0.5">Téléphone</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">06 12 34 56 78</p>
- </div>
- <div>
- <p class="text-xs text-teal-600 dark:text-teal-400 mb-0.5">Adresse</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">33000 Bordeaux</p>
- </div>
- </div>
- </div>
- </div>
- <!-- Poste & Service - Grid 2 colonnes -->
- <div class="grid grid-cols-2 gap-3">
- <!-- Card 1: Poste & Fonction -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <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" />
- </svg>
- <p class="text-xs font-semibold text-purple-900 dark:text-purple-200 uppercase">Poste</p>
- </div>
- <div class="space-y-1.5">
- <div class="flex justify-between">
- <span class="text-xs text-purple-600 dark:text-purple-400">Intitulé</span>
- <span class="text-sm font-semibold text-gray-900 dark:text-white">Agent de maîtrise</span>
- </div>
- <div class="flex justify-between">
- <span class="text-xs text-purple-600 dark:text-purple-400">Service</span>
- <span class="text-sm font-semibold text-gray-900 dark:text-white">Atelier</span>
- </div>
- <div class="flex justify-between">
- <span class="text-xs text-purple-600 dark:text-purple-400">Manager</span>
- <span class="text-sm font-semibold text-gray-900 dark:text-white">Jean DUPONT</span>
- </div>
- </div>
- </div>
- <!-- Card 2: Lieu & Horaires -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <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" />
- <path stroke-linecap="round" stroke-linejoin="round" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
- </svg>
- <p class="text-xs font-semibold text-rose-900 dark:text-rose-200 uppercase">Lieu & Horaires</p>
- </div>
- <div class="space-y-1.5">
- <div class="flex justify-between">
- <span class="text-xs text-rose-600 dark:text-rose-400">Site</span>
- <span class="text-sm font-semibold text-gray-900 dark:text-white">Bordeaux</span>
- </div>
- <div class="flex justify-between">
- <span class="text-xs text-rose-600 dark:text-rose-400">Horaires</span>
- <span class="text-sm font-semibold text-gray-900 dark:text-white">09h-18h</span>
- </div>
- <div class="flex justify-between">
- <span class="text-xs text-rose-600 dark:text-rose-400">Télétravail</span>
- <span class="text-sm font-semibold text-gray-900 dark:text-white">1j/sem</span>
- </div>
- </div>
- </div>
- </div>
- <!-- Documents -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <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" />
- </svg>
- <p class="text-xs font-semibold text-amber-900 dark:text-amber-200 uppercase">Documents joints</p>
- </div>
- <div class="flex flex-wrap gap-2">
- <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">
- <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="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" />
- </svg>
- CV.pdf
- </a>
- <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">
- <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="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" />
- </svg>
- Pièce d'identité
- </a>
- <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">
- <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="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" />
- </svg>
- Autres
- </a>
- </div>
- </div>
- </div>
- </div>
- <!-- Tab 2: Contrat -->
- <div id="tab-content-contrat" class="hidden" role="tabpanel" aria-labelledby="tab-contrat">
- <div class="space-y-3">
- <!-- Grid 2 colonnes : Type de contrat et Durée -->
- <div class="grid grid-cols-2 gap-3">
- <!-- Type de contrat -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <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" />
- </svg>
- <p class="text-xs font-semibold text-green-900 dark:text-green-200 uppercase">Type de contrat</p>
- </div>
- <div class="space-y-1.5">
- <div>
- <p class="text-xs text-green-600 dark:text-green-400 mb-0.5">Contrat</p>
- <span class="inline-flex px-2.5 py-1 bg-green-600 text-white text-sm font-bold rounded">CDI</span>
- </div>
- <div>
- <p class="text-xs text-green-600 dark:text-green-400 mb-0.5">Période d'essai</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">3 mois</p>
- </div>
- <div>
- <p class="text-xs text-green-600 dark:text-green-400 mb-0.5">Temps de travail</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">Temps plein</p>
- </div>
- </div>
- </div>
- <!-- Durée -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <path stroke-linecap="round" stroke-linejoin="round" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <p class="text-xs font-semibold text-lime-900 dark:text-lime-200 uppercase">Durée</p>
- </div>
- <div class="space-y-1.5">
- <div>
- <p class="text-xs text-lime-600 dark:text-lime-400 mb-0.5">Date d'entrée</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">03/11/2025</p>
- </div>
- <div>
- <p class="text-xs text-lime-600 dark:text-lime-400 mb-0.5">Début contrat</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">03/11/2025</p>
- </div>
- <div>
- <p class="text-xs text-lime-600 dark:text-lime-400 mb-0.5">Fin contrat</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">Indéterminée</p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- Tab 3: Rémunération -->
- <div id="tab-content-remuneration" class="hidden" role="tabpanel" aria-labelledby="tab-remuneration">
- <div class="space-y-3">
- <!-- Grid 2 colonnes : Salaire et Horaires -->
- <div class="grid grid-cols-2 gap-3">
- <!-- Salaire -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <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" />
- </svg>
- <p class="text-xs font-semibold text-emerald-900 dark:text-emerald-200 uppercase">Salaire</p>
- </div>
- <div class="space-y-1.5">
- <div>
- <p class="text-xs text-emerald-600 dark:text-emerald-400 mb-0.5">Brut mensuel</p>
- <p class="text-lg font-bold text-emerald-700 dark:text-emerald-300">2 500,00 €</p>
- </div>
- <div>
- <p class="text-xs text-emerald-600 dark:text-emerald-400 mb-0.5">Brut annuel</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">30 000,00 €</p>
- </div>
- <div>
- <p class="text-xs text-emerald-600 dark:text-emerald-400 mb-0.5">Net estimé</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">1 950,00 €</p>
- </div>
- </div>
- </div>
- <!-- Horaires & Base -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <path stroke-linecap="round" stroke-linejoin="round" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <p class="text-xs font-semibold text-cyan-900 dark:text-cyan-200 uppercase">Horaires</p>
- </div>
- <div class="space-y-1.5">
- <div>
- <p class="text-xs text-cyan-600 dark:text-cyan-400 mb-0.5">Base horaire</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">35h / semaine</p>
- </div>
- <div>
- <p class="text-xs text-cyan-600 dark:text-cyan-400 mb-0.5">Heures mensuelles</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">151,67h</p>
- </div>
- <div>
- <p class="text-xs text-cyan-600 dark:text-cyan-400 mb-0.5">Taux horaire</p>
- <p class="text-sm font-semibold text-gray-900 dark:text-white">16,48 €</p>
- </div>
- </div>
- </div>
- </div>
- <!-- Grid 2 colonnes : Avantages et Primes -->
- <div class="grid grid-cols-2 gap-3">
- <!-- Avantages -->
- <div class="p-3 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">
- <div class="flex items-center gap-2 mb-2">
- <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">
- <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" />
- </svg>
- <p class="text-xs font-semibold text-indigo-900 dark:text-indigo-200 uppercase">Avantages</p>
- </div>
- <div class="space-y-1.5">
- <div class="flex items-center justify-between">
- <span class="text-xs text-indigo-600 dark:text-indigo-400">Véhicule fonction</span>
- <span class="inline-flex items-center gap-1 text-xs font-semibold text-green-600 dark:text-green-400">
- <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>
- Oui
- </span>
- </div>
- <div class="flex items-center justify-between">
- <span class="text-xs text-indigo-600 dark:text-indigo-400">Avantages nature</span>
- <span class="inline-flex items-center gap-1 text-xs font-semibold text-red-600 dark:text-red-400">
- <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="M6 18L18 6M6 6l12 12" />
- </svg>
- Non
- </span>
- </div>
- <div class="flex items-center justify-between">
- <span class="text-xs text-indigo-600 dark:text-indigo-400">Tickets restaurant</span>
- <span class="inline-flex items-center gap-1 text-xs font-semibold text-green-600 dark:text-green-400">
- <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>
- Oui
- </span>
- </div>
- </div>
- </div>
- <!-- Primes & Bonus -->
- </div>
- </div>
- </div>
- </div>
- <!-- Action Button -->
- <div class="mt-6 flex justify-center">
- <button type="button" class="py-2.5 px-6 inline-flex items-center justify-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-[#21B6BA] text-white hover:bg-[#1AA5A9] focus:outline-none focus:bg-[#1AA5A9]">
- Voir la demande complète
- <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">
- <path stroke-linecap="round" stroke-linejoin="round" d="M13 7l5 5m0 0l-5 5m5-5H6" />
- </svg>
- </button>
- </div>
- </div>
- </div>
- <!-- End Left Column: Vue focus de la demande -->
- <!-- Right Column: Two Cards Stacked (50%) -->
- <div class="space-y-6">
- <!-- Card: Statut Actualisation LUCCA -->
- <div class="bg-white border border-gray-200 rounded-xl shadow-sm dark:bg-neutral-800 dark:border-neutral-700">
- <div class="p-6">
- <!-- Header -->
- <div class="mb-6 pb-4 border-b border-gray-200 dark:border-neutral-700">
- <h2 class="text-lg font-semibold text-[#21B6BA] dark:text-[#21B6BA]">Statut Actualisation LUCCA</h2>
- </div>
- <div class="space-y-4">
- <!-- Section 1: Création du collaborateur -->
- <div class="hs-accordion-group">
- <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">
- <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">
- <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">
- <path d="M5 12h14"/>
- <path d="M12 5v14"/>
- </svg>
- <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">
- <path d="M5 12h14"/>
- </svg>
- Création du collaborateur
- <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">
- <span class="size-1.5 inline-block rounded-full bg-green-800 dark:bg-green-500"></span>
- Validé
- </span>
- </button>
- <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">
- <div class="px-5 pb-4">
- <!-- Champs envoyés -->
- <div class="space-y-3 mb-4">
- <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Nom:</span>
- <span class="text-sm text-gray-900 dark:text-white">PHILIPPE</span>
- </div>
- <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Prénom:</span>
- <span class="text-sm text-gray-900 dark:text-white">Cyril</span>
- </div>
- <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Email:</span>
- <span class="text-sm text-gray-900 dark:text-white">cyril.philippe@sipa-automobiles.fr</span>
- </div>
- </div>
-
- <!-- Bouton pour voir le JSON -->
- <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">
- Voir le JSON de la requête
- <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">
- <path d="m6 9 6 6 6-6"/>
- </svg>
- </button>
-
- <!-- Contenu JSON (masqué par défaut) -->
- <div id="hs-collapse-collaborateur-content" class="hs-collapse hidden w-full overflow-hidden transition-[height] duration-300 mt-3">
- <div class="p-4 bg-gray-900 rounded-lg dark:bg-neutral-900">
- <pre class="text-xs text-green-400 overflow-x-auto"><code>{
- "firstName": "Cyril",
- "lastName": "PHILIPPE",
- "email": "cyril.philippe@sipa-automobiles.fr",
- "position": "Agent de maîtrise ateller",
- "site": "AUTO 33",
- "startDate": "2025-11-03"
- }</code></pre>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- End Section 1: Création du collaborateur -->
- <!-- Section 2: Création du contrat -->
- <!-- Header avec titre et badge -->
- <div class="flex items-center justify-between mb-4">
- <h3 class="text-base font-semibold text-gray-800 dark:text-white">Création du contrat</h3>
- <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">
- <span class="size-1.5 inline-block rounded-full bg-yellow-800 dark:bg-yellow-500"></span>
- En attente
- </span>
- </div>
-
- <!-- Champs envoyés -->
- <div class="space-y-3 mb-4">
- <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Type de contrat:</span>
- <span class="text-sm text-gray-900 dark:text-white">CDI</span>
- </div>
- <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Date de début:</span>
- <span class="text-sm text-gray-900 dark:text-white">2025-11-03</span>
- </div>
- <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg dark:bg-neutral-700/50">
- <span class="text-sm font-medium text-gray-700 dark:text-neutral-300">Poste:</span>
- <span class="text-sm text-gray-900 dark:text-white">Agent de maîtrise ateller</span>
- </div>
- </div>
-
- <!-- Bouton pour voir le JSON -->
- <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">
- Voir le JSON de la requête
- <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">
- <path d="m6 9 6 6 6-6"/>
- </svg>
- </button>
-
- <!-- Contenu JSON (masqué par défaut) -->
- <div id="hs-collapse-contrat-content" class="hs-collapse hidden w-full overflow-hidden transition-[height] duration-300 mt-3">
- <div class="p-4 bg-gray-900 rounded-lg dark:bg-neutral-900">
- <pre class="text-xs text-green-400 overflow-x-auto"><code>{
- "contractType": "CDI",
- "startDate": "2025-11-03",
- "position": "Agent de maîtrise ateller",
- "userId": "12345",
- "site": "AUTO 33"
- }</code></pre>
- </div>
- </div>
- </div>
- <!-- End Section 2: Création du contrat -->
- </div>
- </div>
- </div>
- <!-- End Card: Statut Actualisation LUCCA -->
- <!-- Card: Historique -->
-
- <!-- End Card: Historique -->
- </div>
- <!-- End Right Column -->
- </div>
- <!-- End Grid Container for Three Main Blocks -->
- </div>
- </div>
- <!-- End Content -->
-
- <!-- Preline UI -->
- <script src="https://cdn.jsdelivr.net/npm/preline@2.1.0/dist/preline.js"></script>
- </body>
- </html>
|