| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!DOCTYPE html>
- <html lang="fr">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Top clients - dirCops</title>
- <script src="https://cdn.tailwindcss.com"></script>
- </head>
- <body class="bg-gray-50 min-h-screen">
- <div class="max-w-5xl mx-auto px-4 py-8">
- <header class="flex justify-between items-center mb-8">
- <h1 class="text-2xl font-semibold text-gray-800">dirCops</h1>
- <nav class="space-x-4">
- <a href="index.html" class="text-gray-600 hover:text-blue-600">Clients</a>
- <a href="dashboard.html" class="text-gray-600 hover:text-blue-600">Tableau de bord</a>
- <a href="top-clients.html" class="text-blue-600 font-medium">Top clients</a>
- <a href="quantites-clients.html" class="text-gray-600 hover:text-blue-600">Quantités</a>
- </nav>
- </header>
- <div id="error-message" class="hidden mb-4 p-3 bg-red-100 text-red-700 rounded"></div>
- <div class="flex flex-wrap gap-4 mb-6">
- <div>
- <label for="type" class="block text-sm font-medium text-gray-700 mb-1">Type de produit</label>
- <select id="type" class="border border-gray-300 rounded px-3 py-2">
- <option value="alevins">Alevins</option>
- <option value="larves">Larves</option>
- </select>
- </div>
- <div>
- <label for="cycle" class="block text-sm font-medium text-gray-700 mb-1">Cycle (optionnel)</label>
- <select id="cycle" class="border border-gray-300 rounded px-3 py-2">
- <option value="">Tous</option>
- <option value="24-25">24-25</option>
- <option value="25-26">25-26</option>
- </select>
- </div>
- <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>
- </div>
- <div class="bg-white rounded-lg shadow overflow-hidden mb-8">
- <h2 id="title-section" class="px-6 py-4 border-b text-lg font-medium text-gray-800">Top clients Alevins</h2>
- <div id="top-list" class="p-6">Chargement...</div>
- <div id="totaux" class="px-6 pb-4 text-sm text-gray-600"></div>
- </div>
- </div>
- <script src="js/utils.js"></script>
- <script src="js/top-clients.js"></script>
- </body>
- </html>
|