Spaces:
Running
Running
Download dashboard-client.html from olympusapp/ops-guard: direct link, hf CLI and curl.
- Browser
- Download file 14.1 kB
-
https://huggingface.co/spaces/olympusapp/ops-guard/resolve/main/dashboard-client.html
- Command line
-
hf download hf://spaces/olympusapp/ops-guard/dashboard-client.html
-
curl -L -o dashboard-client.html https://huggingface.co/spaces/olympusapp/ops-guard/resolve/main/dashboard-client.html
14.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Client Dashboard - Olympus Protection Services</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar-link:hover { | |
| background-color: rgba(198, 163, 0, 0.1); | |
| } | |
| .sidebar-link.active { | |
| background-color: #C6A300; | |
| color: black; | |
| } | |
| .kpi-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(198, 163, 0, 0.2); | |
| } | |
| .table-row:hover { | |
| background-color: rgba(198, 163, 0, 0.05); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-softbg min-h-screen"> | |
| <!-- Top Bar --> | |
| <nav class="bg-black text-white sticky top-0 z-40 shadow-lg"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 bg-gold rounded-full"></div> | |
| <span class="text-lg font-bold">OPS</span> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 bg-gray-400 rounded-full"></div> | |
| <span>Jane Client</span> | |
| <span class="chip bg-gold text-black px-2 py-1 rounded-full text-xs font-bold">Client</span> | |
| </div> | |
| <button class="p-2 hover:bg-gray-800 rounded-full"> | |
| <i data-feather="log-out"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <div class="flex"> | |
| <!-- Sidebar --> | |
| <div class="sidebar w-64 bg-black text-white h-screen sticky top-16 z-30"> | |
| <div class="p-4"> | |
| <ul class="space-y-2"> | |
| <li> | |
| <a href="dashboard-client.html" class="sidebar-link active flex items-center space-x-3 p-3 rounded-lg"> | |
| <i data-feather="home"></i> | |
| <span>Dashboard</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="booking.html" class="sidebar-link flex items-center space-x-3 p-3 rounded-lg"> | |
| <i data-feather="shield"></i> | |
| <span>Book Security</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 p-3 rounded-lg"> | |
| <i data-feather="calendar"></i> | |
| <span>My Bookings</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 p-3 rounded-lg"> | |
| <i data-feather="credit-card"></i> | |
| <span>Payments</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="sidebar-link flex items-center space-x-3 p-3 rounded-lg"> | |
| <i data-feather="settings"></i> | |
| <span>Settings</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 p-8"> | |
| <h1 class="text-3xl font-bold mb-8">Client Dashboard</h1> | |
| <!-- KPI Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"> | |
| <div class="kpi-card bg-white p-6 rounded-lg border border-gold shadow-md transition"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Total Spend</p> | |
| <p class="text-2xl font-bold">KES 24,500</p> | |
| </div> | |
| <div class="w-12 h-12 bg-gold bg-opacity-20 rounded-full flex items-center justify-center"> | |
| <i data-feather="dollar-sign" class="text-gold"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="kpi-card bg-white p-6 rounded-lg border border-gold shadow-md transition"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Total Bookings</p> | |
| <p class="text-2xl font-bold">7</p> | |
| </div> | |
| <div class="w-12 h-12 bg-gold bg-opacity-20 rounded-full flex items-center justify-center"> | |
| <i data-feather="file-text" class="text-gold"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="kpi-card bg-white p-6 rounded-lg border border-gold shadow-md transition"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Active Bookings</p> | |
| <p class="text-2xl font-bold">2</p> | |
| </div> | |
| <div class="w-12 h-12 bg-gold bg-opacity-20 rounded-full flex items-center justify-center"> | |
| <i data-feather="shield" class="text-gold"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Bookings Table --> | |
| <div class="bg-white rounded-lg border border-gold shadow-md overflow-hidden"> | |
| <div class="p-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="text-xl font-bold">My Bookings</h2> | |
| <a href="booking.html" class="bg-gold text-black px-4 py-2 rounded-lg font-bold hover:bg-black hover:text-gold hover:border-gold transition flex items-center"> | |
| <i data-feather="plus" class="mr-2"></i> New Booking | |
| </a> | |
| </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">Date</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Guard</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Location</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</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 class="table-row"> | |
| <td class="px-6 py-4 whitespace-nowrap">15 Oct 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap">John Doe</td> | |
| <td class="px-6 py-4 whitespace-nowrap">Daily</td> | |
| <td class="px-6 py-4 whitespace-nowrap">Karen</td> | |
| <td class="px-6 py-4 whitespace-nowrap">KES 3,500</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">Active</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <button class="text-gold hover:text-black mr-2"> | |
| <i data-feather="eye"></i> | |
| </button> | |
| <button class="text-red-500 hover:text-red-700"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr class="table-row"> | |
| <td class="px-6 py-4 whitespace-nowrap">10 Oct 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap">Mike Johnson</td> | |
| <td class="px-6 py-4 whitespace-nowrap">Hourly</td> | |
| <td class="px-6 py-4 whitespace-nowrap">Kilimani</td> | |
| <td class="px-6 py-4 whitespace-nowrap">KES 600</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">Active</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <button class="text-gold hover:text-black mr-2"> | |
| <i data-feather="eye"></i> | |
| </button> | |
| <button class="text-red-500 hover:text-red-700"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr class="table-row"> | |
| <td class="px-6 py-4 whitespace-nowrap">05 Oct 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap">Sarah Smith</td> | |
| <td class="px-6 py-4 whitespace-nowrap">Daily</td> | |
| <td class="px-6 py-4 whitespace-nowrap">Westlands</td> | |
| <td class="px-6 py-4 whitespace-nowrap">KES 5,000</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 py-1 text-xs font-semibold rounded-full bg-yellow-100 text-yellow-800">Completed</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <button class="text-gold hover:text-black mr-2"> | |
| <i data-feather="eye"></i> | |
| </button> | |
| <button class="text-red-500 hover:text-red-700"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <!-- More rows would follow the same pattern --> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="p-4 border-t border-gray-200 flex justify-between items-center"> | |
| <div class="text-sm text-gray-500">Showing 1 to 3 of 7 entries</div> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border border-gray-300 rounded">Previous</button> | |
| <button class="px-3 py-1 bg-gold text-black rounded font-bold">1</button> | |
| <button class="px-3 py-1 border border-gray-300 rounded">2</button> | |
| <button class="px-3 py-1 border border-gray-300 rounded">3</button> | |
| <button class="px-3 py-1 border border-gray-300 rounded">Next</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-black text-white mt-8"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <div class="border-t border-gold pt-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <div class="w-8 h-8 bg-gold rounded-full"></div> | |
| <span class="text-xl font-bold">OPS</span> | |
| </div> | |
| <p>Premium security services in Kenya</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Contact</h3> | |
| <p class="flex items-center mb-2"><i data-feather="phone" class="mr-2"></i> +254 700 000000</p> | |
| <p class="flex items-center mb-2"><i data-feather="mail" class="mr-2"></i> info@olympusprotection.com</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Locations</h3> | |
| <p class="mb-2">Nairobi Headquarters</p> | |
| <p>Mombasa Branch</p> | |
| </div> | |
| </div> | |
| <div class="mt-8 pt-4 border-t border-gold text-center"> | |
| <p>© 2023 Olympus Protection Services. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |