Download index.html from Rombdx80/docuwrite: direct link, hf CLI and curl.
- Browser
- Download file 33.3 kB
-
https://huggingface.co/spaces/Rombdx80/docuwrite/resolve/main/index.html
- Command line
-
hf download hf://spaces/Rombdx80/docuwrite/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Rombdx80/docuwrite/resolve/main/index.html
33.3 kB
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>DocuWrite - Plateforme de Rédaction de Rapports</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> | |
| .editor-container { | |
| min-height: 500px; | |
| border: 1px solid #e2e8f0; | |
| border-radius: 0.5rem; | |
| padding: 1rem; | |
| background-color: white; | |
| } | |
| .sidebar-item:hover { | |
| background-color: #f1f5f9; | |
| } | |
| .document-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| } | |
| .dropdown-menu { | |
| transition: all 0.3s ease; | |
| opacity: 0; | |
| visibility: hidden; | |
| transform: translateY(-10px); | |
| } | |
| .dropdown.active .dropdown-menu { | |
| opacity: 1; | |
| visibility: visible; | |
| transform: translateY(0); | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.3s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| .modal { | |
| display: none; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-color: rgba(0,0,0,0.5); | |
| z-index: 1000; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| .modal-content { | |
| background-color: white; | |
| padding: 2rem; | |
| border-radius: 0.5rem; | |
| width: 90%; | |
| max-width: 500px; | |
| max-height: 90vh; | |
| overflow-y: auto; | |
| } | |
| .mobile-menu { | |
| display: none; | |
| } | |
| @media (max-width: 768px) { | |
| .mobile-menu { | |
| display: flex; | |
| } | |
| .desktop-sidebar { | |
| display: none; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <!-- Header --> | |
| <header class="bg-white shadow-sm sticky top-0 z-50"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-file-alt text-blue-600 text-2xl"></i> | |
| <h1 class="text-xl font-bold text-gray-800">DocuWrite</h1> | |
| </div> | |
| <div class="relative"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <input type="text" placeholder="Rechercher..." class="pl-10 pr-4 py-2 border rounded-full focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="flex items-center space-x-2 focus:outline-none" id="user-menu-button"> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-semibold">JD</div> | |
| <span class="hidden md:inline text-gray-700">John Doe</span> | |
| <i class="fas fa-chevron-down text-gray-500 text-xs"></i> | |
| </button> | |
| <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50"> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-user mr-2"></i>Profil</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-cog mr-2"></i>Paramètres</a> | |
| <div class="border-t border-gray-200"></div> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100" id="logout-btn"><i class="fas fa-sign-out-alt mr-2"></i>Déconnexion</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <div class="container mx-auto px-4 py-6 flex"> | |
| <!-- Desktop Sidebar --> | |
| <aside class="w-64 pr-6 desktop-sidebar"> | |
| <div class="bg-white rounded-lg shadow-sm p-4 mb-6"> | |
| <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md flex items-center justify-center" id="new-document-btn"> | |
| <i class="fas fa-plus mr-2"></i> Nouveau document | |
| </button> | |
| </div> | |
| <nav class="bg-white rounded-lg shadow-sm p-4"> | |
| <ul class="space-y-1"> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-blue-600 bg-blue-50" data-page="dashboard"> | |
| <i class="fas fa-home mr-3 text-blue-600"></i> | |
| Tableau de bord | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="documents"> | |
| <i class="fas fa-file-alt mr-3 text-gray-500"></i> | |
| Mes documents | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="folders"> | |
| <i class="fas fa-folder mr-3 text-gray-500"></i> | |
| Dossiers | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="shared"> | |
| <i class="fas fa-users mr-3 text-gray-500"></i> | |
| Partagés avec moi | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="favorites"> | |
| <i class="fas fa-star mr-3 text-gray-500"></i> | |
| Favoris | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="trash"> | |
| <i class="fas fa-trash mr-3 text-gray-500"></i> | |
| Corbeille | |
| </a> | |
| </li> | |
| </ul> | |
| <div class="mt-6 pt-4 border-t border-gray-200"> | |
| <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">ESPACE DE TRAVAIL</h3> | |
| <ul class="space-y-1"> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="research"> | |
| <i class="fas fa-book mr-3 text-gray-500"></i> | |
| Recherches | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="recommendations"> | |
| <i class="fas fa-lightbulb mr-3 text-gray-500"></i> | |
| Recommandations | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="notes"> | |
| <i class="fas fa-sticky-note mr-3 text-gray-500"></i> | |
| Notes personnelles | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </nav> | |
| </aside> | |
| <!-- Main Area --> | |
| <main class="flex-1"> | |
| <!-- Dashboard Header --> | |
| <div class="bg-white rounded-lg shadow-sm p-6 mb-6" id="dashboard-content"> | |
| <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-2"> | |
| <button class="px-3 py-1 border rounded-md text-sm flex items-center" id="filter-btn"> | |
| <i class="fas fa-filter mr-2 text-gray-500"></i> Filtrer | |
| </button> | |
| <button class="px-3 py-1 border rounded-md text-sm flex items-center" id="sort-btn"> | |
| <i class="fas fa-sort mr-2 text-gray-500"></i> Trier | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6"> | |
| <div class="bg-blue-50 rounded-lg p-4"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-blue-800">Documents actifs</p> | |
| <h3 class="text-2xl font-bold text-blue-900">24</h3> | |
| </div> | |
| <div class="bg-blue-100 p-2 rounded-full"> | |
| <i class="fas fa-file-alt text-blue-600"></i> | |
| </div> | |
| </div> | |
| <p class="text-xs text-blue-700 mt-2">+3 depuis la semaine dernière</p> | |
| </div> | |
| <div class="bg-green-50 rounded-lg p-4"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-green-800">Dossiers</p> | |
| <h3 class="text-2xl font-bold text-green-900">8</h3> | |
| </div> | |
| <div class="bg-green-100 p-2 rounded-full"> | |
| <i class="fas fa-folder text-green-600"></i> | |
| </div> | |
| </div> | |
| <p class="text-xs text-green-700 mt-2">Organisation optimale</p> | |
| </div> | |
| <div class="bg-purple-50 rounded-lg p-4"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm text-purple-800">Collaborateurs</p> | |
| <h3 class="text-2xl font-bold text-purple-900">5</h3> | |
| </div> | |
| <div class="bg-purple-100 p-2 rounded-full"> | |
| <i class="fas fa-users text-purple-600"></i> | |
| </div> | |
| </div> | |
| <p class="text-xs text-purple-700 mt-2">2 nouveaux cette semaine</p> | |
| </div> | |
| </div> | |
| <!-- Recent Documents --> | |
| <div class="mb-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Documents récents</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <!-- Document Card 1 --> | |
| <div class="document-card bg-white border rounded-lg overflow-hidden shadow-sm transition-all duration-300 cursor-pointer"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <div class="w-10 h-10 rounded-md bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-file-word text-blue-600"></i> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600 document-menu-btn"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50"> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 open-document-btn">Ouvrir</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 share-document-btn">Partager</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 download-document-btn">Télécharger</a> | |
| <div class="border-t border-gray-200"></div> | |
| <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100 delete-document-btn">Supprimer</a> | |
| </div> | |
| </div> | |
| </div> | |
| <h4 class="font-medium text-gray-900 mb-1">Rapport annuel 2023</h4> | |
| <p class="text-sm text-gray-500 mb-3">Analyse des performances et projections</p> | |
| <div class="flex justify-between items-center text-xs text-gray-500"> | |
| <span>Modifié il y a 2 jours</span> | |
| <div class="flex items-center"> | |
| <i class="fas fa-user-friends mr-1"></i> | |
| <span>3</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Document Card 2 --> | |
| <div class="document-card bg-white border rounded-lg overflow-hidden shadow-sm transition-all duration-300 cursor-pointer"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <div class="w-10 h-10 rounded-md bg-green-100 flex items-center justify-center"> | |
| <i class="fas fa-file-powerpoint text-green-600"></i> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600 document-menu-btn"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50"> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 open-document-btn">Ouvrir</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 share-document-btn">Partager</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 download-document-btn">Télécharger</a> | |
| <div class="border-t border-gray-200"></div> | |
| <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100 delete-document-btn">Supprimer</a> | |
| </div> | |
| </div> | |
| </div> | |
| <h4 class="font-medium text-gray-900 mb-1">Présentation stratégie Q4</h4> | |
| <p class="text-sm text-gray-500 mb-3">Planification des objectifs trimestriels</p> | |
| <div class="flex justify-between items-center text-xs text-gray-500"> | |
| <span>Modifié il y a 1 semaine</span> | |
| <div class="flex items-center"> | |
| <i class="fas fa-user-friends mr-1"></i> | |
| <span>5</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Document Card 3 --> | |
| <div class="document-card bg-white border rounded-lg overflow-hidden shadow-sm transition-all duration-300 cursor-pointer"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <div class="w-10 h-10 rounded-md bg-yellow-100 flex items-center justify-center"> | |
| <i class="fas fa-file-excel text-yellow-600"></i> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600 document-menu-btn"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50"> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 open-document-btn">Ouvrir</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 share-document-btn">Partager</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 download-document-btn">Télécharger</a> | |
| <div class="border-t border-gray-200"></div> | |
| <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100 delete-document-btn">Supprimer</a> | |
| </div> | |
| </div> | |
| </div> | |
| <h4 class="font-medium text-gray-900 mb-1">Données financières</h4> | |
| <p class="text-sm text-gray-500 mb-3">Analyse des indicateurs clés</p> | |
| <div class="flex justify-between items-center text-xs text-gray-500"> | |
| <span>Modifié aujourd'hui</span> | |
| <div class="flex items-center"> | |
| <i class="fas fa-user-friends mr-1"></i> | |
| <span>2</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quick Actions --> | |
| <div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Actions rapides</h3> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| <button class="bg-white border rounded-lg p-4 flex flex-col items-center text-center hover:bg-gray-50 transition-colors quick-action-btn" data-action="new-document"> | |
| <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mb-2"> | |
| <i class="fas fa-file-word text-blue-600"></i> | |
| </div> | |
| <span class="text-sm font-medium">Nouveau document</span> | |
| </button> | |
| <button class="bg-white border rounded-lg p-4 flex flex-col items-center text-center hover:bg-gray-50 transition-colors quick-action-btn" data-action="new-folder"> | |
| <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mb-2"> | |
| <i class="fas fa-folder-plus text-green-600"></i> | |
| </div> | |
| <span class="text-sm font-medium">Nouveau dossier</span> | |
| </button> | |
| <button class="bg-white border rounded-lg p-4 flex flex-col items-center text-center hover:bg-gray-50 transition-colors quick-action-btn" data-action="share"> | |
| <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mb-2"> | |
| <i class="fas fa-share-alt text-purple-600"></i> | |
| </div> | |
| <span class="text-sm font-medium">Partager</span> | |
| </button> | |
| <button class="bg-white border rounded-lg p-4 flex flex-col items-center text-center hover:bg-gray-50 transition-colors quick-action-btn" data-action="search"> | |
| <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mb-2"> | |
| <i class="fas fa-search text-yellow-600"></i> | |
| </div> | |
| <span class="text-sm font-medium">Recherche avancée</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recommendations Section --> | |
| <div class="bg-white rounded-lg shadow-sm p-6 mb-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-xl font-bold text-gray-800">Recommandations pour vous</h2> | |
| <button class="text-blue-600 hover:text-blue-800 text-sm font-medium" id="view-all-recommendations">Voir tout</button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Recommendation 1 --> | |
| <div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"> | |
| <div class="bg-blue-50 p-4"> | |
| <h3 class="font-medium text-blue-800">Modèles</h3> | |
| </div> | |
| <div class="p-4"> | |
| <h4 class="font-medium text-gray-900 mb-2">Rapport d'analyse de marché</h4> | |
| <p class="text-sm text-gray-600 mb-3">Structure complète pour vos analyses sectorielles avec sections prédéfinies et indicateurs clés.</p> | |
| <button class="text-blue-600 hover:text-blue-800 text-sm font-medium use-template-btn">Utiliser ce modèle</button> | |
| </div> | |
| </div> | |
| <!-- Recommendation 2 --> | |
| <div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"> | |
| <div class="bg-green-50 p-4"> | |
| <h3 class="font-medium text-green-800">Sources</h3> | |
| </div> | |
| <div class="p-4"> | |
| <h4 class="font-medium text-gray-900 mb-2">Étude sectorielle 2023</h4> | |
| <p class="text-sm text-gray-600 mb-3">Données récentes sur les tendances du marché dans votre secteur d'activité.</p> | |
| <button class="text-green-600 hover:text-green-800 text-sm font-medium view-source-btn">Consulter la source</button> | |
| </div> | |
| </div> | |
| <!-- Recommendation 3 --> | |
| <div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"> | |
| <div class="bg-purple-50 p-4"> | |
| <h3 class="font-medium text-purple-800">Collaboration</h3> | |
| </div> | |
| <div class="p-4"> | |
| <h4 class="font-medium text-gray-900 mb-2">Équipe stratégie</h4> | |
| <p class="text-sm text-gray-600 mb-3">3 membres de votre équipe travaillent sur des documents similaires.</p> | |
| <button class="text-purple-600 hover:text-purple-800 text-sm font-medium join-team-btn">Rejoindre le groupe</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Other Pages (Hidden by default) --> | |
| <div id="documents-content" class="hidden bg-white rounded-lg shadow-sm p-6 mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-800 mb-6">Mes documents</h2> | |
| <p class="text-gray-600">Contenu de la page des documents</p> | |
| </div> | |
| <div id="folders-content" class="hidden bg-white rounded-lg shadow-sm p-6 mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-800 mb-6">Dossiers</h2> | |
| <p class="text-gray-600">Contenu de la page des dossiers</p> | |
| </div> | |
| <!-- Add more pages as needed --> | |
| </main> | |
| </div> | |
| <!-- Mobile Bottom Navigation --> | |
| <div class="mobile-menu fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t"> | |
| <div class="flex justify-around"> | |
| <a href="#" class="flex flex-col items-center py-3 px-4 text-blue-600 mobile-nav-btn" data-page="dashboard"> | |
| <i class="fas fa-home text-lg"></i> | |
| <span class="text-xs mt-1">Accueil</span> | |
| </a> | |
| <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-600 mobile-nav-btn" data-page="documents"> | |
| <i class="fas fa-file-alt text-lg"></i> | |
| <span class="text-xs mt-1">Documents</span> | |
| </a> | |
| <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-600" id="mobile-new-btn"> | |
| <i class="fas fa-plus-circle text-lg bg-blue-600 text-white rounded-full p-1"></i> | |
| <span class="text-xs mt-1">Nouveau</span> | |
| </a> | |
| <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-600 mobile-nav-btn" data-page="research"> | |
| <i class="fas fa-search text-lg"></i> | |
| <span class="text-xs mt-1">Recherche</span> | |
| </a> | |
| <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-600 mobile-nav-btn" data-page="profile"> | |
| <i class="fas fa-user text-lg"></i> | |
| <span class="text-xs mt-1">Profil</span> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Modals --> | |
| <div class="modal" id="new-document-modal"> | |
| <div class="modal-content"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-xl font-bold">Nouveau document</h3> | |
| <button class="text-gray-500 hover:text-gray-700" id="close-new-document-modal">×</button> | |
| </div> | |
| <form id="new-document-form"> | |
| <div class="mb-4"> | |
| <label for="document-title" class="block text-sm font-medium text-gray-700 mb-1">Titre du document</label> | |
| <input type="text" id="document-title" class="w-full px-3 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="document-folder" class="block text-sm font-medium text-gray-700 mb-1">Dossier</label> | |
| <select id="document-folder" class="w-full px-3 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option value="">Aucun dossier</option> | |
| <option value="1">Travail</option> | |
| <option value="2">Personnel</option> | |
| <option value="3">Projets</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Modèle</label> | |
| <div class="grid grid-cols-2 gap-2"> | |
| <button type="button" class="border rounded-md p-3 text-center hover:bg-gray-50 template-option" data-template="blank"> | |
| <i class="fas fa-file-alt text-2xl text-blue-500 mb-1"></i> | |
| <p class="text-sm">Document vierge</p> | |
| </button> | |
| <button type="button" class="border rounded-md p-3 text-center hover:bg-gray-50 template-option" data-template="report"> | |
| <i class="fas fa-chart-bar text-2xl text-green-500 mb-1"></i> | |
| <p class="text-sm">Rapport</p> | |
| </button> | |
| <button type="button" class="border rounded-md p-3 text-center hover:bg-gray-50 template-option" data-template="presentation"> | |
| <i class="fas fa-presentation text-2xl text-purple-500 mb-1"></i> | |
| <p class="text-sm">Présentation</p> | |
| </button> | |
| <button type="button" class="border rounded-md p-3 text-center hover:bg-gray-50 template-option" data-template="notes"> | |
| <i class="fas fa-sticky-note text-2xl text-yellow-500 mb-1"></i> | |
| <p class="text-sm">Notes</p> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex justify-end space-x-3"> | |
| <button type="button" class="px-4 py-2 border rounded-md text-gray-700 hover:bg-gray-50" id="cancel-new-document">Annuler</button> | |
| <button type="submit" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700">Créer</button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| <div class="modal" id="share-modal"> | |
| <div class="modal-content"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-xl font-bold">Partager un document</h3> | |
| <button class="text-gray-500 hover:text-gray-700" id="close-share-modal">×</button> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="share-email" class="block text-sm font-medium text-gray-700 mb-1">Adresse email</label> | |
| <div class="flex"> | |
| <input type="email" id="share-email" class="flex-1 px-3 py-2 border rounded-l-md focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="email@exemple.com"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-r-md hover:bg-blue-700" id="add-collaborator-btn">Ajouter</button> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Permissions</label> | |
| <select id="share-permission" class="w-full px-3 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option value="read">Lecture seule</option> | |
| <option value="write">Lecture et écriture</option> | |
| <option value="admin">Administrateur</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Collaborateurs</label> | |
| <div class="border rounded-md p-3 max-h-40 overflow-y-auto" id="collaborators-list"> | |
| <p class="text-gray-500 text-sm">Aucun collaborateur ajouté</p> | |
| </div> | |
| </div> | |
| <div class="flex justify-end space-x-3"> | |
| <button type="button" class="px-4 py-2 border rounded-md text-gray-700 hover:bg-gray-50" id="cancel-share">Annuler</button> | |
| <button type="button" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700" id="confirm-share">Partager</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="modal" id="logout-modal"> | |
| <div class="modal-content"> | |
| <div class="text-center"> | |
| <i class="fas fa-sign-out-alt text-4xl text-blue-500 mb | |
| </html> |