Kaynağa Gözat

SIPA: ajustements actions / menu

augustin.podvin 11 ay önce
ebeveyn
işleme
5e37fa2923
3 değiştirilmiş dosya ile 98 ekleme ve 3 silme
  1. 1 1
      directeur-actions.php
  2. 1 1
      directeur.php
  3. 96 1
      menu.php

+ 1 - 1
directeur-actions.php

@@ -43,7 +43,7 @@
               <!-- End Card -->
 
               <!-- Card: Nouvelle demande d'avenant -->
-              <a class="group flex flex-col bg-white border border-gray-200 shadow-2xs rounded-xl hover:shadow-md focus:outline-hidden focus:shadow-md transition dark:bg-neutral-900 dark:border-neutral-800" href="#">
+              <a class="group flex flex-col bg-white border border-gray-200 shadow-2xs rounded-xl hover:shadow-md focus:outline-hidden focus:shadow-md transition dark:bg-neutral-900 dark:border-neutral-800" href="index.php#nouvelle-demande-avenant">
                 <div class="p-6 md:p-7">
                   <div class="flex gap-x-5">
                     <svg class="mt-1 shrink-0 size-6 text-gray-800 dark:text-neutral-200" 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="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>

+ 1 - 1
directeur.php

@@ -80,7 +80,7 @@
               <!-- End Card -->
 
               <!-- Card: Nouvelle demande d'avenant -->
-              <a class="group hover-custom flex flex-col bg-white border border-gray-200 shadow-2xs rounded-xl hover:shadow-md focus:outline-hidden focus:shadow-md transition dark:bg-neutral-900 dark:border-neutral-800" href="#">
+              <a class="group hover-custom flex flex-col bg-white border border-gray-200 shadow-2xs rounded-xl hover:shadow-md focus:outline-hidden focus:shadow-md transition dark:bg-neutral-900 dark:border-neutral-800" href="index.php#nouvelle-demande-avenant">
                 <div class="p-6 md:p-7">
                   <div class="flex gap-x-5">
                     <svg class="mt-1 shrink-0 size-6 text-gray-800 dark:text-neutral-200" 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="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>

+ 96 - 1
menu.php

