Spaces:
Running
Running
Download cases.html from jitendra87/demo: direct link, hf CLI and curl.
- Browser
- Download file 17.9 kB
-
https://huggingface.co/spaces/jitendra87/demo/resolve/main/cases.html
- Command line
-
hf download hf://spaces/jitendra87/demo/cases.html
-
curl -L -o cases.html https://huggingface.co/spaces/jitendra87/demo/resolve/main/cases.html
17.9 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Cases - Medisight</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"> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar (same as index.html) --> | |
| <!-- ... --> | |
| <!-- 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">Cases</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="mb-6 flex flex-col md:flex-row md:items-center md:justify-between"> | |
| <div class="mb-4 md:mb-0"> | |
| <h2 class="text-xl font-semibold text-gray-800">Case Management</h2> | |
| <p class="text-sm text-gray-600">View and manage all claim investigation cases</p> | |
| </div> | |
| <div class="flex space-x-3"> | |
| <button class="flex items-center px-4 py-2 bg-white border border-gray-300 rounded-lg shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none"> | |
| <i data-feather="filter" class="w-4 h-4 mr-2"></i> | |
| Filter | |
| </button> | |
| <button class="flex items-center px-4 py-2 bg-blue-600 rounded-lg shadow-sm text-sm font-medium text-white hover:bg-blue-700 focus:outline-none"> | |
| <i data-feather="plus" class="w-4 h-4 mr-2"></i> | |
| New Case | |
| </button> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow overflow-hidden mb-6" data-aos="fade-up"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <div class="flex flex-col md:flex-row md:items-center md:justify-between"> | |
| <div class="mb-4 md:mb-0"> | |
| <h3 class="text-lg font-medium text-gray-900">All Cases</h3> | |
| </div> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i data-feather="search" class="text-gray-400 w-4 h-4"></i> | |
| </div> | |
| <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-lg leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Search cases..."> | |
| </div> | |
| </div> | |
| </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">Case ID</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Patient</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Assigned To</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">TAT</th> | |
| <th scope="col" 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 text-sm font-medium text-blue-600"> | |
| <a href="case-detail.html" class="hover:underline">#MS-1001</a> | |
| </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 text-sm text-gray-500">Rahul Sharma</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jane Cooper</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> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
| <div class="flex space-x-2"> | |
| <button class="text-blue-600 hover:text-blue-900"> | |
| <i data-feather="edit" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-gray-600 hover:text-gray-900"> | |
| <i data-feather="more-vertical" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600"> | |
| <a href="case-detail.html" class="hover:underline">#MS-1000</a> | |
| </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 text-sm text-gray-500">Priya Patel</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</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> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
| <div class="flex space-x-2"> | |
| <button class="text-blue-600 hover:text-blue-900"> | |
| <i data-feather="edit" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-gray-600 hover:text-gray-900"> | |
| <i data-feather="more-vertical" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600"> | |
| <a href="case-detail.html" class="hover:underline">#MS-0999</a> | |
| </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 text-sm text-gray-500">Amit Kumar</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Priya Patel</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> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
| <div class="flex space-x-2"> | |
| <button class="text-blue-600 hover:text-blue-900"> | |
| <i data-feather="edit" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-gray-600 hover:text-gray-900"> | |
| <i data-feather="more-vertical" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600"> | |
| <a href="case-detail.html" class="hover:underline">#MS-0998</a> | |
| </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 text-sm text-gray-500">Neha Gupta</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jane Cooper</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> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
| <div class="flex space-x-2"> | |
| <button class="text-blue-600 hover:text-blue-900"> | |
| <i data-feather="edit" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-gray-600 hover:text-gray-900"> | |
| <i data-feather="more-vertical" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="px-6 py-4 border-t border-gray-200"> | |
| <div class="flex flex-col md:flex-row md:items-center md:justify-between"> | |
| <div class="mb-4 md:mb-0"> | |
| <p class="text-sm text-gray-700"> | |
| Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">1248</span> cases | |
| </p> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Previous | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-white bg-blue-600 hover:bg-blue-700"> | |
| 1 | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| 2 | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Next | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-lg font-medium text-gray-900">Case Status Distribution</h3> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="caseDistributionChart"></canvas> | |
| </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"> | |
| <h3 class="text-lg font-medium text-gray-900">TAT Compliance</h3> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="tatComplianceChart"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script> | |
| AOS.init(); | |
| feather.replace(); | |
| // Case Distribution Chart | |
| const caseDistributionCtx = document.getElementById('caseDistributionChart').getContext('2d'); | |
| const caseDistributionChart = new Chart(caseDistributionCtx, { | |
| type: 'bar', | |
| data: { | |
| labels: ['Pending', 'In Progress', 'Completed', 'Overdue'], | |
| datasets: [{ | |
| label: 'Cases', | |
| data: [342, 215, 856, 45], | |
| backgroundColor: [ | |
| '#F59E0B', | |
| '#3B82F6', | |
| '#10B981', | |
| '#EF4444' | |
| ], | |
| borderWidth: 0 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| scales: { | |
| y: { | |
| beginAtZero: true | |
| } | |
| } | |
| } | |
| }); | |
| // TAT Compliance Chart | |
| const tatComplianceCtx = document.getElementById('tatComplianceChart').getContext('2d'); | |
| const tatComplianceChart = new Chart(tatComplianceCtx, { | |
| type: 'line', | |
| data: { | |
| labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'], | |
| datasets: [{ | |
| label: 'TAT Compliance %', | |
| data: [85, 88, 90, 89, 92, 95], | |
| fill: false, | |
| borderColor: '#3B82F6', | |
| tension: 0.1 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| scales: { | |
| y: { | |
| beginAtZero: false, | |
| min: 80, | |
| max: 100 | |
| } | |
| } | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> | |