Spaces:
Running
Running
Download index.html from jitendra87/demo: direct link, hf CLI and curl.
- Browser
- Download file 23.7 kB
-
https://huggingface.co/spaces/jitendra87/demo/resolve/main/index.html
- Command line
-
hf download hf://spaces/jitendra87/demo/index.html
-
curl -L -o index.html https://huggingface.co/spaces/jitendra87/demo/resolve/main/index.html
23.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Medisight - Claim Investigation Portal</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #f8fafc; | |
| } | |
| .sidebar { | |
| transition: all 0.3s; | |
| } | |
| .sidebar-mini { | |
| width: 80px; | |
| } | |
| .sidebar-mini .nav-text { | |
| display: none; | |
| } | |
| .sidebar-mini .logo-text { | |
| display: none; | |
| } | |
| .sidebar-mini .logo-icon { | |
| margin: 0 auto; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-white shadow-lg w-64 flex-shrink-0 flex flex-col border-r border-gray-200"> | |
| <div class="p-4 flex items-center space-x-3"> | |
| <div class="logo-icon"> | |
| <i data-feather="activity" class="text-blue-600 w-6 h-6"></i> | |
| </div> | |
| <span class="logo-text text-xl font-bold text-blue-600">Medisight</span> | |
| </div> | |
| <div class="flex-1 overflow-y-auto"> | |
| <nav class="px-4 py-2"> | |
| <div class="mb-6"> | |
| <h3 class="text-xs uppercase font-semibold text-gray-500 mb-3 px-2">Main</h3> | |
| <ul> | |
| <li class="mb-1"> | |
| <a href="dashboard.html" class="flex items-center px-3 py-2 rounded-lg bg-blue-50 text-blue-600"> | |
| <i data-feather="home" class="w-5 h-5 mr-3"></i> | |
| <span class="nav-text">Dashboard</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="cases.html" class="flex items-center px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="file-text" class="w-5 h-5 mr-3"></i> | |
| <span class="nav-text">Cases</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="reports.html" class="flex items-center px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="clipboard" class="w-5 h-5 mr-3"></i> | |
| <span class="nav-text">Reports</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="wallet.html" class="flex items-center px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="dollar-sign" class="w-5 h-5 mr-3"></i> | |
| <span class="nav-text">Wallet</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mb-6"> | |
| <h3 class="text-xs uppercase font-semibold text-gray-500 mb-3 px-2">Management</h3> | |
| <ul> | |
| <li class="mb-1"> | |
| <a href="team.html" class="flex items-center px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="users" class="w-5 h-5 mr-3"></i> | |
| <span class="nav-text">Team</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="clients.html" class="flex items-center px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="briefcase" class="w-5 h-5 mr-3"></i> | |
| <span class="nav-text">Clients</span> | |
| </a> | |
| </li> | |
| <li class="mb-1"> | |
| <a href="settings.html" class="flex items-center px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="settings" class="w-5 h-5 mr-3"></i> | |
| <span class="nav-text">Settings</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </nav> | |
| </div> | |
| <div class="p-4 border-t border-gray-200"> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i data-feather="user" class="text-blue-600 w-5 h-5"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">John Doe</p> | |
| <p class="text-xs text-gray-500">Admin</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 flex flex-col overflow-hidden"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm z-10"> | |
| <div class="flex items-center justify-between px-6 py-3"> | |
| <div class="flex items-center"> | |
| <button class="text-gray-500 focus:outline-none mr-4"> | |
| <i data-feather="menu" class="w-5 h-5"></i> | |
| </button> | |
| <h1 class="text-lg font-semibold text-gray-800">Dashboard</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="text-gray-500 hover:text-gray-700 focus:outline-none"> | |
| <i data-feather="bell" class="w-5 h-5"></i> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700 focus:outline-none"> | |
| <i data-feather="help-circle" class="w-5 h-5"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Page Content --> | |
| <main class="flex-1 overflow-y-auto p-6 bg-gray-50"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Total Cases</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">1,248</h3> | |
| <p class="text-xs text-green-500 mt-1">+12% from last month</p> | |
| </div> | |
| <div class="bg-blue-100 p-3 rounded-full"> | |
| <i data-feather="file-text" class="text-blue-600 w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Pending Cases</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">342</h3> | |
| <p class="text-xs text-red-500 mt-1">+5% from last month</p> | |
| </div> | |
| <div class="bg-yellow-100 p-3 rounded-full"> | |
| <i data-feather="clock" class="text-yellow-600 w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Completed Cases</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">856</h3> | |
| <p class="text-xs text-green-500 mt-1">+8% from last month</p> | |
| </div> | |
| <div class="bg-green-100 p-3 rounded-full"> | |
| <i data-feather="check-circle" class="text-green-600 w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="300"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">TAT Compliance</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">92%</h3> | |
| <p class="text-xs text-green-500 mt-1">+3% from last month</p> | |
| </div> | |
| <div class="bg-purple-100 p-3 rounded-full"> | |
| <i data-feather="target" class="text-purple-600 w-6 h-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6"> | |
| <div class="bg-white rounded-lg shadow p-6 lg:col-span-2" data-aos="fade-up"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Cases</h2> | |
| <a href="#" class="text-sm text-blue-600 hover:underline">View All</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">Case ID</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</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">TAT</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">#MS-1001</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">ABC Insurance</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">Pending</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3 days left</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#MS-1000</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">XYZ Health</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">On time</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#MS-0999</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Global Assurance</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">In Progress</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 days left</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#MS-0998</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Prime Health</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">Overdue</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 days overdue</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Case Status</h2> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="caseStatusChart"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Team Performance</h2> | |
| <a href="#" class="text-sm text-blue-600 hover:underline">View All</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">Investigator</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Cases Completed</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">TAT Compliance</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Penalties</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Earnings</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"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/1" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Jane Cooper</div> | |
| <div class="text-sm text-gray-500">Mumbai</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">42</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <div class="flex items-center"> | |
| <div class="w-16 bg-gray-200 rounded-full h-2.5 mr-2"> | |
| <div class="bg-green-600 h-2.5 rounded-full" style="width: 95%"></div> | |
| </div> | |
| <span>95%</span> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹250</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹12,600</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"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/2" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">John Smith</div> | |
| <div class="text-sm text-gray-500">Delhi</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">38</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <div class="flex items-center"> | |
| <div class="w-16 bg-gray-200 rounded-full h-2.5 mr-2"> | |
| <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 82%"></div> | |
| </div> | |
| <span>82%</span> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹450</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹11,400</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"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/3" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Priya Patel</div> | |
| <div class="text-sm text-gray-500">Bangalore</div> | |
| </div> | |
| </div> | |
| </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"> | |
| <div class="flex items-center"> | |
| <div class="w-16 bg-gray-200 rounded-full h-2.5 mr-2"> | |
| <div class="bg-red-500 h-2.5 rounded-full" style="width: 68%"></div> | |
| </div> | |
| <span>68%</span> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">₹750</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">₹10,500</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script> | |
| AOS.init(); | |
| feather.replace(); | |
| // Case Status Chart | |
| const caseStatusCtx = document.getElementById('caseStatusChart').getContext('2d'); | |
| const caseStatusChart = new Chart(caseStatusCtx, { | |
| type: 'doughnut', | |
| data: { | |
| labels: ['Pending Assignment', 'Field Pending', 'Under Reporting', 'Completed'], | |
| datasets: [{ | |
| data: [120, 85, 65, 342], | |
| backgroundColor: [ | |
| '#3B82F6', | |
| '#F59E0B', | |
| '#6366F1', | |
| '#10B981' | |
| ], | |
| borderWidth: 0 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| cutout: '70%', | |
| plugins: { | |
| legend: { | |
| position: 'bottom', | |
| labels: { | |
| boxWidth: 12, | |
| padding: 20 | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> | |