top-clients.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Top clients - Suivi FTI EMGI</title>
  7. <script src="https://cdn.tailwindcss.com"></script>
  8. </head>
  9. <body class="bg-gray-50 min-h-screen">
  10. <div class="max-w-5xl mx-auto px-4 py-8">
  11. <header class="flex justify-between items-center mb-8">
  12. <h1 class="text-2xl font-semibold text-gray-800">Suivi FTI EMGI</h1>
  13. <nav class="space-x-4">
  14. <a href="index.html" class="text-gray-600 hover:text-blue-600">Clients</a>
  15. <a href="dashboard.html" class="text-gray-600 hover:text-blue-600">Tableau de bord</a>
  16. <a href="top-clients.html" class="text-blue-600 font-medium">Top clients</a>
  17. <a href="quantites-clients.html" class="text-gray-600 hover:text-blue-600">Quantités</a>
  18. </nav>
  19. </header>
  20. <div id="error-message" class="hidden mb-4 p-3 bg-red-100 text-red-700 rounded"></div>
  21. <div class="flex flex-wrap gap-4 mb-6">
  22. <div>
  23. <label for="type" class="block text-sm font-medium text-gray-700 mb-1">Type de produit</label>
  24. <select id="type" class="border border-gray-300 rounded px-3 py-2">
  25. <option value="alevins">Alevins</option>
  26. <option value="larves">Larves</option>
  27. </select>
  28. </div>
  29. <div>
  30. <label for="cycle" class="block text-sm font-medium text-gray-700 mb-1">Cycle (optionnel)</label>
  31. <select id="cycle" class="border border-gray-300 rounded px-3 py-2">
  32. <option value="">Tous</option>
  33. <option value="24-25">24-25</option>
  34. <option value="25-26">25-26</option>
  35. </select>
  36. </div>
  37. <div class="flex items-end"><button type="button" id="btn-refresh" class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700">Actualiser</button></div>
  38. </div>
  39. <div class="bg-white rounded-lg shadow overflow-hidden mb-8">
  40. <h2 id="title-section" class="px-6 py-4 border-b text-lg font-medium text-gray-800">Top clients Alevins</h2>
  41. <div id="top-list" class="p-6">Chargement...</div>
  42. <div id="totaux" class="px-6 pb-4 text-sm text-gray-600"></div>
  43. </div>
  44. </div>
  45. <script src="js/utils.js"></script>
  46. <script src="js/top-clients.js"></script>
  47. </body>
  48. </html>