artisanpro / index.html
RADCOMPUTER's picture
Add 2 files
c7a9f72 verified
Raw History Blame Contribute Delete
78.3 kB
<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>ArtisanPro - Gestion Commerciale</title> <script src="https://cdn.tailwindcss.com"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> .sidebar-collapsed { width: 70px !important; } .sidebar-collapsed .nav-text { display: none; } .sidebar-collapsed .logo-text { display: none; } .sidebar-collapsed .nav-item { justify-content: center; } @media (max-width: 768px) { .sidebar { width: 0; overflow: hidden; } .sidebar.active { width: 250px; } .main-content { margin-left: 0; } } .chart-container { position: relative; height: 300px; } </style> </head> <body class="bg-gray-100"> <!-- Top Navigation --> <nav class="bg-blue-800 text-white shadow-lg"> <div class="max-w-7xl mx-auto px-4"> <div class="flex justify-between items-center h-16"> <!-- Logo --> <div class="flex items-center"> <i class="fas fa-tools text-2xl mr-2"></i> <span class="text-xl font-semibold">ArtisanPro</span> </div> <!-- Primary Nav --> <div class="hidden md:flex space-x-1"> <a href="#dashboard" class="px-3 py-2 rounded-md text-sm font-medium bg-blue-900">Tableau de bord</a> <a href="#clients" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Clients</a> <a href="#fournisseurs" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Fournisseurs</a> <a href="#stock" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Stock</a> <a href="#documents" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Documents</a> <a href="#interventions" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Interventions</a> <a href="#comptabilite" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Comptabilité</a> <a href="#rapports" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Rapports</a> </div> <!-- User Menu --> <div class="ml-4 flex items-center md:ml-6"> <div class="ml-3 relative"> <div class="flex items-center cursor-pointer"> <span class="mr-2 hidden md:block">Jean Dupont</span> <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt=""> </div> </div> <button class="ml-4 p-1 rounded-full text-blue-200 hover:text-white focus:outline-none md:hidden" id="mobile-menu-button"> <i class="fas fa-bars text-xl"></i> </button> </div> </div> </div> <!-- Mobile menu --> <div class="md:hidden hidden" id="mobile-menu"> <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3 flex flex-col"> <a href="#dashboard" class="px-3 py-2 rounded-md text-sm font-medium bg-blue-900 block">Tableau de bord</a> <a href="#clients" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Clients</a> <a href="#fournisseurs" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Fournisseurs</a> <a href="#stock" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Stock</a> <a href="#documents" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Documents</a> <a href="#interventions" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Interventions</a> <a href="#comptabilite" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Comptabilité</a> <a href="#rapports" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Rapports</a> </div> </div> </nav> <!-- Main Content --> <div class="max-w-7xl mx-auto px-4 py-6 sm:px-6 lg:px-8"> <!-- Dashboard Section --> <section id="dashboard" class="mb-12"> <h1 class="text-2xl font-bold text-gray-800 mb-6">Tableau de bord</h1> <!-- Stats Cards --> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"> <div class="bg-white rounded-lg shadow p-6"> <div class="flex items-center"> <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4"> <i class="fas fa-users text-xl"></i> </div> <div> <p class="text-gray-500">Clients</p> <h3 class="text-2xl font-bold">248</h3> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6"> <div class="flex items-center"> <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4"> <i class="fas fa-truck text-xl"></i> </div> <div> <p class="text-gray-500">Fournisseurs</p> <h3 class="text-2xl font-bold">42</h3> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6"> <div class="flex items-center"> <div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4"> <i class="fas fa-tools text-xl"></i> </div> <div> <p class="text-gray-500">Interventions</p> <h3 class="text-2xl font-bold">18</h3> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6"> <div class="flex items-center"> <div class="p-3 rounded-full bg-red-100 text-red-600 mr-4"> <i class="fas fa-file-invoice-dollar text-xl"></i> </div> <div> <p class="text-gray-500">Factures impayées</p> <h3 class="text-2xl font-bold">7</h3> </div> </div> </div> </div> <!-- Charts and Tasks --> <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8"> <!-- Interventions Chart --> <div class="bg-white rounded-lg shadow p-6 lg:col-span-2"> <h2 class="text-lg font-semibold mb-4">Interventions en cours</h2> <div class="chart-container"> <canvas id="interventionsChart"></canvas> </div> </div> <!-- Urgent Tasks --> <div class="bg-white rounded-lg shadow p-6"> <h2 class="text-lg font-semibold mb-4">Tâches urgentes</h2> <div class="space-y-4"> <div class="flex items-start"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 flex items-center justify-center text-red-600 mr-3"> <i class="fas fa-exclamation"></i> </div> <div> <p class="font-medium">Intervention radio urgent</p> <p class="text-sm text-gray-500">Client: SNCF - Échéance: Aujourd'hui</p> </div> </div> <div class="flex items-start"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 mr-3"> <i class="fas fa-exclamation"></i> </div> <div> <p class="font-medium">Maintenance préventive</p> <p class="text-sm text-gray-500">Client: Hôpital - Échéance: Demain</p> </div> </div> <div class="flex items-start"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 mr-3"> <i class="fas fa-exclamation"></i> </div> <div> <p class="font-medium">Commande pièces détachées</p> <p class="text-sm text-gray-500">Fournisseur: RadioParts - Échéance: Vendredi</p> </div> </div> </div> </div> </div> <!-- Recent Documents --> <div class="bg-white rounded-lg shadow p-6"> <h2 class="text-lg font-semibold mb-4">Documents récents</h2> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Numéro</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Montant</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center text-blue-600"> <i class="fas fa-file-invoice"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Facture</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">FAC-2023-042</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">SNCF</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">15/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">1 245,00 €</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"> Payée </span> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-yellow-100 rounded-full flex items-center justify-center text-yellow-600"> <i class="fas fa-file-alt"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Devis</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">DEV-2023-078</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Hôpital</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">14/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">3 780,00 €</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> En attente </span> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-purple-100 rounded-full flex items-center justify-center text-purple-600"> <i class="fas fa-truck"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Bon livraison</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">BL-2023-065</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Gendarmerie</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">12/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">N/A</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"> Livré </span> </td> </tr> </tbody> </table> </div> </div> </section> <!-- Clients Section --> <section id="clients" class="mb-12 hidden"> <div class="flex justify-between items-center mb-6"> <h1 class="text-2xl font-bold text-gray-800">Gestion des Clients</h1> <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md flex items-center"> <i class="fas fa-plus mr-2"></i> Nouveau client </button> </div> <div class="bg-white rounded-lg shadow overflow-hidden"> <div class="p-4 border-b border-gray-200 flex justify-between items-center bg-gray-50"> <div class="flex items-center"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher client..."> </div> </div> <div class="flex items-center space-x-2"> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-filter mr-1"></i> Filtres </button> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-download mr-1"></i> Exporter </button> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nom</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Contact</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Secteur</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Dernière intervention</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Solde</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 mr-3"> <i class="fas fa-building"></i> </div> <div> <div class="font-medium text-gray-900">SNCF</div> <div class="text-sm text-gray-500">Transport ferroviaire</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Jean Martin</div> <div class="text-sm text-gray-500">jean.martin@sncf.fr</div> <div class="text-sm text-gray-500">01 23 45 67 89</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> Radiocom </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">15/06/2023</div> <div class="text-sm text-gray-500">Maintenance radio</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">0,00 €</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3"> <i class="fas fa-hospital"></i> </div> <div> <div class="font-medium text-gray-900">Hôpital de Paris</div> <div class="text-sm text-gray-500">Santé</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Marie Dubois</div> <div class="text-sm text-gray-500">marie.dubois@hopital-paris.fr</div> <div class="text-sm text-gray-500">01 98 76 54 32</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800"> Informatique </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">14/06/2023</div> <div class="text-sm text-gray-500">Migration serveur</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">1 245,00 €</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 flex items-center justify-center text-red-600 mr-3"> <i class="fas fa-shield-alt"></i> </div> <div> <div class="font-medium text-gray-900">Gendarmerie</div> <div class="text-sm text-gray-500">Sécurité publique</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Capitaine Durand</div> <div class="text-sm text-gray-500">c.durand@gendarmerie.fr</div> <div class="text-sm text-gray-500">01 45 67 89 01</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> Radiocom </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">12/06/2023</div> <div class="text-sm text-gray-500">Installation radio</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">3 780,00 €</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> </tbody> </table> </div> <div class="bg-gray-50 px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6"> <div class="flex-1 flex justify-between sm:hidden"> <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> Précédent </a> <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> Suivant </a> </div> <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> <div> <p class="text-sm text-gray-700"> Affichage de <span class="font-medium">1</span> à <span class="font-medium">3</span> sur <span class="font-medium">24</span> clients </p> </div> <div> <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Précédent</span> <i class="fas fa-chevron-left"></i> </a> <a href="#" aria-current="page" class="z-10 bg-blue-50 border-blue-500 text-blue-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 1 </a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 2 </a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 3 </a> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Suivant</span> <i class="fas fa-chevron-right"></i> </a> </nav> </div> </div> </div> </div> </section> <!-- Fournisseurs Section --> <section id="fournisseurs" class="mb-12 hidden"> <div class="flex justify-between items-center mb-6"> <h1 class="text-2xl font-bold text-gray-800">Gestion des Fournisseurs</h1> <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md flex items-center"> <i class="fas fa-plus mr-2"></i> Nouveau fournisseur </button> </div> <div class="bg-white rounded-lg shadow overflow-hidden"> <div class="p-4 border-b border-gray-200 flex justify-between items-center bg-gray-50"> <div class="flex items-center"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher fournisseur..."> </div> </div> <div class="flex items-center space-x-2"> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-filter mr-1"></i> Filtres </button> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-download mr-1"></i> Exporter </button> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nom</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Contact</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Spécialité</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Dernière commande</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 mr-3"> <i class="fas fa-microchip"></i> </div> <div> <div class="font-medium text-gray-900">RadioParts</div> <div class="text-sm text-gray-500">Pièces radiocom</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Paul Lefèvre</div> <div class="text-sm text-gray-500">p.lefevre@radioparts.fr</div> <div class="text-sm text-gray-500">02 34 56 78 90</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> Radiocom </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">10/06/2023</div> <div class="text-sm text-gray-500">CMD-2023-056</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3"> <i class="fas fa-laptop"></i> </div> <div> <div class="font-medium text-gray-900">InfoTech</div> <div class="text-sm text-gray-500">Matériel informatique</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Sophie Martin</div> <div class="text-sm text-gray-500">s.martin@infotech.fr</div> <div class="text-sm text-gray-500">03 45 67 89 01</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800"> Informatique </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">08/06/2023</div> <div class="text-sm text-gray-500">CMD-2023-049</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 flex items-center justify-center text-red-600 mr-3"> <i class="fas fa-plug"></i> </div> <div> <div class="font-medium text-gray-900">ElecComponents</div> <div class="text-sm text-gray-500">Composants électroniques</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Thomas Bernard</div> <div class="text-sm text-gray-500">t.bernard@eleccomponents.fr</div> <div class="text-sm text-gray-500">04 56 78 90 12</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800"> Électronique </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">05/06/2023</div> <div class="text-sm text-gray-500">CMD-2023-042</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> </tbody> </table> </div> <div class="bg-gray-50 px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6"> <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> <div> <p class="text-sm text-gray-700"> Affichage de <span class="font-medium">1</span> à <span class="font-medium">3</span> sur <span class="font-medium">15</span> fournisseurs </p> </div> <div> <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Précédent</span> <i class="fas fa-chevron-left"></i> </a> <a href="#" aria-current="page" class="z-10 bg-blue-50 border-blue-500 text-blue-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 1 </a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 2 </a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 3 </a> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Suivant</span> <i class="fas fa-chevron-right"></i> </a> </nav> </div> </div> </div> </div> </section> <!-- Stock Section --> <section id="stock" class="mb-12 hidden"> <div class="flex justify-between items-center mb-6"> <h1 class="text-2xl font-bold text-gray-800">Gestion du Stock</h1> <div class="flex space-x-2"> <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md flex items-center"> <i class="fas fa-plus mr-2"></i> Nouvel article </button> <button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-md flex items-center"> <i class="fas fa-exchange-alt mr-2"></i> Inventaire </button> </div> </div> <div class="bg-white rounded-lg shadow overflow-hidden"> <div class="p-4 border-b border-gray-200 flex justify-between items-center bg-gray-50"> <div class="flex items-center space-x-4"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher article..."> </div> <select class="block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md"> <option>Tous les types</option> <option>Radiocom</option> <option>Informatique</option> <option>Électronique</option> </select> </div> <div class="flex items-center space-x-2"> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-filter mr-1"></i> Filtres </button> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-download mr-1"></i> Exporter </button> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Référence</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Désignation</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Fournisseur</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Stock</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Prix</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">RAD-ANT-456</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Antenne VHF 150MHz</div> <div class="text-sm text-gray-500">Pour radiocom professionnelle</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> Radiocom </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">RadioParts</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">12</div> <div class="text-xs text-gray-500">Seuil: 5</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">89,90 €</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">INFO-SW-789</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Switch Gigabit 24 ports</div> <div class="text-sm text-gray-500">Marque Cisco, modèle WS-2960</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800"> Informatique </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">InfoTech</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">3</div> <div class="text-xs text-gray-500">Seuil: 2</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">1 299,00 €</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">ELEC-CAP-123</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Condensateur 1000µF 25V</div> <div class="text-sm text-gray-500">Pour réparation électronique</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800"> Électronique </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">ElecComponents</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">45</div> <div class="text-xs text-gray-500">Seuil: 20</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">0,75 €</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> </td> </tr> </tbody> </table> </div> <div class="bg-gray-50 px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6"> <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> <div> <p class="text-sm text-gray-700"> Affichage de <span class="font-medium">1</span> à <span class="font-medium">3</span> sur <span class="font-medium">87</span> articles </p> </div> <div> <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Précédent</span> <i class="fas fa-chevron-left"></i> </a> <a href="#" aria-current="page" class="z-10 bg-blue-50 border-blue-500 text-blue-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 1 </a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 2 </a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 3 </a> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Suivant</span> <i class="fas fa-chevron-right"></i> </a> </nav> </div> </div> </div> </div> </section> <!-- Documents Section --> <section id="documents" class="mb-12 hidden"> <div class="flex justify-between items-center mb-6"> <h1 class="text-2xl font-bold text-gray-800">Gestion des Documents</h1> <div class="flex space-x-2"> <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md flex items-center"> <i class="fas fa-file-invoice mr-2"></i> Nouvelle facture </button> <button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-md flex items-center"> <i class="fas fa-file-alt mr-2"></i> Nouveau devis </button> </div> </div> <div class="bg-white rounded-lg shadow overflow-hidden"> <div class="p-4 border-b border-gray-200 flex justify-between items-center bg-gray-50"> <div class="flex items-center space-x-4"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher document..."> </div> <select class="block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md"> <option>Tous les types</option> <option>Factures</option> <option>Devis</option> <option>Bons de livraison</option> <option>Avoirs</option> </select> </div> <div class="flex items-center space-x-2"> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-filter mr-1"></i> Filtres </button> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-download mr-1"></i> Exporter </button> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Numéro</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Montant</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center text-blue-600"> <i class="fas fa-file-invoice"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Facture</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">FAC-2023-042</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">SNCF</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">15/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">1 245,00 €</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"> Payée </span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> <a href="#" class="text-purple-600 hover:text-purple-900"><i class="fas fa-print"></i></a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-yellow-100 rounded-full flex items-center justify-center text-yellow-600"> <i class="fas fa-file-alt"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Devis</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">DEV-2023-078</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Hôpital</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">14/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">3 780,00 €</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> En attente </span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> <a href="#" class="text-purple-600 hover:text-purple-900"><i class="fas fa-print"></i></a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-purple-100 rounded-full flex items-center justify-center text-purple-600"> <i class="fas fa-truck"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Bon livraison</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">BL-2023-065</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Gendarmerie</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">12/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">N/A</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"> Livré </span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a> <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a> <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a> <a href="#" class="text-purple-600 hover:text-purple-900"><i class="fas fa-print"></i></a> </td> </tr> </tbody> </table> </div> <div class="bg-gray-50 px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6"> <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> <div> <p class="text-sm text-gray-700"> Affichage de <span class="font-medium">1</span> à <span class="font-medium">3</span> sur <span class="font-medium">56</span> documents </p> </div> <div> <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Précédent</span> <i class="fas fa-chevron-left"></i> </a> <a href="#" aria-current="page" class="z-10 bg-blue-50 border-blue-500 text-blue-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 1 </a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 2 </a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 3 </a> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Suivant</span> <i class="fas fa-chevron-right"></i> </a> </nav> </div> </div> </div> </div> </section> <!-- Interventions Section --> <section id="interventions" class="mb-12 hidden"> <div class="flex justify-between items-center mb-6"> <h1 class="text-2xl font-bold text-gray-800">Gestion des Interventions</h1> <div class="flex space-x-2"> <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md flex items-center"> <i class="fas fa-plus mr-2"></i> Nouvelle intervention </button> <button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-md flex items-center"> <i class="fas fa-calendar-alt mr-2"></i> Planning </button> </div> </div> <div class="bg-white rounded-lg shadow overflow-hidden"> <div class="p-4 border-b border-gray-200 flex justify-between items-center bg-gray-50"> <div class="flex items-center space-x-4"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher intervention..."> </div> <select class="block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md"> <option>Tous les statuts</option> <option>Planifiée</option> <option>En cours</option> <option>Terminée</option> <option>Annulée</option> </select> </div> <div class="flex items-center space-x-2"> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-filter mr-1"></i> Filtres </button> <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> <i class="fas fa-download mr-1"></i> Exporter </button> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Référence</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Technicien</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">INT-2023-156</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">SNCF</div> <div class="text-sm text-gray-500">Maintenance radio urgente</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> Radiocom </span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">15/06/2023</div> <div class="text-sm text-gray-500">09:00 - 12:00</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Pierre Martin</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800"> En cours </span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm font </html>
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ArtisanPro - Gestion Commerciale</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.sidebar-collapsed {
width: 70px !important;
}
.sidebar-collapsed .nav-text {
display: none;
}
.sidebar-collapsed .logo-text {
display: none;
}
.sidebar-collapsed .nav-item {
justify-content: center;
}
@media (max-width: 768px) {
.sidebar {
width: 0;
overflow: hidden;
}
.sidebar.active {
width: 250px;
}
.main-content {
margin-left: 0;
}
}
.chart-container {
position: relative;
height: 300px;
}
</style>
</head>
<body class="bg-gray-100">
<!-- Top Navigation -->
<nav class="bg-blue-800 text-white shadow-lg">
<div class="max-w-7xl mx-auto px-4">
<div class="flex justify-between items-center h-16">
<!-- Logo -->
<div class="flex items-center">
<i class="fas fa-tools text-2xl mr-2"></i>
<span class="text-xl font-semibold">ArtisanPro</span>
</div>
<!-- Primary Nav -->
<div class="hidden md:flex space-x-1">
<a href="#dashboard" class="px-3 py-2 rounded-md text-sm font-medium bg-blue-900">Tableau de bord</a>
<a href="#clients" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Clients</a>
<a href="#fournisseurs" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Fournisseurs</a>
<a href="#stock" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Stock</a>
<a href="#documents" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Documents</a>
<a href="#interventions" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Interventions</a>
<a href="#comptabilite" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Comptabilité</a>
<a href="#rapports" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Rapports</a>
</div>
<!-- User Menu -->
<div class="ml-4 flex items-center md:ml-6">
<div class="ml-3 relative">
<div class="flex items-center cursor-pointer">
<span class="mr-2 hidden md:block">Jean Dupont</span>
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
</div>
<button class="ml-4 p-1 rounded-full text-blue-200 hover:text-white focus:outline-none md:hidden" id="mobile-menu-button">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div class="md:hidden hidden" id="mobile-menu">
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3 flex flex-col">
<a href="#dashboard" class="px-3 py-2 rounded-md text-sm font-medium bg-blue-900 block">Tableau de bord</a>
<a href="#clients" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Clients</a>
<a href="#fournisseurs" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Fournisseurs</a>
<a href="#stock" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Stock</a>
<a href="#documents" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Documents</a>
<a href="#interventions" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Interventions</a>
<a href="#comptabilite" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Comptabilité</a>
<a href="#rapports" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-700 block">Rapports</a>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="max-w-7xl mx-auto px-4 py-6 sm:px-6 lg:px-8">
<!-- Dashboard Section -->
<section id="dashboard" class="mb-12">
<h1 class="text-2xl font-bold text-gray-800 mb-6">Tableau de bord</h1>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">