@@ -636,7 +636,102 @@ document.addEventListener('DOMContentLoaded', function() {
       </div>
 
       <div id="nouvelle-demande-avenant" class="min-h-100 scroll-mt-24">
-        <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Nouvelle demande d'avenant</h2>
+        <h2 class="text-lg font-semibold text-gray-800 dark:text-white mb-6">Nouvelle demande d'avenant</h2>
+        <p class="text-sm text-gray-600 dark:text-neutral-400 mb-8">Sélectionnez le type de demande d'avenant que vous souhaitez créer</p>
+        
+        <!-- Grid des liens avenant -->
+        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-4 md:gap-6">
+          
+          <!-- Card: Demande d'avenant principale -->
+          <a class="group flex flex-col bg-white border border-gray-200 shadow-2xs rounded-xl hover:shadow-md focus:outline-hidden focus:shadow-md transition dark:bg-neutral-900 dark:border-neutral-800" href="demande-avenant.php">
+            <div class="p-6 md:p-7">
+              <div class="flex gap-x-5">
+                <svg class="mt-1 shrink-0 size-6 text-[#21B6BA] dark:text-[#21B6BA]" 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="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/>
+                  <path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/>
+                </svg>
+                <div class="grow">
+                  <h3 class="group-hover:text-[#21B6BA] font-semibold text-gray-800 dark:group-hover:text-[#21B6BA] dark:text-neutral-200">
+                    Demande d'avenant
+                  </h3>
+                  <p class="text-sm text-gray-500 dark:text-neutral-500 mt-1">
+                    Créer une nouvelle demande d'avenant au contrat
+                  </p>
+                </div>
+              </div>
+            </div>
+          </a>
+          <!-- End Card -->
+
+          <!-- Card: Demande d'avenant 2 -->
+          <a class="group flex flex-col bg-white border border-gray-200 shadow-2xs rounded-xl hover:shadow-md focus:outline-hidden focus:shadow-md transition dark:bg-neutral-900 dark:border-neutral-800" href="demande-avenant2.php">
+            <div class="p-6 md:p-7">
+              <div class="flex gap-x-5">
+                <svg class="mt-1 shrink-0 size-6 text-[#21B6BA] dark:text-[#21B6BA]" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
+                  <path d="M4 20h16"/>
+                  <path d="M6 16l6-6 6 6"/>
+                  <path d="M12 4v12"/>
+                </svg>
+                <div class="grow">
+                  <h3 class="group-hover:text-[#21B6BA] font-semibold text-gray-800 dark:group-hover:text-[#21B6BA] dark:text-neutral-200">
+                    Demande d'avenant (Formulaire 2)
+                  </h3>
+                  <p class="text-sm text-gray-500 dark:text-neutral-500 mt-1">
+                    Formulaire alternatif pour créer une demande d'avenant
+                  </p>
+                </div>
+              </div>
+            </div>
+          </a>
+          <!-- End Card -->
+
+          <!-- Card: Demande RH Avenant -->
+          <a class="group flex flex-col bg-white border border-gray-200 shadow-2xs rounded-xl hover:shadow-md focus:outline-hidden focus:shadow-md transition dark:bg-neutral-900 dark:border-neutral-800" href="demande-rh-avenant.php">
+            <div class="p-6 md:p-7">
+              <div class="flex gap-x-5">
+                <svg class="mt-1 shrink-0 size-6 text-[#21B6BA] dark:text-[#21B6BA]" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
+                  <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
+                  <circle cx="9" cy="7" r="4"/>
+                  <line x1="19" x2="19" y1="8" y2="14"/>
+                  <line x1="22" x2="16" y1="11" y2="11"/>
+                </svg>
+                <div class="grow">
+                  <h3 class="group-hover:text-[#21B6BA] font-semibold text-gray-800 dark:group-hover:text-[#21B6BA] dark:text-neutral-200">
+                    Demande RH Avenant
+                  </h3>
+                  <p class="text-sm text-gray-500 dark:text-neutral-500 mt-1">
+                    Créer une demande d'avenant pour les ressources humaines
+                  </p>
+                </div>
+              </div>
+            </div>
+          </a>
+          <!-- End Card -->
+
+          <!-- Card: Demande IT Avenant -->
+          <a class="group flex flex-col bg-white border border-gray-200 shadow-2xs rounded-xl hover:shadow-md focus:outline-hidden focus:shadow-md transition dark:bg-neutral-900 dark:border-neutral-800" href="demande-it-avenant.php">
+            <div class="p-6 md:p-7">
+              <div class="flex gap-x-5">
+                <svg class="mt-1 shrink-0 size-6 text-[#21B6BA] dark:text-[#21B6BA]" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
+                  <rect x="2" y="3" width="20" height="14" rx="2" ry="2"/>
+                  <line x1="8" y1="21" x2="16" y2="21"/>
+                  <line x1="12" y1="17" x2="12" y2="21"/>
+                </svg>
+                <div class="grow">
+                  <h3 class="group-hover:text-[#21B6BA] font-semibold text-gray-800 dark:group-hover:text-[#21B6BA] dark:text-neutral-200">
+                    Demande IT Avenant
+                  </h3>
+                  <p class="text-sm text-gray-500 dark:text-neutral-500 mt-1">
+                    Créer une demande d'avenant pour les ressources informatiques
+                  </p>
+                </div>
+              </div>
+            </div>
+          </a>
+          <!-- End Card -->
+
+        </div>
+        <!-- End Grid -->
       </div>
 
       <div id="mes-demandes" class="min-h-100 scroll-mt-24">