Download index.html from BachirMB/undefined: direct link, hf CLI and curl.
- Browser
- Download file 19.9 kB
-
https://huggingface.co/spaces/BachirMB/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/BachirMB/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/BachirMB/undefined/resolve/main/index.html
19.9 kB
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>BankForm Pro Dashboard</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| bank: { | |
| 100: '#e0e7ff', | |
| 200: '#c7d2fe', | |
| 300: '#a5b4fc', | |
| 400: '#818cf8', | |
| 500: '#6366f1', | |
| 600: '#4f46e5', | |
| 700: '#4338ca', | |
| 800: '#3730a3', | |
| 900: '#312e81', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .custom-scrollbar::-webkit-scrollbar { | |
| width: 6px; | |
| height: 6px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| border-radius: 10px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-thumb { | |
| background: #c7d2fe; | |
| border-radius: 10px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-thumb:hover { | |
| background: #a5b4fc; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="hidden md:flex md:flex-shrink-0"> | |
| <div class="flex flex-col w-64 bg-bank-800"> | |
| <div class="flex items-center justify-center h-16 px-4 bg-bank-900"> | |
| <div class="flex items-center"> | |
| <i data-feather="credit-card" class="w-8 h-8 text-white"></i> | |
| <span class="ml-2 text-xl font-semibold text-white">BankForm Pro</span> | |
| </div> | |
| </div> | |
| <div class="flex flex-col flex-grow px-4 py-4 overflow-y-auto"> | |
| <nav class="flex-1 space-y-2"> | |
| <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md bg-bank-700 group"> | |
| <i data-feather="home" class="w-5 h-5 mr-3"></i> | |
| Dashboard | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md hover:bg-bank-700 group"> | |
| <i data-feather="users" class="w-5 h-5 mr-3"></i> | |
| Clients | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md hover:bg-bank-700 group"> | |
| <i data-feather="file-text" class="w-5 h-5 mr-3"></i> | |
| Comptes | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md hover:bg-bank-700 group"> | |
| <i data-feather="bar-chart-2" class="w-5 h-5 mr-3"></i> | |
| Rapports | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md hover:bg-bank-700 group"> | |
| <i data-feather="settings" class="w-5 h-5 mr-3"></i> | |
| Paramètres | |
| </a> | |
| </nav> | |
| </div> | |
| <div class="p-4 bg-bank-900"> | |
| <div class="flex items-center"> | |
| <img class="w-10 h-10 rounded-full" src="http://static.photos/finance/200x200/123" alt="Profile"> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-white">Admin User</p> | |
| <p class="text-xs font-medium text-bank-200">admin@bankformpro.com</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex flex-col flex-1 overflow-hidden"> | |
| <!-- Top Navigation --> | |
| <div class="flex items-center justify-between h-16 px-4 bg-white border-b border-gray-200"> | |
| <div class="flex items-center"> | |
| <button class="md:hidden text-gray-500 focus:outline-none"> | |
| <i data-feather="menu" class="w-6 h-6"></i> | |
| </button> | |
| <div class="relative ml-4"> | |
| <input type="text" placeholder="Rechercher..." class="pl-10 pr-4 py-2 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500"> | |
| <i data-feather="search" class="absolute left-3 top-2.5 w-4 h-4 text-gray-400"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-1 text-gray-500 rounded-full hover:bg-gray-100"> | |
| <i data-feather="bell" class="w-5 h-5"></i> | |
| </button> | |
| <button class="p-1 text-gray-500 rounded-full hover:bg-gray-100"> | |
| <i data-feather="mail" class="w-5 h-5"></i> | |
| </button> | |
| <div class="flex items-center"> | |
| <span class="ml-2 text-sm font-medium text-gray-700 md:hidden">Admin</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content Area --> | |
| <div class="flex-1 overflow-auto p-4 bg-gray-50"> | |
| <div class="mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-800">Gestion des Clients</h2> | |
| <p class="text-gray-600">Ajouter, modifier ou supprimer des clients</p> | |
| </div> | |
| <!-- Client Form --> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-6 w-full"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Formulaire Client</h3> | |
| <div class="flex space-x-3"> | |
| <button type="reset" class="px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded-md hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2"> | |
| Annuler | |
| </button> | |
| <button type="submit" class="px-4 py-2 text-sm font-medium text-white bg-bank-600 rounded-md hover:bg-bank-700 focus:outline-none focus:ring-2 focus:ring-bank-500 focus:ring-offset-2"> | |
| Enregistrer | |
| </button> | |
| </div> | |
| </div> | |
| <form class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <label for="nom" class="block text-sm font-medium text-gray-700 mb-1">Nom</label> | |
| <input type="text" id="nom" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500"> | |
| </div> | |
| <div> | |
| <label for="prenom" class="block text-sm font-medium text-gray-700 mb-1">Prénom</label> | |
| <input type="text" id="prenom" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500"> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label> | |
| <input type="email" id="email" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500"> | |
| </div> | |
| <div> | |
| <label for="telephone" class="block text-sm font-medium text-gray-700 mb-1">Téléphone</label> | |
| <input type="tel" id="telephone" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500"> | |
| </div> | |
| <div> | |
| <label for="adresse" class="block text-sm font-medium text-gray-700 mb-1">Adresse</label> | |
| <input type="text" id="adresse" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500"> | |
| </div> | |
| <div> | |
| <label for="date_inscription" class="block text-sm font-medium text-gray-700 mb-1">Date d'Inscription</label> | |
| <input type="date" id="date_inscription" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Statut</label> | |
| <div class="flex items-center space-x-4"> | |
| <label class="inline-flex items-center"> | |
| <input type="radio" name="statut" value="actif" checked class="h-4 w-4 text-bank-600 focus:ring-bank-500 border-gray-300"> | |
| <span class="ml-2 text-sm text-gray-700">Actif</span> | |
| </label> | |
| <label class="inline-flex items-center"> | |
| <input type="radio" name="statut" value="inactif" class="h-4 w-4 text-bank-600 focus:ring-bank-500 border-gray-300"> | |
| <span class="ml-2 text-sm text-gray-700">Inactif</span> | |
| </label> | |
| </div> | |
| </div> | |
| </form> | |
| </div> | |
| <!-- Client Table --> | |
| <div class="bg-white rounded-lg shadow-md overflow-hidden w-full"> | |
| <div class="p-4 border-b border-gray-200"> | |
| <h3 class="text-lg font-semibold text-gray-800">Liste des Clients</h3> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nom</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Prénom</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Email</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Téléphone</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date Inscription</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th> | |
| <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Dupont</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jean</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">jean.dupont@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">0612345678</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15/01/2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Actif</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center justify-end space-x-2"> | |
| <i data-feather="edit" class="w-4 h-4 text-bank-600"></i> | |
| <i data-feather="trash-2" class="w-4 h-4 text-red-600"></i> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Martin</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sophie</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">sophie.martin@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">0698765432</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">22/02/2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Actif</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center justify-end space-x-2"> | |
| <i data-feather="edit" class="w-4 h-4 text-bank-600"></i> | |
| <i data-feather="trash-2" class="w-4 h-4 text-red-600"></i> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Bernard</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Luc</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">luc.bernard@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">0611223344</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">05/03/2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Inactif</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium space-x-2"> | |
| <button class="text-bank-600 hover:text-bank-900"> | |
| <i data-feather="edit" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-red-600 hover:text-red-900"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="bg-gray-50 px-4 py-3 flex items-center justify-between border-t border-gray-200"> | |
| <div class="flex-1 flex justify-between sm:hidden"> | |
| <button class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> | |
| Précédent | |
| </button> | |
| <button class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> | |
| Suivant | |
| </button> | |
| </div> | |
| <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-700"> | |
| Affichage de <span class="font-medium">1</span> à <span class="font-medium">3</span> sur <span class="font-medium">3</span> clients | |
| </p> | |
| </div> | |
| <div> | |
| <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> | |
| <button class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> | |
| <span class="sr-only">Previous</span> | |
| <i data-feather="chevron-left" class="h-5 w-5"></i> | |
| </button> | |
| <button aria-current="page" class="z-10 bg-bank-50 border-bank-500 text-bank-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> | |
| 1 | |
| </button> | |
| <button class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> | |
| 2 | |
| </button> | |
| <button class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> | |
| 3 | |
| </button> | |
| <button class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> | |
| <span class="sr-only">Next</span> | |
| <i data-feather="chevron-right" class="h-5 w-5"></i> | |
| </button> | |
| </nav> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |