Spaces:
Running
Running
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>TaskFlow - Gestion de tâches SaaS</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> | |
| .task-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| .priority-high { | |
| border-left: 4px solid #ef4444; | |
| } | |
| .priority-medium { | |
| border-left: 4px solid #f59e0b; | |
| } | |
| .priority-low { | |
| border-left: 4px solid #10b981; | |
| } | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| transform: translateX(-100%); | |
| position: absolute; | |
| z-index: 50; | |
| height: 100vh; | |
| } | |
| .sidebar.open { | |
| transform: translateX(0); | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-white w-64 border-r border-gray-200 flex flex-col"> | |
| <div class="p-4 border-b border-gray-200"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-tasks text-indigo-600 text-2xl"></i> | |
| <h1 class="text-xl font-bold text-gray-800">TaskFlow</h1> | |
| </div> | |
| </div> | |
| <div class="flex-1 overflow-y-auto p-4"> | |
| <div class="mb-6"> | |
| <button class="w-full bg-indigo-600 hover:bg-indigo-700 text-white py-2 px-4 rounded-lg flex items-center justify-center space-x-2 transition"> | |
| <i class="fas fa-plus"></i> | |
| <span>Nouvelle tâche</span> | |
| </button> | |
| </div> | |
| <div class="mb-6"> | |
| <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Menu</h3> | |
| <ul> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center space-x-3 px-3 py-2 rounded-lg bg-indigo-50 text-indigo-700"> | |
| <i class="fas fa-home text-indigo-600"></i> | |
| <span>Tableau de bord</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center space-x-3 px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i class="fas fa-calendar-alt"></i> | |
| <span>Calendrier</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center space-x-3 px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i class="fas fa-project-diagram"></i> | |
| <span>Projets</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center space-x-3 px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i class="fas fa-users"></i> | |
| <span>Équipe</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mb-6"> | |
| <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Projets</h3> | |
| <ul> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center space-x-3 px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <span class="w-3 h-3 rounded-full bg-blue-500"></span> | |
| <span>Site web</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center space-x-3 px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <span class="w-3 h-3 rounded-full bg-green-500"></span> | |
| <span>Marketing</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center space-x-3 px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <span class="w-3 h-3 rounded-full bg-purple-500"></span> | |
| <span>Application mobile</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Étiquettes</h3> | |
| <div class="flex flex-wrap gap-2"> | |
| <span class="px-2 py-1 rounded-full text-xs bg-red-100 text-red-800">Urgent</span> | |
| <span class="px-2 py-1 rounded-full text-xs bg-yellow-100 text-yellow-800">Révision</span> | |
| <span class="px-2 py-1 rounded-full text-xs bg-green-100 text-green-800">Terminé</span> | |
| <span class="px-2 py-1 rounded-full text-xs bg-blue-100 text-blue-800">En cours</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 border-t border-gray-200"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-10 h-10 rounded-full"> | |
| <div> | |
| <p class="font-medium text-gray-800">Sophie Martin</p> | |
| <p class="text-xs text-gray-500">Administrateur</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main content --> | |
| <div class="flex-1 flex flex-col overflow-hidden"> | |
| <!-- Top navbar --> | |
| <header class="bg-white border-b border-gray-200 py-3 px-6 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <button id="sidebar-toggle" class="md:hidden mr-4 text-gray-600"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <h2 class="text-lg font-semibold text-gray-800">Tableau de bord</h2> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <button class="text-gray-600 hover:text-gray-900"> | |
| <i class="fas fa-bell text-xl"></i> | |
| </button> | |
| <span class="absolute top-0 right-0 w-2 h-2 rounded-full bg-red-500"></span> | |
| </div> | |
| <div class="relative"> | |
| <input type="text" placeholder="Rechercher..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main content area --> | |
| <main class="flex-1 overflow-y-auto p-6 bg-gray-50"> | |
| <div class="mb-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-xl font-semibold text-gray-800">Mes tâches</h3> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">Aujourd'hui</button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">Cette semaine</button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">Ce mois</button> | |
| </div> | |
| </div> | |
| <!-- Stats cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-6"> | |
| <div class="bg-white p-4 rounded-lg shadow border-l-4 border-indigo-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-gray-500">Tâches totales</p> | |
| <p class="text-2xl font-bold">24</p> | |
| </div> | |
| <i class="fas fa-tasks text-indigo-100 text-2xl"></i> | |
| </div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow border-l-4 border-blue-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-gray-500">En cours</p> | |
| <p class="text-2xl font-bold">8</p> | |
| </div> | |
| <i class="fas fa-spinner text-blue-100 text-2xl"></i> | |
| </div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow border-l-4 border-yellow-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-gray-500">En retard</p> | |
| <p class="text-2xl font-bold">3</p> | |
| </div> | |
| <i class="fas fa-exclamation-triangle text-yellow-100 text-2xl"></i> | |
| </div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow border-l-4 border-green-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-gray-500">Terminées</p> | |
| <p class="text-2xl font-bold">13</p> | |
| </div> | |
| <i class="fas fa-check-circle text-green-100 text-2xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task filters --> | |
| <div class="bg-white p-4 rounded-lg shadow mb-6"> | |
| <div class="flex flex-col md:flex-row md:items-center md:justify-between space-y-4 md:space-y-0"> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 bg-indigo-600 text-white rounded-lg text-sm">Toutes</button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">À faire</button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">En cours</button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">Terminées</button> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="text-sm text-gray-500">Trier par :</span> | |
| <select class="border border-gray-300 rounded-lg px-3 py-1 text-sm focus:outline-none focus:ring-1 focus:ring-indigo-500"> | |
| <option>Date d'échéance</option> | |
| <option>Priorité</option> | |
| <option>Date de création</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task list --> | |
| <div class="space-y-4"> | |
| <!-- Task card --> | |
| <div class="task-card bg-white p-4 rounded-lg shadow transition cursor-pointer priority-high"> | |
| <div class="flex justify-between items-start"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="mt-1"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-indigo-600 rounded border-gray-300"> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Concevoir la nouvelle interface utilisateur</h4> | |
| <p class="text-sm text-gray-500 mt-1">Créer les maquettes pour le tableau de bord principal</p> | |
| <div class="flex items-center space-x-4 mt-2"> | |
| <span class="flex items-center text-sm text-gray-500"> | |
| <i class="far fa-calendar-alt mr-1"></i> | |
| <span>15 juin 2023</span> | |
| </span> | |
| <span class="flex items-center text-sm text-gray-500"> | |
| <i class="fas fa-tag mr-1"></i> | |
| <span>Design</span> | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="px-2 py-1 rounded-full text-xs bg-red-100 text-red-800">Haute</span> | |
| <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Assignee" class="w-8 h-8 rounded-full border-2 border-white shadow"> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task card --> | |
| <div class="task-card bg-white p-4 rounded-lg shadow transition cursor-pointer priority-medium"> | |
| <div class="flex justify-between items-start"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="mt-1"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-indigo-600 rounded border-gray-300"> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Développer l'API d'authentification</h4> | |
| <p class="text-sm text-gray-500 mt-1">Implémenter JWT pour la sécurité des utilisateurs</p> | |
| <div class="flex items-center space-x-4 mt-2"> | |
| <span class="flex items-center text-sm text-gray-500"> | |
| <i class="far fa-calendar-alt mr-1"></i> | |
| <span>18 juin 2023</span> | |
| </span> | |
| <span class="flex items-center text-sm text-gray-500"> | |
| <i class="fas fa-tag mr-1"></i> | |
| <span>Développement</span> | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="px-2 py-1 rounded-full text-xs bg-yellow-100 text-yellow-800">Moyenne</span> | |
| <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Assignee" class="w-8 h-8 rounded-full border-2 border-white shadow"> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task card --> | |
| <div class="task-card bg-white p-4 rounded-lg shadow transition cursor-pointer priority-low"> | |
| <div class="flex justify-between items-start"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="mt-1"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-indigo-600 rounded border-gray-300" checked> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800 line-through">Rédiger la documentation technique</h4> | |
| <p class="text-sm text-gray-500 mt-1">Documenter les endpoints API pour les développeurs</p> | |
| <div class="flex items-center space-x-4 mt-2"> | |
| <span class="flex items-center text-sm text-gray-500"> | |
| <i class="far fa-calendar-alt mr-1"></i> | |
| <span>10 juin 2023</span> | |
| </span> | |
| <span class="flex items-center text-sm text-gray-500"> | |
| <i class="fas fa-tag mr-1"></i> | |
| <span>Documentation</span> | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="px-2 py-1 rounded-full text-xs bg-green-100 text-green-800">Basse</span> | |
| <span class="px-2 py-1 rounded-full text-xs bg-green-100 text-green-800">Terminé</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task card --> | |
| <div class="task-card bg-white p-4 rounded-lg shadow transition cursor-pointer"> | |
| <div class="flex justify-between items-start"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="mt-1"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-indigo-600 rounded border-gray-300"> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Réunion d'équipe hebdomadaire</h4> | |
| <p class="text-sm text-gray-500 mt-1">Discuter des progrès et des blocages</p> | |
| <div class="flex items-center space-x-4 mt-2"> | |
| <span class="flex items-center text-sm text-gray-500"> | |
| <i class="far fa-calendar-alt mr-1"></i> | |
| <span>20 juin 2023</span> | |
| </span> | |
| <span class="flex items-center text-sm text-gray-500"> | |
| <i class="fas fa-tag mr-1"></i> | |
| <span>Réunion</span> | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Assignee" class="w-8 h-8 rounded-full border-2 border-white shadow"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Assignee" class="w-8 h-8 rounded-full border-2 border-white shadow"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| // Toggle sidebar on mobile | |
| document.getElementById('sidebar-toggle').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('open'); | |
| }); | |
| // Task card click handler | |
| document.querySelectorAll('.task-card').forEach(card => { | |
| card.addEventListener('click', function(e) { | |
| // Don't toggle if clicking on checkbox | |
| if (e.target.type !== 'checkbox') { | |
| const checkbox = this.querySelector('input[type="checkbox"]'); | |
| checkbox.checked = !checkbox.checked; | |
| // Toggle line-through style | |
| const title = this.querySelector('h4'); | |
| if (checkbox.checked) { | |
| title.classList.add('line-through'); | |
| } else { | |
| title.classList.remove('line-through'); | |
| } | |
| } | |
| }); | |
| }); | |
| // Simulate loading tasks | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // You would typically fetch tasks from an API here | |
| console.log('Application chargée !'); | |
| }); | |
| </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=Simara56/saas-tsaks" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |