Spaces:
Running
Running
Please create all the pages on the sidebar menu in admin-dashboard, when you click on them we should be directed to the page containing the information
9dade79 verified Download admin-customers.html from KatlegoWalter/undefined: direct link, hf CLI and curl.
- Browser
- Download file 11.6 kB
-
https://huggingface.co/spaces/KatlegoWalter/undefined/resolve/main/admin-customers.html
- Command line
-
hf download hf://spaces/KatlegoWalter/undefined/admin-customers.html
-
curl -L -o admin-customers.html https://huggingface.co/spaces/KatlegoWalter/undefined/resolve/main/admin-customers.html
11.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Customers | Jupiter Admin</title> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#1e3a8a', | |
| secondary: '#9ca3af' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| </head> | |
| <body class="bg-gray-100"> | |
| <div class="flex h-screen"> | |
| <div class="w-64 bg-primary text-white shadow-lg"> | |
| <div class="p-4 flex items-center space-x-2 border-b border-primary-darker"> | |
| <i data-feather="settings" class="w-6 h-6 text-secondary"></i> | |
| <span class="text-xl font-bold">Admin Dashboard</span> | |
| </div> | |
| <nav class="p-4"> | |
| <div class="space-y-2"> | |
| <a href="admin-dashboard.html" class="flex items-center space-x-2 p-2 rounded-lg hover:bg-primary-darker transition"> | |
| <i data-feather="home"></i> | |
| <span>Dashboard</span> | |
| </a> | |
| <a href="admin-bookings.html" class="flex items-center space-x-2 p-2 rounded-lg hover:bg-primary-darker transition"> | |
| <i data-feather="calendar"></i> | |
| <span>Bookings</span> | |
| </a> | |
| <a href="admin-customers.html" class="flex items-center space-x-2 p-2 rounded-lg bg-primary-darker"> | |
| <i data-feather="users"></i> | |
| <span>Customers</span> | |
| </a> | |
| <a href="admin-cars.html" class="flex items-center space-x-2 p-2 rounded-lg hover:bg-primary-darker transition"> | |
| <i data-feather="car"></i> | |
| <span>Courtesy Cars</span> | |
| </a> | |
| <a href="admin-transactions.html" class="flex items-center space-x-2 p-2 rounded-lg hover:bg-primary-darker transition"> | |
| <i data-feather="dollar-sign"></i> | |
| <span>Transactions</span> | |
| </a> | |
| <a href="admin-settings.html" class="flex items-center space-x-2 p-2 rounded-lg hover:bg-primary-darker transition"> | |
| <i data-feather="settings"></i> | |
| <span>Settings</span> | |
| </a> | |
| </div> | |
| </nav> | |
| </div> | |
| <div class="flex-1 overflow-auto"> | |
| <header class="bg-white shadow-sm p-4 flex justify-between items-center"> | |
| <h1 class="text-2xl font-bold text-gray-800">Customer Management</h1> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <i data-feather="bell" class="text-gray-600 hover:text-primary cursor-pointer"></i> | |
| <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 rounded-full bg-secondary flex items-center justify-center text-white"> | |
| <i data-feather="user"></i> | |
| </div> | |
| <span class="font-medium">Admin User</span> | |
| </div> | |
| </div> | |
| </header> | |
| <main class="p-6"> | |
| <div class="bg-white rounded-lg shadow overflow-hidden"> | |
| <div class="p-4 border-b flex justify-between items-center"> | |
| <h3 class="text-lg font-semibold">Customer List</h3> | |
| <div class="flex space-x-2"> | |
| <input type="text" placeholder="Search customers..." class="border rounded px-3 py-1 text-sm w-64"> | |
| <button class="bg-primary text-white px-3 py-1 rounded text-sm hover:bg-blue-800 transition"> | |
| <i data-feather="plus" class="w-4 h-4 inline mr-1"></i> New Customer | |
| </button> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Name</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Email</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Phone</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Vehicles</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Bookings</th> | |
| <th class="px-6 py-3 text-left 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"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-full bg-gray-200 flex items-center justify-center"> | |
| <i data-feather="user" class="text-gray-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">John Smith</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">john.smith@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">+27 82 123 4567</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">5</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-primary hover:text-primary-darker mr-2"><i data-feather="edit" class="w-4 h-4"></i></button> | |
| <button class="text-primary hover:text-primary-darker mr-2"><i data-feather="eye" class="w-4 h-4"></i></button> | |
| <button class="text-red-500 hover:text-red-700"><i data-feather="trash" class="w-4 h-4"></i></button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-full bg-gray-200 flex items-center justify-center"> | |
| <i data-feather="user" class="text-gray-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Sarah Johnson</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">sarah.j@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">+27 83 456 7890</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-primary hover:text-primary-darker mr-2"><i data-feather="edit" class="w-4 h-4"></i></button> | |
| <button class="text-primary hover:text-primary-darker mr-2"><i data-feather="eye" class="w-4 h-4"></i></button> | |
| <button class="text-red-500 hover:text-red-700"><i data-feather="trash" class="w-4 h-4"></i></button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-full bg-gray-200 flex items-center justify-center"> | |
| <i data-feather="user" class="text-gray-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Michael Brown</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">michael.b@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">+27 84 789 0123</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">7</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-primary hover:text-primary-darker mr-2"><i data-feather="edit" class="w-4 h-4"></i></button> | |
| <button class="text-primary hover:text-primary-darker mr-2"><i data-feather="eye" class="w-4 h-4"></i></button> | |
| <button class="text-red-500 hover:text-red-700"><i data-feather="trash" class="w-4 h-4"></i></button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |