Spaces:
Running
Running
Download index.html from palomanbay/micropro: direct link, hf CLI and curl.
- Browser
- Download file 41.7 kB
-
https://huggingface.co/spaces/palomanbay/micropro/resolve/main/index.html
- Command line
-
hf download hf://spaces/palomanbay/micropro/index.html
-
curl -L -o index.html https://huggingface.co/spaces/palomanbay/micropro/resolve/main/index.html
41.7 kB
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>MicroPro - Application pour Poseurs de Microciment</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> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); | |
| } | |
| .project-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .material-card { | |
| transition: all 0.3s ease; | |
| } | |
| .material-card:hover { | |
| transform: scale(1.03); | |
| } | |
| .drawing-canvas { | |
| border: 2px dashed #cbd5e0; | |
| background-color: #f8fafc; | |
| } | |
| .photo-upload { | |
| border: 2px dashed #cbd5e0; | |
| background-color: #f8fafc; | |
| transition: all 0.3s ease; | |
| } | |
| .photo-upload:hover { | |
| border-color: #93c5fd; | |
| background-color: #eff6ff; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans bg-gray-50"> | |
| <!-- Header --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="container mx-auto px-4 py-4 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-trowel text-2xl text-blue-600"></i> | |
| <h1 class="text-xl font-bold text-gray-800">MicroPro</h1> | |
| </div> | |
| <nav class="hidden md:flex space-x-6"> | |
| <a href="#dashboard" class="text-gray-600 hover:text-blue-600 font-medium">Tableau de bord</a> | |
| <a href="#projects" class="text-gray-600 hover:text-blue-600 font-medium">Projets</a> | |
| <a href="#materials" class="text-gray-600 hover:text-blue-600 font-medium">Matériaux</a> | |
| <a href="#estimates" class="text-gray-600 hover:text-blue-600 font-medium">Devis</a> | |
| </nav> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200"> | |
| <i class="fas fa-bell"></i> | |
| </button> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-medium"> | |
| JP | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="container mx-auto px-4 py-6"> | |
| <!-- Dashboard Section --> | |
| <section id="dashboard" class="mb-12"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-800">Tableau de bord</h2> | |
| <div class="flex space-x-3"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> Nouveau projet | |
| </button> | |
| <button class="px-4 py-2 border border-blue-600 text-blue-600 rounded-lg hover:bg-blue-50 flex items-center"> | |
| <i class="fas fa-calendar-alt mr-2"></i> Calendrier | |
| </button> | |
| </div> | |
| </div> | |
| <!-- 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-xl shadow p-6"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-500">Projets en cours</p> | |
| <h3 class="text-3xl font-bold text-gray-800 mt-2">8</h3> | |
| </div> | |
| <div class="p-3 rounded-lg bg-blue-100 text-blue-600"> | |
| <i class="fas fa-tasks text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4 text-sm text-blue-600 font-medium flex items-center"> | |
| <span>+2 cette semaine</span> | |
| <i class="fas fa-arrow-up ml-2"></i> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-500">Devis en attente</p> | |
| <h3 class="text-3xl font-bold text-gray-800 mt-2">3</h3> | |
| </div> | |
| <div class="p-3 rounded-lg bg-green-100 text-green-600"> | |
| <i class="fas fa-file-invoice-dollar text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4 text-sm text-green-600 font-medium flex items-center"> | |
| <span>1 nouveau aujourd'hui</span> | |
| <i class="fas fa-arrow-up ml-2"></i> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-500">Revenus ce mois</p> | |
| <h3 class="text-3xl font-bold text-gray-800 mt-2">€4,850</h3> | |
| </div> | |
| <div class="p-3 rounded-lg bg-purple-100 text-purple-600"> | |
| <i class="fas fa-euro-sign text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4 text-sm text-purple-600 font-medium flex items-center"> | |
| <span>15% vs mois dernier</span> | |
| <i class="fas fa-arrow-up ml-2"></i> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-500">Clients satisfaits</p> | |
| <h3 class="text-3xl font-bold text-gray-800 mt-2">94%</h3> | |
| </div> | |
| <div class="p-3 rounded-lg bg-yellow-100 text-yellow-600"> | |
| <i class="fas fa-smile text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4 text-sm text-yellow-600 font-medium flex items-center"> | |
| <span>+2% ce trimestre</span> | |
| <i class="fas fa-arrow-up ml-2"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quick Actions --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Créer un devis rapide</h3> | |
| <p class="text-gray-600 mb-4">Générez un devis en quelques clics pour vos clients.</p> | |
| <button class="w-full py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700"> | |
| Nouveau devis | |
| </button> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Planifier une intervention</h3> | |
| <p class="text-gray-600 mb-4">Ajoutez une nouvelle intervention à votre calendrier.</p> | |
| <button class="w-full py-2 bg-green-600 text-white rounded-lg hover:bg-green-700"> | |
| Planifier | |
| </button> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Gestion des stocks</h3> | |
| <p class="text-gray-600 mb-4">Vérifiez et commandez vos matériaux.</p> | |
| <button class="w-full py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700"> | |
| Voir le stock | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Recent Projects --> | |
| <div class="bg-white rounded-xl shadow overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <h3 class="text-lg font-semibold text-gray-800">Projets récents</h3> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="p-6 hover:bg-gray-50 transition-colors duration-200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Appartement Dubois</h4> | |
| <p class="text-sm text-gray-600">Salle de bain + sol salon</p> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <span class="px-3 py-1 bg-blue-100 text-blue-800 text-xs font-medium rounded-full">En cours</span> | |
| <span class="text-sm text-gray-500">15-25 juin</span> | |
| <button class="p-2 text-gray-400 hover:text-blue-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-6 hover:bg-gray-50 transition-colors duration-200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Maison Lefèvre</h4> | |
| <p class="text-sm text-gray-600">Cuisine intégrale</p> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 text-xs font-medium rounded-full">Terminé</span> | |
| <span class="text-sm text-gray-500">1-10 juin</span> | |
| <button class="p-2 text-gray-400 hover:text-blue-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-6 hover:bg-gray-50 transition-colors duration-200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Restaurant Le Petit Bistrot</h4> | |
| <p class="text-sm text-gray-600">Comptoir + sol</p> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <span class="px-3 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full">Devis</span> | |
| <span class="text-sm text-gray-500">En attente</span> | |
| <button class="p-2 text-gray-400 hover:text-blue-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-3 bg-gray-50 text-center"> | |
| <a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-800">Voir tous les projets</a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Projects Section --> | |
| <section id="projects" class="mb-12"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-800">Mes Projets</h2> | |
| <div class="relative"> | |
| <input type="text" placeholder="Rechercher un projet..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Project Card 1 --> | |
| <div class="project-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300"> | |
| <div class="h-48 bg-gradient-to-r from-blue-400 to-blue-600 flex items-center justify-center"> | |
| <i class="fas fa-home text-white text-6xl opacity-75"></i> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-bold text-gray-800">Appartement Dubois</h3> | |
| <span class="px-3 py-1 bg-blue-100 text-blue-800 text-xs font-medium rounded-full">En cours</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Salle de bain + sol salon - 25m²</p> | |
| <div class="flex justify-between items-center text-sm text-gray-500 mb-4"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-calendar-alt mr-2"></i> | |
| <span>15-25 juin</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-euro-sign mr-2"></i> | |
| <span>3,200</span> | |
| </div> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-blue-600 h-2.5 rounded-full" style="width: 60%"></div> | |
| </div> | |
| <div class="flex justify-between mt-4"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 text-sm"> | |
| Détails | |
| </button> | |
| <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 text-sm"> | |
| Photos | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project Card 2 --> | |
| <div class="project-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300"> | |
| <div class="h-48 bg-gradient-to-r from-green-400 to-green-600 flex items-center justify-center"> | |
| <i class="fas fa-utensils text-white text-6xl opacity-75"></i> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-bold text-gray-800">Restaurant Le Petit Bistrot</h3> | |
| <span class="px-3 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full">Devis</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Comptoir + sol - 45m²</p> | |
| <div class="flex justify-between items-center text-sm text-gray-500 mb-4"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-calendar-alt mr-2"></i> | |
| <span>À planifier</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-euro-sign mr-2"></i> | |
| <span>5,800</span> | |
| </div> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-yellow-400 h-2.5 rounded-full" style="width: 10%"></div> | |
| </div> | |
| <div class="flex justify-between mt-4"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 text-sm"> | |
| Détails | |
| </button> | |
| <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 text-sm"> | |
| Modifier | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project Card 3 --> | |
| <div class="project-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300"> | |
| <div class="h-48 bg-gradient-to-r from-purple-400 to-purple-600 flex items-center justify-center"> | |
| <i class="fas fa-building text-white text-6xl opacity-75"></i> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="text-xl font-bold text-gray-800">Bureau Martin & Associés</h3> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 text-xs font-medium rounded-full">Terminé</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Sol open space - 120m²</p> | |
| <div class="flex justify-between items-center text-sm text-gray-500 mb-4"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-calendar-alt mr-2"></i> | |
| <span>10-20 mai</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-euro-sign mr-2"></i> | |
| <span>9,500</span> | |
| </div> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-green-500 h-2.5 rounded-full" style="width: 100%"></div> | |
| </div> | |
| <div class="flex justify-between mt-4"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 text-sm"> | |
| Détails | |
| </button> | |
| <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 text-sm"> | |
| Facture | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Materials Section --> | |
| <section id="materials" class="mb-12"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-800">Gestion des Matériaux</h2> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> Nouvelle commande | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8"> | |
| <!-- Material Card 1 --> | |
| <div class="material-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div class="w-12 h-12 rounded-lg bg-blue-100 flex items-center justify-center text-blue-600"> | |
| <i class="fas fa-box-open text-2xl"></i> | |
| </div> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 text-xs font-medium rounded-full">En stock</span> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-2">Microciment Blanc</h3> | |
| <p class="text-sm text-gray-600 mb-4">Réf. MC-BLANC-25</p> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-xs text-gray-500">Quantité disponible</p> | |
| <p class="font-medium">18 sacs</p> | |
| </div> | |
| <button class="px-3 py-1 bg-blue-600 text-white rounded-lg text-sm hover:bg-blue-700"> | |
| Commander | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Material Card 2 --> | |
| <div class="material-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div class="w-12 h-12 rounded-lg bg-yellow-100 flex items-center justify-center text-yellow-600"> | |
| <i class="fas fa-box-open text-2xl"></i> | |
| </div> | |
| <span class="px-3 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full">Stock bas</span> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-2">Microciment Gris</h3> | |
| <p class="text-sm text-gray-600 mb-4">Réf. MC-GRIS-25</p> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-xs text-gray-500">Quantité disponible</p> | |
| <p class="font-medium">3 sacs</p> | |
| </div> | |
| <button class="px-3 py-1 bg-blue-600 text-white rounded-lg text-sm hover:bg-blue-700"> | |
| Commander | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Material Card 3 --> | |
| <div class="material-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div class="w-12 h-12 rounded-lg bg-purple-100 flex items-center justify-center text-purple-600"> | |
| <i class="fas fa-spray-can text-2xl"></i> | |
| </div> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 text-xs font-medium rounded-full">En stock</span> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-2">Vernis protecteur</h3> | |
| <p class="text-sm text-gray-600 mb-4">Réf. VERNIS-PRO-5L</p> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-xs text-gray-500">Quantité disponible</p> | |
| <p class="font-medium">7 bidons</p> | |
| </div> | |
| <button class="px-3 py-1 bg-blue-600 text-white rounded-lg text-sm hover:bg-blue-700"> | |
| Commander | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Material Card 4 --> | |
| <div class="material-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div class="w-12 h-12 rounded-lg bg-red-100 flex items-center justify-center text-red-600"> | |
| <i class="fas fa-tint text-2xl"></i> | |
| </div> | |
| <span class="px-3 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full">En commande</span> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-2">Colorant Noir</h3> | |
| <p class="text-sm text-gray-600 mb-4">Réf. COLOR-NOIR-1L</p> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-xs text-gray-500">Quantité disponible</p> | |
| <p class="font-medium">0 (arrive demain)</p> | |
| </div> | |
| <button class="px-3 py-1 bg-gray-300 text-gray-600 rounded-lg text-sm cursor-not-allowed" disabled> | |
| En cours | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Material Calculator --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Calculateur de matériaux</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Surface (m²)</label> | |
| <input type="number" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Ex: 25"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Type de microciment</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Standard</option> | |
| <option>Premium</option> | |
| <option>Ultra-fin</option> | |
| <option>Extérieur</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Nombre de couches</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <option>2 couches</option> | |
| <option>3 couches</option> | |
| <option>4 couches</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="mt-6 p-4 bg-blue-50 rounded-lg"> | |
| <h4 class="font-medium text-blue-800 mb-2">Estimation des matériaux nécessaires</h4> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-white p-3 rounded-lg shadow-sm"> | |
| <p class="text-sm text-gray-600">Microciment</p> | |
| <p class="font-medium">12 sacs</p> | |
| </div> | |
| <div class="bg-white p-3 rounded-lg shadow-sm"> | |
| <p class="text-sm text-gray-600">Primaire</p> | |
| <p class="font-medium">3 bidons</p> | |
| </div> | |
| <div class="bg-white p-3 rounded-lg shadow-sm"> | |
| <p class="text-sm text-gray-600">Vernis</p> | |
| <p class="font-medium">2 bidons</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Estimates Section --> | |
| <section id="estimates" class="mb-12"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-800">Gestion des Devis</h2> | |
| <div class="flex space-x-3"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 flex items-center"> | |
| <i class="fas fa-file-invoice-dollar mr-2"></i> Nouveau devis | |
| </button> | |
| <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 flex items-center"> | |
| <i class="fas fa-filter mr-2"></i> Filtrer | |
| </button> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="grid grid-cols-12 bg-gray-50 border-b border-gray-200 px-6 py-3 font-medium text-gray-700 text-sm"> | |
| <div class="col-span-4">Client</div> | |
| <div class="col-span-2">Date</div> | |
| <div class="col-span-2">Montant</div> | |
| <div class="col-span-2">Statut</div> | |
| <div class="col-span-2">Actions</div> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <!-- Estimate Row 1 --> | |
| <div class="grid grid-cols-12 px-6 py-4 hover:bg-gray-50"> | |
| <div class="col-span-4 flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 mr-3"> | |
| <i class="fas fa-user"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">M. Dubois</p> | |
| <p class="text-sm text-gray-600">Appartement - Paris 15e</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex items-center text-gray-600"> | |
| 15/06/2023 | |
| </div> | |
| <div class="col-span-2 flex items-center font-medium"> | |
| €3,200 | |
| </div> | |
| <div class="col-span-2 flex items-center"> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 text-xs font-medium rounded-full">Accepté</span> | |
| </div> | |
| <div class="col-span-2 flex items-center space-x-2"> | |
| <button class="p-2 text-blue-600 hover:bg-blue-50 rounded-full"> | |
| <i class="fas fa-print"></i> | |
| </button> | |
| <button class="p-2 text-gray-500 hover:bg-gray-100 rounded-full"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Estimate Row 2 --> | |
| <div class="grid grid-cols-12 px-6 py-4 hover:bg-gray-50"> | |
| <div class="col-span-4 flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 mr-3"> | |
| <i class="fas fa-building"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Le Petit Bistrot</p> | |
| <p class="text-sm text-gray-600">Restaurant - Lyon</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex items-center text-gray-600"> | |
| 10/06/2023 | |
| </div> | |
| <div class="col-span-2 flex items-center font-medium"> | |
| €5,800 | |
| </div> | |
| <div class="col-span-2 flex items-center"> | |
| <span class="px-3 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full">En attente</span> | |
| </div> | |
| <div class="col-span-2 flex items-center space-x-2"> | |
| <button class="p-2 text-blue-600 hover:bg-blue-50 rounded-full"> | |
| <i class="fas fa-edit"></i> | |
| </button> | |
| <button class="p-2 text-gray-500 hover:bg-gray-100 rounded-full"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Estimate Row 3 --> | |
| <div class="grid grid-cols-12 px-6 py-4 hover:bg-gray-50"> | |
| <div class="col-span-4 flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3"> | |
| <i class="fas fa-home"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Mme Lefèvre</p> | |
| <p class="text-sm text-gray-600">Maison - Versailles</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex items-center text-gray-600"> | |
| 01/06/2023 | |
| </div> | |
| <div class="col-span-2 flex items-center font-medium"> | |
| €4,500 | |
| </div> | |
| <div class="col-span-2 flex items-center"> | |
| <span class="px-3 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full">Refusé</span> | |
| </div> | |
| <div class="col-span-2 flex items-center space-x-2"> | |
| <button class="p-2 text-blue-600 hover:bg-blue-50 rounded-full"> | |
| <i class="fas fa-redo"></i> | |
| </button> | |
| <button class="p-2 text-gray-500 hover:bg-gray-100 rounded-full"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-3 bg-gray-50 text-center"> | |
| <a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-800">Voir tous les devis</a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Project Tools Section --> | |
| <section class="mb-12"> | |
| <h2 class="text-2xl font-bold text-gray-800 mb-6">Outils pour projet</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <!-- Sketch Tool --> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Croquis du projet</h3> | |
| <div class="drawing-canvas w-full h-64 rounded-lg mb-4"></div> | |
| <div class="flex space-x-3"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 flex items-center"> | |
| <i class="fas fa-pencil-alt mr-2"></i> Dessiner | |
| </button> | |
| <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 flex items-center"> | |
| <i class="fas fa-upload mr-2"></i> Importer | |
| </button> | |
| <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 flex items-center"> | |
| <i class="fas fa-trash-alt mr-2"></i> Effacer | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Photo Upload --> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Photos du chantier</h3> | |
| <div class="photo-upload w-full h-64 rounded-lg mb-4 flex flex-col items-center justify-center cursor-pointer"> | |
| <i class="fas fa-camera text-4xl text-gray-400 mb-3"></i> | |
| <p class="text-gray-500">Glissez-déposez vos photos ici</p> | |
| <p class="text-sm text-gray-400">ou cliquez pour sélectionner</p> | |
| </div> | |
| <div class="grid grid-cols-3 gap-2"> | |
| <div class="h-20 bg-gray-200 rounded-lg"></div> | |
| <div class="h-20 bg-gray-200 rounded-lg"></div> | |
| <div class="h-20 bg-gray-200 rounded-lg flex items-center justify-center text-gray-400"> | |
| <i class="fas fa-plus"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-8"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">MicroPro</h3> | |
| <p class="text-gray-400">L'application complète pour les professionnels du microciment. Gestion de projets, devis et stocks simplifiée.</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Liens utiles</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Documentation</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Formations</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">FAQ</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Support</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Ressources</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Calculateur de surface</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Modèles de devis</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Fiches techniques</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Contact</h3> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center text-gray-400"><i class="fas fa-envelope mr-2"></i> contact@micropro.fr</li> | |
| <li class="flex items-center text-gray-400"><i class="fas fa-phone-alt mr-2"></i> 01 23 45 67 89</li> | |
| <li class="flex items-center text-gray-400"><i class="fas fa-map-marker-alt mr-2"></i> Paris, France</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400"> | |
| <p>© 2023 MicroPro. Tous droits réservés.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Simple interactive elements | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Toggle mobile menu (would need more implementation) | |
| const mobileMenuButton = document.createElement('button'); | |
| mobileMenuButton.className = 'md:hidden p-2 text-gray-600'; | |
| mobileMenuButton.innerHTML = '<i class="fas fa-bars"></i>'; | |
| // Add click event for project cards | |
| const projectCards = document.querySelectorAll('.project-card'); | |
| projectCards.forEach(card => { | |
| card.addEventListener('click', function(e) { | |
| if (!e.target.closest('button')) { | |
| console.log('Project card clicked - would navigate to project details'); | |
| } | |
| }); | |
| }); | |
| // Add hover effect for material cards | |
| const materialCards = document.querySelectorAll('.material-card'); | |
| materialCards.forEach(card => { | |
| card.addEventListener('mouseenter', function() { | |
| this.style.boxShadow = '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)'; | |
| }); | |
| card.addEventListener('mouseleave', function() { | |
| this.style.boxShadow = ''; | |
| }); | |
| }); | |
| // Photo upload area interaction | |
| const photoUpload = document.querySelector('.photo-upload'); | |
| if (photoUpload) { | |
| photoUpload.addEventListener('click', function() { | |
| console.log('Photo upload clicked - would open file dialog'); | |
| }); | |
| } | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=palomanbay/micropro" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |