Spaces:
Running
Running
Download index.html from MaritaMutemi/admin: direct link, hf CLI and curl.
- Browser
- Download file 38.8 kB
-
https://huggingface.co/spaces/MaritaMutemi/admin/resolve/main/index.html
- Command line
-
hf download hf://spaces/MaritaMutemi/admin/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MaritaMutemi/admin/resolve/main/index.html
38.8 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Admin Portal - Analytics</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#4F46E5', | |
| secondary: '#10B981', | |
| dark: '#1F2937', | |
| light: '#F9FAFB' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .report-card { | |
| transition: transform 0.2s ease, box-shadow 0.2s ease; | |
| } | |
| .report-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| .tab-content { | |
| display: none; | |
| } | |
| .tab-content.active { | |
| display: block; | |
| animation: fadeIn 0.3s ease; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| .data-table { | |
| width: 100%; | |
| overflow-x: auto; | |
| } | |
| .dropdown-content { | |
| display: none; | |
| position: absolute; | |
| min-width: 200px; | |
| z-index: 1; | |
| } | |
| .dropdown:hover .dropdown-content { | |
| display: block; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <div class="flex h-screen"> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-white w-64 shadow-lg flex flex-col"> | |
| <div class="p-4 border-b border-gray-200"> | |
| <h1 class="text-xl font-bold text-primary">Admin Portal</h1> | |
| </div> | |
| <nav class="flex-1 overflow-y-auto"> | |
| <ul class="p-2"> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded"> | |
| <i class="fas fa-tachometer-alt mr-3"></i> | |
| <span>Dashboard</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded"> | |
| <i class="fas fa-store mr-3"></i> | |
| <span>Merchants</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded"> | |
| <i class="fas fa-wallet mr-3"></i> | |
| <span>Wallet</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <div class="dropdown relative"> | |
| <button class="flex items-center w-full p-2 text-gray-600 hover:bg-gray-100 rounded"> | |
| <i class="fas fa-chart-bar mr-3"></i> | |
| <span>Reports</span> | |
| <i class="fas fa-chevron-down ml-auto text-xs"></i> | |
| </button> | |
| <div class="dropdown-content bg-white shadow-lg rounded mt-1 py-1"> | |
| <a href="#" class="block px-4 py-2 text-gray-700 hover:bg-gray-100">Transaction Reports</a> | |
| <a href="#" class="block px-4 py-2 text-gray-700 hover:bg-gray-100">Audit Logs</a> | |
| <a href="#" class="block px-4 py-2 text-gray-700 hover:bg-gray-100 bg-primary-100 text-primary font-medium">Analytics</a> | |
| </div> | |
| </div> | |
| </li> | |
| <li class="mb-1"> | |
| <div class="dropdown relative"> | |
| <button class="flex items-center w-full p-2 text-gray-600 hover:bg-gray-100 rounded"> | |
| <i class="fas fa-plug mr-3"></i> | |
| <span>APIs</span> | |
| <i class="fas fa-chevron-down ml-auto text-xs"></i> | |
| </button> | |
| <div class="dropdown-content bg-white shadow-lg rounded mt-1 py-1"> | |
| <a href="#" class="block px-4 py-2 text-gray-700 hover:bg-gray-100">API Status</a> | |
| <a href="#" class="block px-4 py-2 text-gray-700 hover:bg-gray-100">API Documentation</a> | |
| </div> | |
| </div> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded"> | |
| <i class="fas fa-cog mr-3"></i> | |
| <span>Settings</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </nav> | |
| <div class="p-4 border-t border-gray-200"> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-primary flex items-center justify-center text-white"> | |
| <i class="fas fa-user"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium">Admin User</p> | |
| <p class="text-xs text-gray-500">Super Admin</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 overflow-y-auto"> | |
| <header class="bg-white shadow-sm p-4"> | |
| <div class="flex justify-between items-center"> | |
| <h2 class="text-xl font-semibold text-gray-800">Analytics Dashboard</h2> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| <button class="p-2 text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-bell"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <main class="p-6"> | |
| <!-- Report Type Tabs --> | |
| <div class="bg-white rounded-lg shadow mb-6"> | |
| <div class="border-b border-gray-200"> | |
| <nav class="flex -mb-px"> | |
| <button onclick="switchTab('endpoint')" class="tab-button py-4 px-6 border-b-2 font-medium text-sm active border-primary text-primary"> | |
| Endpoint Reports | |
| </button> | |
| <button onclick="switchTab('checks')" class="tab-button py-4 px-6 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"> | |
| Checks Summary | |
| </button> | |
| <button onclick="switchTab('customer')" class="tab-button py-4 px-6 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"> | |
| Customer Reports | |
| </button> | |
| <button onclick="switchTab('country')" class="tab-button py-4 px-6 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"> | |
| Country Reports | |
| </button> | |
| <button onclick="switchTab('tat')" class="tab-button py-4 px-6 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"> | |
| TAT Metrics | |
| </button> | |
| <button onclick="switchTab('rework')" class="tab-button py-4 px-6 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"> | |
| Rework Reports | |
| </button> | |
| </nav> | |
| </div> | |
| </div> | |
| <!-- Endpoint Reports Tab --> | |
| <div id="endpoint" class="tab-content active"> | |
| <div class="bg-white rounded-lg shadow p-6 mb-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-lg font-semibold">Endpoint Reports</h3> | |
| <div class="flex space-x-3"> | |
| <div class="relative"> | |
| <select class="block appearance-none bg-gray-100 border border-gray-200 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-primary"> | |
| <option>Select Endpoint</option> | |
| <option>ID Verification</option> | |
| <option>Company Search</option> | |
| <option>NGO Search</option> | |
| <option>Trust Search</option> | |
| <option>Vehicle Search</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-chevron-down"></i> | |
| </div> | |
| </div> | |
| <button class="bg-primary hover:bg-primary-dark text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-filter mr-2"></i> Filter | |
| </button> | |
| <div class="flex space-x-2"> | |
| <button class="bg-green-500 hover:bg-green-600 text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-file-excel mr-2"></i> Excel | |
| </button> | |
| <button class="bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-file-pdf mr-2"></i> PDF | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto data-table"> | |
| <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">Date</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Data Source</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Check Type</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Merchant</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">User</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Transaction</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Response Time</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-15 14:30</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">IPRS</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">ID Verification</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">Completed</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Safaricom Ltd</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">john.doe@safaricom.co.ke</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Debit</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3 seconds</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-15 14:25</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">KRA</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Company Search</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">In Progress</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Equity Bank</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">jane.smith@equitybank.co.ke</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Credit</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1 minute</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-15 14:20</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">NTSA</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Vehicle Search</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">Invalid</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Uber Kenya</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">mike.j@uber.co.ke</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Refund</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">5 seconds</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="flex justify-between items-center mt-4"> | |
| <div class="text-sm text-gray-500"> | |
| Showing <span class="font-medium">1</span> to <span class="font-medium">10</span> of <span class="font-medium">97</span> results | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border rounded text-gray-700 bg-white hover:bg-gray-50"> | |
| Previous | |
| </button> | |
| <button class="px-3 py-1 border rounded bg-primary text-white hover:bg-primary-dark"> | |
| 1 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-gray-700 bg-white hover:bg-gray-50"> | |
| 2 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-gray-700 bg-white hover:bg-gray-50"> | |
| 3 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-gray-700 bg-white hover:bg-gray-50"> | |
| Next | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Checks Summary Reports Tab --> | |
| <div id="checks" class="tab-content"> | |
| <div class="bg-white rounded-lg shadow p-6 mb-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-lg font-semibold">Checks Summary Reports</h3> | |
| <div class="flex space-x-3"> | |
| <div class="flex items-center space-x-2"> | |
| <span class="text-sm text-gray-600">From:</span> | |
| <input type="date" class="border rounded px-3 py-1"> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="text-sm text-gray-600">To:</span> | |
| <input type="date" class="border rounded px-3 py-1"> | |
| </div> | |
| <button class="bg-primary hover:bg-primary-dark text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-filter mr-2"></i> Apply | |
| </button> | |
| <div class="flex space-x-2"> | |
| <button class="bg-green-500 hover:bg-green-600 text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-file-excel mr-2"></i> Excel | |
| </button> | |
| <button class="bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-file-pdf mr-2"></i> PDF | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-6"> | |
| <div class="report-card bg-white border border-gray-200 rounded-lg p-4 shadow-sm"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">ID with Image</p> | |
| <p class="text-2xl font-semibold mt-1">40,000</p> | |
| </div> | |
| <div class="p-2 rounded-full bg-blue-50 text-blue-500"> | |
| <i class="fas fa-id-card"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-blue-500 rounded-full" style="width: 70%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="report-card bg-white border border-gray-200 rounded-lg p-4 shadow-sm"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Company Search</p> | |
| <p class="text-2xl font-semibold mt-1">80,000</p> | |
| </div> | |
| <div class="p-2 rounded-full bg-green-50 text-green-500"> | |
| <i class="fas fa-building"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-green-500 rounded-full" style="width: 85%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="report-card bg-white border border-gray-200 rounded-lg p-4 shadow-sm"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Vehicle Search</p> | |
| <p class="text-2xl font-semibold mt-1">25,000</p> | |
| </div> | |
| <div class="p-2 rounded-full bg-purple-50 text-purple-500"> | |
| <i class="fas fa-car"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-purple-500 rounded-full" style="width: 50%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto data-table"> | |
| <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">Endpoint</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Total Checks</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Percentage</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Trend</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">ID Verification</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">40,000</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">35%</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <i class="fas fa-arrow-up text-green-500 mr-1"></i> 12% | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Company Search</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">80,000</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">45%</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <i class="fas fa-arrow-up text-green-500 mr-1"></i> 8% | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Vehicle Search</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">25,000</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15%</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <i class="fas fa-arrow-down text-red-500 mr-1"></i> 5% | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">NGO Search</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">12,000</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"> | |
| <i class="fas fa-arrow-up text-green-500 mr-1"></i> 2% | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Customer Reports Tab --> | |
| <div id="customer" class="tab-content"> | |
| <div class="bg-white rounded-lg shadow p-6 mb-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-lg font-semibold">Customer Reports</h3> | |
| <div class="flex space-x-3"> | |
| <div class="relative"> | |
| <select class="block appearance-none bg-gray-100 border border-gray-200 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-primary"> | |
| <option>All Customers</option> | |
| <option>Safaricom Ltd</option> | |
| <option>Equity Bank</option> | |
| <option>Uber Kenya</option> | |
| <option>KCB Bank</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-chevron-down"></i> | |
| </div> | |
| </div> | |
| <button class="bg-primary hover:bg-primary-dark text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-filter mr-2"></i> Filter | |
| </button> | |
| <div class="flex space-x-2"> | |
| <button class="bg-green-500 hover:bg-green-600 text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-file-excel mr-2"></i> Excel | |
| </button> | |
| <button class="bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-file-pdf mr-2"></i> PDF | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6"> | |
| <div class="report-card bg-white border border-gray-200 rounded-lg p-4 shadow-sm"> | |
| <h4 class="text-md font-medium mb-4">Total Requests by Customer</h4> | |
| <div class="space-y-4"> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Safaricom Ltd</span> | |
| <span>32,000</span> | |
| </div> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-blue-500 rounded-full" style="width: 70%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Equity Bank</span> | |
| <span>28,500</span> | |
| </div> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-green-500 rounded-full" style="width: 62%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Uber Kenya</span> | |
| <span>15,200</span> | |
| </div> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-purple-500 rounded-full" style="width: 33%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>KCB Bank</span> | |
| <span>12,800</span> | |
| </div> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-yellow-500 rounded-full" style="width: 28%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="report-card bg-white border border-gray-200 rounded-lg p-4 shadow-sm"> | |
| <h4 class="text-md font-medium mb-4">Revenue Generated by Customer</h4> | |
| <div class="space-y-4"> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Safaricom Ltd</span> | |
| <span>KES 1,280,000</span> | |
| </div> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-blue-500 rounded-full" style="width: 75%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Equity Bank</span> | |
| <span>KES 1,140,000</span> | |
| </div> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-green-500 rounded-full" style="width: 65%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Uber Kenya</span> | |
| <span>KES 608,000</span> | |
| </div> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-purple-500 rounded-full" style="width: 35%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>KCB Bank</span> | |
| <span>KES 512,000</span> | |
| </div> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-yellow-500 rounded-full" style="width: 30%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto data-table"> | |
| <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">Customer</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Total Requests</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Revenue Generated</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Avg. Response Time</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Success Rate</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">Safaricom Ltd</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">32,000</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">KES 1,280,000</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">4.2s</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">98%</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Equity Bank</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">28,500</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">KES 1,140,000</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3.8s</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">97%</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Uber Kenya</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15,200</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">KES 608,000</td> | |
| <td class="px-6 py-4 whites | |
| </html> |