|
|
@@ -61,6 +61,17 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @keyframes fadeOutUp {
|
|
|
+ from {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ opacity: 0;
|
|
|
+ transform: translateY(-20px);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.animate-fade-in-up {
|
|
|
animation: fadeInUp 0.5s ease-out;
|
|
|
}
|
|
|
@@ -77,6 +88,66 @@
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
}
|
|
|
|
|
|
+ /* Classe réutilisable pour les champs readonly */
|
|
|
+ .readonly-field {
|
|
|
+ background-color: rgb(243, 244, 246);
|
|
|
+ color: rgb(107, 114, 128);
|
|
|
+ cursor: not-allowed;
|
|
|
+ }
|
|
|
+
|
|
|
+ @media (prefers-color-scheme: dark) {
|
|
|
+ .readonly-field {
|
|
|
+ background-color: rgb(38, 38, 38);
|
|
|
+ color: rgb(163, 163, 163);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Styles pour la validation de formulaire Preline */
|
|
|
+ .error-message {
|
|
|
+ display: none;
|
|
|
+ color: rgb(239, 68, 68);
|
|
|
+ font-size: 0.875rem;
|
|
|
+ margin-top: 0.25rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ input:invalid:not(:focus):not(:placeholder-shown) ~ .error-message,
|
|
|
+ select:invalid:not(:focus) ~ .error-message,
|
|
|
+ textarea:invalid:not(:focus):not(:placeholder-shown) ~ .error-message {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+
|
|
|
+ input:invalid:not(:focus):not(:placeholder-shown),
|
|
|
+ select:invalid:not(:focus),
|
|
|
+ textarea:invalid:not(:focus):not(:placeholder-shown) {
|
|
|
+ border-color: rgb(239, 68, 68);
|
|
|
+ }
|
|
|
+
|
|
|
+ input:valid:not(:placeholder-shown),
|
|
|
+ select:valid,
|
|
|
+ textarea:valid:not(:placeholder-shown) {
|
|
|
+ border-color: rgb(34, 197, 94);
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Styles personnalisés pour radio buttons et checkboxes avec couleur SIPA */
|
|
|
+ input[type="radio"],
|
|
|
+ input[type="checkbox"] {
|
|
|
+ accent-color: #21B6BA;
|
|
|
+ }
|
|
|
+
|
|
|
+ input[type="radio"]:focus,
|
|
|
+ input[type="checkbox"]:focus {
|
|
|
+ --tw-ring-color: rgba(33, 182, 186, 0.5);
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Styles pour les toggles/switches avec couleur SIPA */
|
|
|
+ input[type="checkbox"].sr-only:checked + div {
|
|
|
+ background-color: #21B6BA;
|
|
|
+ }
|
|
|
+
|
|
|
+ input[type="checkbox"].sr-only:focus + div {
|
|
|
+ --tw-ring-color: rgba(33, 182, 186, 0.5);
|
|
|
+ }
|
|
|
+
|
|
|
/* Styles pour les tooltips Preline */
|
|
|
.hs-tooltip {
|
|
|
position: relative;
|
|
|
@@ -247,7 +318,7 @@
|
|
|
Créé par
|
|
|
</label>
|
|
|
<input type="text" id="cree_par" name="cree_par" readonly
|
|
|
- class="py-3 px-4 block w-full border border-gray-200 rounded-lg text-sm bg-gray-100 text-gray-500 cursor-not-allowed dark:bg-neutral-700 dark:border-neutral-700 dark:text-neutral-400"
|
|
|
+ class="readonly-field py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-gray-200 focus:ring-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:border-neutral-700"
|
|
|
value="Sophie Bernard (RH)">
|
|
|
</div>
|
|
|
|
|
|
@@ -257,7 +328,7 @@
|
|
|
Date de création
|
|
|
</label>
|
|
|
<input type="text" id="date_creation" name="date_creation" readonly
|
|
|
- class="py-3 px-4 block w-full border border-gray-200 rounded-lg text-sm bg-gray-100 text-gray-500 cursor-not-allowed dark:bg-neutral-700 dark:border-neutral-700 dark:text-neutral-400"
|
|
|
+ class="readonly-field py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-gray-200 focus:ring-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:border-neutral-700"
|
|
|
value="03/11/2025 14:30">
|
|
|
</div>
|
|
|
|
|
|
@@ -294,6 +365,7 @@
|
|
|
<option value="auto33">Auto 33</option>
|
|
|
<option value="autoport">Auto Port</option>
|
|
|
</select>
|
|
|
+ <p class="error-message">Veuillez sélectionner un site</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -306,7 +378,7 @@
|
|
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
|
|
<!-- Type de demande et Création de poste - Dropdowns côte à côte avec style cyan -->
|
|
|
- <div class="md:col-span-3 flex justify-center gap-4 mb-6">
|
|
|
+ <div class="md:col-span-3 flex justify-start gap-4 mb-6">
|
|
|
<div class="w-full max-w-md">
|
|
|
<select id="type_demande" name="type_demande" required
|
|
|
class="py-3 px-4 pe-9 block w-full border-2 border-gray-200 bg-gray-100 rounded-lg text-sm text-gray-700 focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-cyan-600 dark:text-neutral-400">
|
|
|
@@ -327,23 +399,25 @@
|
|
|
<!-- Champs pour RECRUTEMENT -->
|
|
|
<div id="champs_recrutement" class="md:col-span-3 grid grid-cols-1 md:grid-cols-3 gap-6">
|
|
|
<!-- Prénom -->
|
|
|
- <div class="max-w-sm">
|
|
|
- <label for="prenom" class="block text-sm font-medium mb-2 dark:text-white">
|
|
|
+ <div>
|
|
|
+ <label for="prenom" class="block text-sm font-medium mb-2 text-gray-700 dark:text-neutral-300">
|
|
|
PRÉNOM <span class="text-red-500">*</span>
|
|
|
</label>
|
|
|
- <input type="text" id="prenom" name="prenom"
|
|
|
- class="py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
- placeholder="">
|
|
|
+ <input type="text" id="prenom" name="prenom" required
|
|
|
+ class="py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ placeholder="Jean">
|
|
|
+ <p class="error-message">Veuillez saisir le prénom</p>
|
|
|
</div>
|
|
|
|
|
|
<!-- Nom -->
|
|
|
- <div class="max-w-sm">
|
|
|
- <label for="nom" class="block text-sm font-medium mb-2 dark:text-white">
|
|
|
+ <div>
|
|
|
+ <label for="nom" class="block text-sm font-medium mb-2 text-gray-700 dark:text-neutral-300">
|
|
|
NOM <span class="text-red-500">*</span>
|
|
|
</label>
|
|
|
- <input type="text" id="nom" name="nom"
|
|
|
- class="py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
- placeholder="">
|
|
|
+ <input type="text" id="nom" name="nom" required
|
|
|
+ class="py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ placeholder="DUPONT">
|
|
|
+ <p class="error-message">Veuillez saisir le nom</p>
|
|
|
</div>
|
|
|
|
|
|
<!-- Date d'entrée -->
|
|
|
@@ -352,8 +426,8 @@
|
|
|
DATE ENTRÉE <span class="text-red-500">*</span>
|
|
|
</label>
|
|
|
<div class="relative">
|
|
|
- <input type="text" id="date_entree" name="date_entree"
|
|
|
- class="py-3 px-4 pe-11 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ <input type="text" id="date_entree" name="date_entree" required
|
|
|
+ class="py-3 px-4 pe-11 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
placeholder="Sélectionner une date">
|
|
|
<div class="absolute inset-y-0 end-0 flex items-center pointer-events-none pe-4">
|
|
|
<svg class="shrink-0 size-4 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">
|
|
|
@@ -391,7 +465,7 @@
|
|
|
</label>
|
|
|
<div class="relative">
|
|
|
<input type="text" id="date_transfert" name="date_transfert"
|
|
|
- class="py-3 px-4 pe-11 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ class="py-3 px-4 pe-11 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
placeholder="Sélectionner une date">
|
|
|
<div class="absolute inset-y-0 end-0 flex items-center pointer-events-none pe-4">
|
|
|
<svg class="shrink-0 size-4 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">
|
|
|
@@ -429,7 +503,7 @@
|
|
|
</label>
|
|
|
<div class="relative">
|
|
|
<input type="text" id="date_nouveau_contrat" name="date_nouveau_contrat"
|
|
|
- class="py-3 px-4 pe-11 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ class="py-3 px-4 pe-11 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
placeholder="Sélectionner une date">
|
|
|
<div class="absolute inset-y-0 end-0 flex items-center pointer-events-none pe-4">
|
|
|
<svg class="shrink-0 size-4 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">
|
|
|
@@ -467,7 +541,7 @@
|
|
|
</label>
|
|
|
<div class="relative">
|
|
|
<input type="text" id="date_sortie_remplace" name="date_sortie_remplace"
|
|
|
- class="py-3 px-4 pe-11 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ class="py-3 px-4 pe-11 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
placeholder="Sélectionner une date">
|
|
|
<div class="absolute inset-y-0 end-0 flex items-center pointer-events-none pe-4">
|
|
|
<svg class="shrink-0 size-4 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">
|
|
|
@@ -488,23 +562,23 @@
|
|
|
</label>
|
|
|
<div class="flex flex-wrap justify-center gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="type_contrat" id="contrat_cdd" value="CDD" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="type_contrat" id="contrat_cdd" value="CDD" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="contrat_cdd" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">CDD</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="type_contrat" id="contrat_cdi" value="CDI" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="type_contrat" id="contrat_cdi" value="CDI" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="contrat_cdi" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">CDI</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="type_contrat" id="contrat_alternance" value="Alternance" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="type_contrat" id="contrat_alternance" value="Alternance" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="contrat_alternance" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Alternance</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="type_contrat" id="contrat_stage" value="Stage" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="type_contrat" id="contrat_stage" value="Stage" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="contrat_stage" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Stage</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="type_contrat" id="contrat_externe" value="Externe" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="type_contrat" id="contrat_externe" value="Externe" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="contrat_externe" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Externe</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -541,7 +615,7 @@
|
|
|
</label>
|
|
|
<div class="relative">
|
|
|
<input type="text" id="date_debut_contrat" name="date_debut_contrat" readonly disabled
|
|
|
- class="py-3 px-4 pe-11 block w-full border border-gray-200 rounded-lg text-sm bg-gray-100 text-gray-500 cursor-not-allowed dark:bg-neutral-700 dark:border-neutral-700 dark:text-neutral-400"
|
|
|
+ class="readonly-field py-3 px-4 pe-11 block w-full border border-gray-200 rounded-lg text-sm dark:border-neutral-700"
|
|
|
placeholder="Sélectionner une date">
|
|
|
<div class="absolute inset-y-0 end-0 flex items-center pointer-events-none pe-4">
|
|
|
<svg class="shrink-0 size-4 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">
|
|
|
@@ -561,7 +635,7 @@
|
|
|
</label>
|
|
|
<div class="relative">
|
|
|
<input type="text" id="date_fin_contrat" name="date_fin_contrat"
|
|
|
- class="py-3 px-4 pe-11 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ class="py-3 px-4 pe-11 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
placeholder="Sélectionner une date">
|
|
|
<div class="absolute inset-y-0 end-0 flex items-center pointer-events-none pe-4">
|
|
|
<svg class="shrink-0 size-4 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">
|
|
|
@@ -590,7 +664,7 @@
|
|
|
<div class="jour-item-cdd border border-gray-200 rounded-lg p-4 dark:border-neutral-700" data-jour="">
|
|
|
<div class="flex items-center mb-4">
|
|
|
<div class="flex items-center gap-3">
|
|
|
- <input type="checkbox" class="jour-actif-cdd shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500">
|
|
|
+ <input type="checkbox" class="jour-actif-cdd shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA]">
|
|
|
<label class="jour-label-cdd text-sm font-semibold text-gray-800 dark:text-white"></label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -639,11 +713,11 @@
|
|
|
</label>
|
|
|
<div class="flex flex-col gap-2">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="lettre_engagement" id="lettre_engagement_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="lettre_engagement" id="lettre_engagement_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="lettre_engagement_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="lettre_engagement" id="lettre_engagement_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="lettre_engagement" id="lettre_engagement_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="lettre_engagement_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -669,11 +743,11 @@
|
|
|
</label>
|
|
|
<div class="flex flex-col gap-2">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="cooptation" id="cooptation_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="cooptation" id="cooptation_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="cooptation_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="cooptation" id="cooptation_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="cooptation" id="cooptation_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="cooptation_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -687,11 +761,11 @@
|
|
|
</label>
|
|
|
<div class="flex flex-col gap-2">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="reconnaissance_handicap" id="handicap_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="reconnaissance_handicap" id="handicap_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="handicap_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="reconnaissance_handicap" id="handicap_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="reconnaissance_handicap" id="handicap_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="handicap_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -705,11 +779,11 @@
|
|
|
</label>
|
|
|
<div class="flex flex-col gap-2">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="interim_avant" id="interim_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="interim_avant" id="interim_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="interim_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="interim_avant" id="interim_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="interim_avant" id="interim_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="interim_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -722,7 +796,7 @@
|
|
|
</label>
|
|
|
<div class="relative">
|
|
|
<input type="text" id="date_debut_interim" name="date_debut_interim"
|
|
|
- class="py-3 px-4 pe-11 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ class="py-3 px-4 pe-11 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
placeholder="Sélectionner une date">
|
|
|
<div class="absolute inset-y-0 end-0 flex items-center pointer-events-none pe-4">
|
|
|
<svg class="shrink-0 size-4 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">
|
|
|
@@ -742,11 +816,11 @@
|
|
|
</label>
|
|
|
<div class="flex flex-col gap-2">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="samedi_travaille" id="samedi_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="samedi_travaille" id="samedi_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="samedi_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="samedi_travaille" id="samedi_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="samedi_travaille" id="samedi_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="samedi_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -759,23 +833,23 @@
|
|
|
</label>
|
|
|
<div class="flex flex-col gap-2">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="jour_repos" id="repos_lundi" value="lundi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="jour_repos" id="repos_lundi" value="lundi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="repos_lundi" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Lundi</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="jour_repos" id="repos_mardi" value="mardi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="jour_repos" id="repos_mardi" value="mardi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="repos_mardi" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Mardi</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="jour_repos" id="repos_mercredi" value="mercredi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="jour_repos" id="repos_mercredi" value="mercredi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="repos_mercredi" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Mercredi</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="jour_repos" id="repos_jeudi" value="jeudi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="jour_repos" id="repos_jeudi" value="jeudi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="repos_jeudi" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Jeudi</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="jour_repos" id="repos_vendredi" value="vendredi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="jour_repos" id="repos_vendredi" value="vendredi" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="repos_vendredi" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Vendredi</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -783,12 +857,12 @@
|
|
|
|
|
|
<!-- Qui sera son manager ? -->
|
|
|
<div class="md:col-span-2">
|
|
|
- <label for="manager_cdd" class="block text-sm font-medium mb-2 dark:text-white">
|
|
|
+ <label for="manager_cdd" class="block text-sm font-medium mb-2 text-gray-700 dark:text-neutral-300">
|
|
|
QUI SERA SON MANAGER ? <span class="text-red-500">*</span>
|
|
|
</label>
|
|
|
<input type="text" id="manager_cdd" name="manager_cdd" required
|
|
|
- class="py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
- placeholder="">
|
|
|
+ class="py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"
|
|
|
+ placeholder="Ex: Sophie BERNARD">
|
|
|
<p class="text-xs text-gray-500 mt-1 dark:text-neutral-500">Auto-complétion disponible</p>
|
|
|
</div>
|
|
|
|
|
|
@@ -799,11 +873,11 @@
|
|
|
</label>
|
|
|
<div class="flex flex-col gap-2">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="est_manager" id="est_manager_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="est_manager" id="est_manager_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="est_manager_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="est_manager" id="est_manager_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="est_manager" id="est_manager_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="est_manager_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -830,7 +904,7 @@
|
|
|
</label>
|
|
|
<div class="flex items-center gap-2">
|
|
|
<input type="text" id="add_personne_libre" placeholder="Prénom NOM"
|
|
|
- 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-900 dark:border-neutral-700 dark:text-neutral-400">
|
|
|
+ class="py-2 px-3 block w-full border border-gray-200 rounded-lg text-sm focus:border-[#21B6BA] focus:ring-[#21B6BA] dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400">
|
|
|
<button type="button" id="btn_add_personne" class="py-2 px-4 inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-[#21B6BA] text-white hover:bg-[#1AA5A9] disabled:opacity-50 disabled:pointer-events-none whitespace-nowrap">
|
|
|
<svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
<path d="M5 12h14"/><path d="M12 5v14"/>
|
|
|
@@ -1054,11 +1128,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="temps_partiel" id="temps_partiel_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="temps_partiel" id="temps_partiel_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="temps_partiel_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="temps_partiel" id="temps_partiel_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="temps_partiel" id="temps_partiel_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="temps_partiel_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1138,7 +1212,7 @@
|
|
|
</label>
|
|
|
<div class="relative">
|
|
|
<input type="text" id="salaire_35h" name="salaire_35h" readonly
|
|
|
- class="py-2.5 sm:py-3 px-4 ps-9 pe-16 block w-full border border-gray-200 rounded-lg sm:text-sm bg-gray-100 text-gray-500 cursor-not-allowed dark:bg-neutral-700 dark:border-neutral-700 dark:text-neutral-400"
|
|
|
+ class="readonly-field py-2.5 sm:py-3 px-4 ps-9 pe-16 block w-full border border-gray-200 rounded-lg sm:text-sm dark:border-neutral-700"
|
|
|
placeholder="0.00">
|
|
|
<div class="absolute inset-y-0 start-0 flex items-center pointer-events-none z-20 ps-4">
|
|
|
<span class="text-gray-500 dark:text-neutral-500">€</span>
|
|
|
@@ -1157,11 +1231,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="remuneration_variable" id="remuneration_variable_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="remuneration_variable" id="remuneration_variable_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="remuneration_variable_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="remuneration_variable" id="remuneration_variable_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="remuneration_variable" id="remuneration_variable_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="remuneration_variable_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1202,11 +1276,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="vehicule" id="vehicule_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="vehicule" id="vehicule_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="vehicule_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="vehicule" id="vehicule_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="vehicule" id="vehicule_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="vehicule_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1270,7 +1344,7 @@
|
|
|
</label>
|
|
|
<div class="flex gap-2">
|
|
|
<input type="text" id="compte_windows" name="compte_windows" readonly
|
|
|
- class="py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm bg-gray-50 text-gray-700 dark:bg-neutral-700 dark:border-neutral-600 dark:text-neutral-300"
|
|
|
+ class="readonly-field py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm dark:border-neutral-600"
|
|
|
value="augustin.podvin">
|
|
|
<button type="button" onclick="copierTexte('compte_windows', event)" class="py-2.5 sm:py-3 px-4 inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-[#21B6BA] text-white hover:bg-[#1AA5A9] focus:outline-hidden focus:bg-[#1AA5A9] disabled:opacity-50 disabled:pointer-events-none">
|
|
|
<svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
@@ -1289,7 +1363,7 @@
|
|
|
</label>
|
|
|
<div class="flex gap-2">
|
|
|
<input type="text" id="compte_office365" name="compte_office365" readonly
|
|
|
- class="py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm bg-gray-50 text-gray-700 dark:bg-neutral-700 dark:border-neutral-600 dark:text-neutral-300"
|
|
|
+ class="readonly-field py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm dark:border-neutral-600"
|
|
|
value="augustin.podvin@sipa-automobiles.fr">
|
|
|
<button type="button" onclick="copierTexte('compte_office365', event)" class="py-2.5 sm:py-3 px-4 inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-[#21B6BA] text-white hover:bg-[#1AA5A9] focus:outline-hidden focus:bg-[#1AA5A9] disabled:opacity-50 disabled:pointer-events-none">
|
|
|
<svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
@@ -1308,7 +1382,7 @@
|
|
|
</label>
|
|
|
<div class="flex gap-2">
|
|
|
<input type="text" id="mot_de_passe" name="mot_de_passe" readonly
|
|
|
- class="py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm bg-gray-50 text-gray-700 dark:bg-neutral-700 dark:border-neutral-600 dark:text-neutral-300"
|
|
|
+ class="readonly-field py-2.5 sm:py-3 px-4 block w-full border border-gray-200 rounded-lg sm:text-sm dark:border-neutral-600"
|
|
|
value="Sip@OGU4my">
|
|
|
<button type="button" onclick="copierTexte('mot_de_passe', event)" class="py-2.5 sm:py-3 px-4 inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-[#21B6BA] text-white hover:bg-[#1AA5A9] focus:outline-hidden focus:bg-[#1AA5A9] disabled:opacity-50 disabled:pointer-events-none">
|
|
|
<svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
@@ -1327,7 +1401,7 @@
|
|
|
<h3 class="text-base font-semibold text-gray-800 dark:text-white">TÉLÉPHONE MOBILE</h3>
|
|
|
<label for="switch-telephone-mobile" class="relative inline-flex items-center cursor-pointer">
|
|
|
<input type="checkbox" id="switch-telephone-mobile" class="sr-only peer">
|
|
|
- <div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-hidden peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer dark:bg-neutral-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-neutral-600 peer-checked:bg-blue-600"></div>
|
|
|
+ <div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-hidden peer-focus:ring-4 peer-focus:ring-[#21B6BA]/30 rounded-full peer dark:bg-neutral-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-neutral-600 peer-checked:bg-[#21B6BA]"></div>
|
|
|
</label>
|
|
|
</div>
|
|
|
|
|
|
@@ -1338,11 +1412,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="recupere_mobile" id="recupere_mobile_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="recupere_mobile" id="recupere_mobile_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="recupere_mobile_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="recupere_mobile" id="recupere_mobile_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="recupere_mobile" id="recupere_mobile_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="recupere_mobile_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1365,11 +1439,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="nouveau_mobile" id="mobile_iphone" value="iphone" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="nouveau_mobile" id="mobile_iphone" value="iphone" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="mobile_iphone" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">IPHONE</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="nouveau_mobile" id="mobile_android" value="android" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="nouveau_mobile" id="mobile_android" value="android" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="mobile_android" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">ANDROID</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1383,7 +1457,7 @@
|
|
|
<h3 class="text-base font-semibold text-gray-800 dark:text-white">TÉLÉPHONE FIXE</h3>
|
|
|
<label for="switch-telephone-fixe" class="relative inline-flex items-center cursor-pointer">
|
|
|
<input type="checkbox" id="switch-telephone-fixe" class="sr-only peer">
|
|
|
- <div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-hidden peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer dark:bg-neutral-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-neutral-600 peer-checked:bg-blue-600"></div>
|
|
|
+ <div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-hidden peer-focus:ring-4 peer-focus:ring-[#21B6BA]/30 rounded-full peer dark:bg-neutral-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-neutral-600 peer-checked:bg-[#21B6BA]"></div>
|
|
|
</label>
|
|
|
</div>
|
|
|
|
|
|
@@ -1394,11 +1468,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="recupere_telephone" id="recupere_telephone_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="recupere_telephone" id="recupere_telephone_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="recupere_telephone_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="recupere_telephone" id="recupere_telephone_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="recupere_telephone" id="recupere_telephone_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="recupere_telephone_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1421,11 +1495,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="nouveau_tel_fixe" id="tel_classique" value="classique" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="nouveau_tel_fixe" id="tel_classique" value="classique" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="tel_classique" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">POSTE CLASSIQUE</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="nouveau_tel_fixe" id="tel_sans_fil" value="sans_fil" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="nouveau_tel_fixe" id="tel_sans_fil" value="sans_fil" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="tel_sans_fil" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">POSTE SANS FIL</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1439,7 +1513,7 @@
|
|
|
<h3 class="text-base font-semibold text-gray-800 dark:text-white">ORDINATEUR</h3>
|
|
|
<label for="switch-ordinateur" class="relative inline-flex items-center cursor-pointer">
|
|
|
<input type="checkbox" id="switch-ordinateur" class="sr-only peer">
|
|
|
- <div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-hidden peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer dark:bg-neutral-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-neutral-600 peer-checked:bg-blue-600"></div>
|
|
|
+ <div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-hidden peer-focus:ring-4 peer-focus:ring-[#21B6BA]/30 rounded-full peer dark:bg-neutral-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-neutral-600 peer-checked:bg-[#21B6BA]"></div>
|
|
|
</label>
|
|
|
</div>
|
|
|
|
|
|
@@ -1452,11 +1526,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="recupere_pc" id="recupere_pc_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="recupere_pc" id="recupere_pc_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="recupere_pc_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="recupere_pc" id="recupere_pc_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="radio" name="recupere_pc" id="recupere_pc_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="recupere_pc_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1469,11 +1543,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="nouveau_pc" id="pc_fixe" value="fixe" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="nouveau_pc" id="pc_fixe" value="fixe" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="pc_fixe" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Fixe</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="nouveau_pc" id="pc_portable" value="portable" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="nouveau_pc" id="pc_portable" value="portable" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="pc_portable" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Portable</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1486,11 +1560,11 @@
|
|
|
</label>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="ecran_supplementaire" id="ecran_supp_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="ecran_supplementaire" id="ecran_supp_oui" value="oui" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ecran_supp_oui" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Oui</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="radio" name="ecran_supplementaire" id="ecran_supp_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="radio" name="ecran_supplementaire" id="ecran_supp_non" value="non" class="shrink-0 mt-0.5 border-gray-200 rounded-full text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ecran_supp_non" class="text-sm text-gray-700 ms-2 dark:text-neutral-400">Non</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1514,27 +1588,27 @@
|
|
|
</label>
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-2">
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="logiciels[]" value="office365" id="log_office" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="logiciels[]" value="office365" id="log_office" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="log_office" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">Office 365</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="logiciels[]" value="teams" id="log_teams" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="logiciels[]" value="teams" id="log_teams" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="log_teams" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">Microsoft Teams</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="logiciels[]" value="crm" id="log_crm" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="logiciels[]" value="crm" id="log_crm" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="log_crm" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">CRM (Salesforce)</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="logiciels[]" value="erp" id="log_erp" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="logiciels[]" value="erp" id="log_erp" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="log_erp" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">ERP</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="logiciels[]" value="adobe" id="log_adobe" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="logiciels[]" value="adobe" id="log_adobe" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="log_adobe" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">Suite Adobe</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="logiciels[]" value="autocad" id="log_autocad" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="logiciels[]" value="autocad" id="log_autocad" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="log_autocad" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">AutoCAD</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1553,43 +1627,43 @@
|
|
|
</label>
|
|
|
<div class="space-y-2">
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_ADMINISTRATIF_VN_HYUNDAI_AUTO_33" id="ld_admin_vn_hyundai" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800" checked>
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_ADMINISTRATIF_VN_HYUNDAI_AUTO_33" id="ld_admin_vn_hyundai" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800" checked>
|
|
|
<label for="ld_admin_vn_hyundai" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_ADMINISTRATIF_VN_HYUNDAI_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_ADMINISTRATIF_VN_VO_FCA_AUTO_33" id="ld_admin_vn_vo_fca" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_ADMINISTRATIF_VN_VO_FCA_AUTO_33" id="ld_admin_vn_vo_fca" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_admin_vn_vo_fca" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_ADMINISTRATIF_VN_VO_FCA_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_COMPTABILITE_AUTO_33" id="ld_comptabilite" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_COMPTABILITE_AUTO_33" id="ld_comptabilite" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_comptabilite" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_COMPTABILITE_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_FIAT_AUTO_33" id="ld_fiat" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_FIAT_AUTO_33" id="ld_fiat" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_fiat" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_FIAT_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_MAGASIN_AUTO_33" id="ld_magasin" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_MAGASIN_AUTO_33" id="ld_magasin" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_magasin" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_MAGASIN_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_RESTITUTION_LOA_LLD_AUTO_33" id="ld_restitution" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_RESTITUTION_LOA_LLD_AUTO_33" id="ld_restitution" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_restitution" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_RESTITUTION_LOA_LLD_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_SAV_AUTO_33" id="ld_sav" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_SAV_AUTO_33" id="ld_sav" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_sav" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_SAV_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_SERVICE_VN_FIAT_AUTO_33" id="ld_service_vn_fiat" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_SERVICE_VN_FIAT_AUTO_33" id="ld_service_vn_fiat" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_service_vn_fiat" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_SERVICE_VN_FIAT_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_SERVICE_VN_HYUNDAI_AUTO_33" id="ld_service_vn_hyundai" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_SERVICE_VN_HYUNDAI_AUTO_33" id="ld_service_vn_hyundai" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_service_vn_hyundai" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_SERVICE_VN_HYUNDAI_AUTO_33</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_SERVICE_VO_AUTO_33" id="ld_service_vo" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_SERVICE_VO_AUTO_33" id="ld_service_vo" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_service_vo" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_SERVICE_VO_AUTO_33</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1602,47 +1676,47 @@
|
|
|
</label>
|
|
|
<div class="space-y-2">
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_COMPTABILITES" id="ld_comptabilites" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_COMPTABILITES" id="ld_comptabilites" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_comptabilites" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_COMPTABILITES</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_DIRECTEURS" id="ld_directeurs" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_DIRECTEURS" id="ld_directeurs" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_directeurs" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_DIRECTEURS</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_SECRETAIRES_APV" id="ld_secretaires_apv" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_SECRETAIRES_APV" id="ld_secretaires_apv" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_secretaires_apv" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_SECRETAIRES_APV</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_SECRETAIRES_VN" id="ld_secretaires_vn" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_SECRETAIRES_VN" id="ld_secretaires_vn" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_secretaires_vn" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_SECRETAIRES_VN</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_SECRETAIRES_VO" id="ld_secretaires_vo" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_SECRETAIRES_VO" id="ld_secretaires_vo" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_secretaires_vo" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_SECRETAIRES_VO</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_APV_SIPA" id="ld_resp_apv" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_APV_SIPA" id="ld_resp_apv" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_resp_apv" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_RESPONSABLES_APV_SIPA</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_ATELIER_SIPA" id="ld_resp_atelier" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_ATELIER_SIPA" id="ld_resp_atelier" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_resp_atelier" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_RESPONSABLES_ATELIER_SIPA</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_MAGASIN_SIPA" id="ld_resp_magasin" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_MAGASIN_SIPA" id="ld_resp_magasin" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_resp_magasin" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_RESPONSABLES_MAGASIN_SIPA</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_VN_SIPA" id="ld_resp_vn" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_VN_SIPA" id="ld_resp_vn" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_resp_vn" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_RESPONSABLES_VN_SIPA</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_VO_SIPA" id="ld_resp_vo" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_RESPONSABLES_VO_SIPA" id="ld_resp_vo" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_resp_vo" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_RESPONSABLES_VO_SIPA</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="listes_diffusion[]" value="LD_MDS" id="ld_mds" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="listes_diffusion[]" value="LD_MDS" id="ld_mds" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="ld_mds" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">LD_MDS</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1657,15 +1731,15 @@
|
|
|
</label>
|
|
|
<div class="space-y-2">
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="acces[]" value="vpn" id="acc_vpn" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="acces[]" value="vpn" id="acc_vpn" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="acc_vpn" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">Accès VPN</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="acces[]" value="serveur_fichiers" id="acc_files" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="acces[]" value="serveur_fichiers" id="acc_files" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="acc_files" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">Serveur de fichiers</label>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
- <input type="checkbox" name="acces[]" value="admin" id="acc_admin" class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800">
|
|
|
+ <input type="checkbox" name="acces[]" value="admin" id="acc_admin" class="shrink-0 mt-0.5 border-gray-200 rounded text-[#21B6BA] focus:ring-[#21B6BA] disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-[#21B6BA] dark:checked:border-[#21B6BA] dark:focus:ring-offset-gray-800">
|
|
|
<label for="acc_admin" class="text-sm text-gray-700 ms-3 dark:text-neutral-400">Droits administrateur</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -2112,6 +2186,9 @@
|
|
|
}
|
|
|
|
|
|
selectedPersons.push(trimmedName);
|
|
|
+
|
|
|
+ // Marquer le formulaire comme modifié
|
|
|
+ markFormAsModified();
|
|
|
|
|
|
// Créer le badge
|
|
|
const badge = document.createElement('span');
|
|
|
@@ -2141,6 +2218,9 @@
|
|
|
if (index > -1) {
|
|
|
selectedPersons.splice(index, 1);
|
|
|
}
|
|
|
+
|
|
|
+ // Marquer le formulaire comme modifié
|
|
|
+ markFormAsModified();
|
|
|
|
|
|
// Animation de sortie
|
|
|
badgeElement.style.animation = 'slideOutBadge 0.2s ease-in';
|
|
|
@@ -2762,22 +2842,195 @@
|
|
|
|
|
|
// Gestion de la soumission du formulaire
|
|
|
const form = document.getElementById('integration-form');
|
|
|
+ const submitButton = form.querySelector('button[type="submit"]');
|
|
|
+
|
|
|
+ // Variable pour suivre si le formulaire a été modifié
|
|
|
+ let formModified = false;
|
|
|
+ let formSubmitted = false;
|
|
|
+
|
|
|
+ // Fonction pour marquer le formulaire comme modifié
|
|
|
+ function markFormAsModified() {
|
|
|
+ if (!formSubmitted) {
|
|
|
+ formModified = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // Écouter les modifications sur tous les champs du formulaire
|
|
|
+ const formInputs = form.querySelectorAll('input, select, textarea');
|
|
|
+ formInputs.forEach(input => {
|
|
|
+ // Ignorer les champs readonly et les boutons
|
|
|
+ if (input.readOnly || input.disabled || input.type === 'button' || input.type === 'submit') {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Écouter les changements selon le type de champ
|
|
|
+ if (input.type === 'checkbox' || input.type === 'radio') {
|
|
|
+ input.addEventListener('change', markFormAsModified);
|
|
|
+ } else {
|
|
|
+ input.addEventListener('input', markFormAsModified);
|
|
|
+ input.addEventListener('change', markFormAsModified);
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ // Écouter les changements sur les fichiers
|
|
|
+ const fileInputs = form.querySelectorAll('input[type="file"]');
|
|
|
+ fileInputs.forEach(input => {
|
|
|
+ input.addEventListener('change', markFormAsModified);
|
|
|
+ });
|
|
|
+
|
|
|
+ // Afficher une alerte avant de quitter la page si le formulaire a été modifié
|
|
|
+ window.addEventListener('beforeunload', function(e) {
|
|
|
+ if (formModified && !formSubmitted) {
|
|
|
+ // Message standard pour les navigateurs modernes
|
|
|
+ e.preventDefault();
|
|
|
+ // Chrome nécessite que returnValue soit défini
|
|
|
+ e.returnValue = '';
|
|
|
+ // Message personnalisé (la plupart des navigateurs modernes l'ignorent)
|
|
|
+ return 'Vous avez des modifications non sauvegardées. Êtes-vous sûr de vouloir quitter cette page ?';
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
form.addEventListener('submit', function(e) {
|
|
|
e.preventDefault();
|
|
|
|
|
|
// Validation personnalisée
|
|
|
const validationLecture = document.getElementById('validation_lecture');
|
|
|
if (!validationLecture.checked) {
|
|
|
- alert('Veuillez confirmer la lecture et la vérification des informations.');
|
|
|
+ showNotification('error', 'Veuillez confirmer la lecture et la vérification des informations.');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Vérifier la validité du formulaire
|
|
|
+ if (!form.checkValidity()) {
|
|
|
+ form.reportValidity();
|
|
|
+ showNotification('error', 'Veuillez remplir tous les champs requis.');
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- // Ici, vous pouvez ajouter le code pour envoyer le formulaire via AJAX
|
|
|
- alert('Demande d\'intégration soumise avec succès !');
|
|
|
+ // Marquer le formulaire comme soumis pour désactiver l'alerte
|
|
|
+ formSubmitted = true;
|
|
|
+ formModified = false;
|
|
|
+
|
|
|
+ // Désactiver le bouton et afficher le spinner
|
|
|
+ submitButton.disabled = true;
|
|
|
+ const originalButtonContent = submitButton.innerHTML;
|
|
|
+ submitButton.innerHTML = `
|
|
|
+ <svg class="animate-spin inline-block size-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
|
+ <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
|
|
+ <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
|
|
|
+ </svg>
|
|
|
+ Envoi en cours...
|
|
|
+ `;
|
|
|
|
|
|
- // Redirection ou autre action
|
|
|
- // window.location.href = 'confirmation.php';
|
|
|
+ // Simuler l'envoi AJAX (remplacer par votre code d'envoi réel)
|
|
|
+ setTimeout(() => {
|
|
|
+ // Restaurer le bouton
|
|
|
+ submitButton.disabled = false;
|
|
|
+ submitButton.innerHTML = originalButtonContent;
|
|
|
+
|
|
|
+ // Afficher la notification de succès
|
|
|
+ showNotification('success', 'Demande d\'intégration soumise avec succès !');
|
|
|
+
|
|
|
+ // Redirection après 2 secondes (optionnel)
|
|
|
+ // setTimeout(() => {
|
|
|
+ // window.location.href = 'confirmation.php';
|
|
|
+ // }, 2000);
|
|
|
+ }, 1500);
|
|
|
});
|
|
|
+
|
|
|
+ // Gérer le bouton "Enregistrer en brouillon" pour désactiver l'alerte
|
|
|
+ const buttons = form.querySelectorAll('button[type="button"]');
|
|
|
+ buttons.forEach(button => {
|
|
|
+ const buttonText = button.textContent.trim().toLowerCase();
|
|
|
+
|
|
|
+ if (buttonText.includes('brouillon')) {
|
|
|
+ button.addEventListener('click', function() {
|
|
|
+ // Ici vous pouvez ajouter la logique de sauvegarde en brouillon
|
|
|
+ // Après la sauvegarde réussie, désactiver l'alerte :
|
|
|
+ // formSubmitted = true;
|
|
|
+ // formModified = false;
|
|
|
+ showNotification('info', 'Brouillon enregistré avec succès.');
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ // Gérer le bouton "Annuler" - désactiver l'alerte si l'utilisateur confirme
|
|
|
+ if (buttonText.includes('annuler')) {
|
|
|
+ button.addEventListener('click', function(e) {
|
|
|
+ if (formModified && !formSubmitted) {
|
|
|
+ const confirmLeave = confirm('Vous avez des modifications non sauvegardées. Êtes-vous sûr de vouloir annuler ?');
|
|
|
+ if (confirmLeave) {
|
|
|
+ formSubmitted = true;
|
|
|
+ formModified = false;
|
|
|
+ // Rediriger ou réinitialiser le formulaire
|
|
|
+ // window.location.href = 'index.php'; // Exemple de redirection
|
|
|
+ } else {
|
|
|
+ e.preventDefault();
|
|
|
+ e.stopPropagation();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ // Fonction pour afficher les notifications Preline
|
|
|
+ function showNotification(type, message) {
|
|
|
+ // Créer le conteneur de notification s'il n'existe pas
|
|
|
+ let notificationContainer = document.getElementById('notification-container');
|
|
|
+ if (!notificationContainer) {
|
|
|
+ notificationContainer = document.createElement('div');
|
|
|
+ notificationContainer.id = 'notification-container';
|
|
|
+ notificationContainer.className = 'fixed top-4 right-4 z-50 space-y-3';
|
|
|
+ document.body.appendChild(notificationContainer);
|
|
|
+ }
|
|
|
+
|
|
|
+ // Déterminer les couleurs selon le type
|
|
|
+ const colors = {
|
|
|
+ success: {
|
|
|
+ bg: 'bg-green-500',
|
|
|
+ icon: `<svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"></path><path d="m9 12 2 2 4-4"></path></svg>`
|
|
|
+ },
|
|
|
+ error: {
|
|
|
+ bg: 'bg-red-500',
|
|
|
+ icon: `<svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"></path><path d="M12 9v4"></path><path d="M12 17h.01"></path></svg>`
|
|
|
+ },
|
|
|
+ info: {
|
|
|
+ bg: 'bg-blue-500',
|
|
|
+ icon: `<svg class="shrink-0 size-5" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M12 16v-4"></path><path d="M12 8h.01"></path></svg>`
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
+ const color = colors[type] || colors.info;
|
|
|
+
|
|
|
+ // Créer la notification
|
|
|
+ const notification = document.createElement('div');
|
|
|
+ notification.className = `${color.bg} text-white rounded-lg shadow-lg p-4 min-w-[300px] max-w-md flex items-center gap-3 animate-fade-in-up`;
|
|
|
+ notification.innerHTML = `
|
|
|
+ ${color.icon}
|
|
|
+ <p class="text-sm font-medium flex-1">${message}</p>
|
|
|
+ <button type="button" class="inline-flex shrink-0 justify-center items-center size-5 rounded-lg text-white hover:bg-white/20 focus:outline-none focus:bg-white/20">
|
|
|
+ <svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg>
|
|
|
+ </button>
|
|
|
+ `;
|
|
|
+
|
|
|
+ // Ajouter l'événement de fermeture
|
|
|
+ const closeBtn = notification.querySelector('button');
|
|
|
+ closeBtn.addEventListener('click', () => {
|
|
|
+ notification.style.animation = 'fadeOutUp 0.3s ease-out';
|
|
|
+ setTimeout(() => notification.remove(), 300);
|
|
|
+ });
|
|
|
+
|
|
|
+ // Ajouter au conteneur
|
|
|
+ notificationContainer.appendChild(notification);
|
|
|
+
|
|
|
+ // Auto-fermeture après 5 secondes
|
|
|
+ setTimeout(() => {
|
|
|
+ if (notification.parentElement) {
|
|
|
+ notification.style.animation = 'fadeOutUp 0.3s ease-out';
|
|
|
+ setTimeout(() => notification.remove(), 300);
|
|
|
+ }
|
|
|
+ }, 5000);
|
|
|
+ }
|
|
|
|
|
|
// Fallback pour les tooltips Preline - s'assurer qu'ils fonctionnent
|
|
|
function initTooltips() {
|