Download index.html from untenson/test: direct link, hf CLI and curl.
- Browser
- Download file 44 kB
-
https://huggingface.co/spaces/untenson/test/resolve/main/index.html
- Command line
-
hf download hf://spaces/untenson/test/index.html
-
curl -L -o index.html https://huggingface.co/spaces/untenson/test/resolve/main/index.html
44 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>MediTrack - Medical Products CRM</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> | |
| <script src="https://cdn.jsdelivr.net/npm/sortablejs@1.14.0/Sortable.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css"> | |
| <script src="https://cdn.jsdelivr.net/npm/flatpickr"></script> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s; | |
| } | |
| .sidebar-collapsed { | |
| width: 70px; | |
| } | |
| .sidebar-expanded { | |
| width: 250px; | |
| } | |
| .main-content { | |
| transition: margin-left 0.3s; | |
| } | |
| .action-item:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| .product-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .partner-card:hover { | |
| transform: scale(1.02); | |
| box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .highlight-warning { | |
| animation: pulse-warning 2s infinite; | |
| } | |
| @keyframes pulse-warning { | |
| 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); } | |
| 70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); } | |
| 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } | |
| } | |
| .highlight-danger { | |
| animation: pulse-danger 2s infinite; | |
| } | |
| @keyframes pulse-danger { | |
| 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); } | |
| 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } | |
| 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div id="sidebar" class="sidebar sidebar-expanded bg-indigo-800 text-white flex flex-col"> | |
| <div class="p-4 flex items-center justify-between border-b border-indigo-700"> | |
| <h1 class="text-xl font-bold whitespace-nowrap">MediTrack</h1> | |
| <button id="toggleSidebar" class="text-white focus:outline-none"> | |
| <i data-feather="chevron-left"></i> | |
| </button> | |
| </div> | |
| <nav class="flex-1 overflow-y-auto"> | |
| <ul class="py-2"> | |
| <li> | |
| <a href="#" class="flex items-center px-4 py-3 text-white bg-indigo-900"> | |
| <i data-feather="home" class="mr-3"></i> | |
| <span class="sidebar-text">Dashboard</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#partners" class="flex items-center px-4 py-3 text-white hover:bg-indigo-700"> | |
| <i data-feather="users" class="mr-3"></i> | |
| <span class="sidebar-text">Partners</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#projects" class="flex items-center px-4 py-3 text-white hover:bg-indigo-700"> | |
| <i data-feather="briefcase" class="mr-3"></i> | |
| <span class="sidebar-text">Projects</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#smart-task" class="flex items-center px-4 py-3 text-white hover:bg-indigo-700"> | |
| <i data-feather="message-square" class="mr-3"></i> | |
| <span class="sidebar-text">Smart Task</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#calendar" class="flex items-center px-4 py-3 text-white hover:bg-indigo-700"> | |
| <i data-feather="calendar" class="mr-3"></i> | |
| <span class="sidebar-text">Calendar</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#portfolio" class="flex items-center px-4 py-3 text-white hover:bg-indigo-700"> | |
| <i data-feather="package" class="mr-3"></i> | |
| <span class="sidebar-text">Product Portfolio</span> | |
| </a> | |
| </li> | |
| </ul> | |
| </nav> | |
| <div class="p-4 border-t border-indigo-700"> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/1" alt="User" class="w-8 h-8 rounded-full"> | |
| <div class="ml-3 sidebar-text"> | |
| <p class="text-sm font-medium">John Doe</p> | |
| <p class="text-xs text-indigo-300">Admin</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="main-content flex-1 overflow-y-auto"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="px-4 py-4 flex justify-between items-center"> | |
| <h2 class="text-xl font-semibold text-gray-800">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-indigo-500"> | |
| <i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i> | |
| </div> | |
| <button class="p-2 text-gray-600 hover:text-indigo-600"> | |
| <i data-feather="bell"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Dashboard Content --> | |
| <main class="p-6"> | |
| <!-- Today's Actions --> | |
| <div class="mb-8"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Today's Actions</h3> | |
| <button class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 flex items-center"> | |
| <i data-feather="plus" class="mr-2"></i> Add Action | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <!-- Action Item 1 --> | |
| <div class="bg-white rounded-lg shadow p-4 action-item border-l-4 border-indigo-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Follow-up with PharmaCorp</h4> | |
| <p class="text-sm text-gray-600">Discuss product licensing terms</p> | |
| </div> | |
| <span class="bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded">Today</span> | |
| </div> | |
| <div class="mt-3 flex justify-between items-center"> | |
| <span class="text-xs text-gray-500">Project: Product X Launch</span> | |
| <div class="flex space-x-2"> | |
| <button class="p-1 text-green-500 hover:text-green-700"> | |
| <i data-feather="check-circle"></i> | |
| </button> | |
| <button class="p-1 text-blue-500 hover:text-blue-700"> | |
| <i data-feather="edit"></i> | |
| </button> | |
| <button class="p-1 text-red-500 hover:text-red-700"> | |
| <i data-feather="trash-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Action Item 2 --> | |
| <div class="bg-white rounded-lg shadow p-4 action-item border-l-4 border-red-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Send documents to HealthPlus</h4> | |
| <p class="text-sm text-gray-600">Product specifications and pricing</p> | |
| </div> | |
| <span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded">Yesterday</span> | |
| </div> | |
| <div class="mt-3 flex justify-between items-center"> | |
| <span class="text-xs text-gray-500">Project: Market Expansion</span> | |
| <div class="flex space-x-2"> | |
| <button class="p-1 text-green-500 hover:text-green-700"> | |
| <i data-feather="check-circle"></i> | |
| </button> | |
| <button class="p-1 text-blue-500 hover:text-blue-700"> | |
| <i data-feather="edit"></i> | |
| </button> | |
| <button class="p-1 text-red-500 hover:text-red-700"> | |
| <i data-feather="trash-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Action Item 3 --> | |
| <div class="bg-white rounded-lg shadow p-4 action-item border-l-4 border-yellow-500 highlight-warning"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Review forecast with MedLife</h4> | |
| <p class="text-sm text-gray-600">Missing forecast data</p> | |
| </div> | |
| <span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded">Today</span> | |
| </div> | |
| <div class="mt-3 flex justify-between items-center"> | |
| <span class="text-xs text-gray-500">Project: Annual Contract</span> | |
| <div class="flex space-x-2"> | |
| <button class="p-1 text-green-500 hover:text-green-700"> | |
| <i data-feather="check-circle"></i> | |
| </button> | |
| <button class="p-1 text-blue-500 hover:text-blue-700"> | |
| <i data-feather="edit"></i> | |
| </button> | |
| <button class="p-1 text-red-500 hover:text-red-700"> | |
| <i data-feather="trash-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Projects Overview --> | |
| <div class="mb-8"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Projects Overview</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4"> | |
| <div class="bg-white rounded-lg shadow p-4"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Total Projects</p> | |
| <h4 class="text-2xl font-bold text-gray-800">24</h4> | |
| </div> | |
| <div class="bg-indigo-100 p-3 rounded-full"> | |
| <i data-feather="briefcase" class="text-indigo-600"></i> | |
| </div> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-indigo-600 rounded-full" style="width: 75%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">15 active projects</p> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-4"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Pending Actions</p> | |
| <h4 class="text-2xl font-bold text-gray-800">18</h4> | |
| </div> | |
| <div class="bg-yellow-100 p-3 rounded-full"> | |
| <i data-feather="alert-circle" class="text-yellow-600"></i> | |
| </div> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-yellow-500 rounded-full" style="width: 30%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">5 overdue</p> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-4"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Partners</p> | |
| <h4 class="text-2xl font-bold text-gray-800">42</h4> | |
| </div> | |
| <div class="bg-green-100 p-3 rounded-full"> | |
| <i data-feather="users" class="text-green-600"></i> | |
| </div> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-green-500 rounded-full" style="width: 60%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">25 active partners</p> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-4"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Products</p> | |
| <h4 class="text-2xl font-bold text-gray-800">156</h4> | |
| </div> | |
| <div class="bg-purple-100 p-3 rounded-full"> | |
| <i data-feather="package" class="text-purple-600"></i> | |
| </div> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="h-2 bg-gray-200 rounded-full"> | |
| <div class="h-2 bg-purple-500 rounded-full" style="width: 85%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">132 approved</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Partners --> | |
| <div class="mb-8"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Recent Partners</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <!-- Partner 1 --> | |
| <div class="bg-white rounded-lg shadow overflow-hidden partner-card"> | |
| <div class="p-4"> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/office/200x200/1" alt="Partner Logo" class="w-12 h-12 rounded-full object-cover"> | |
| <div class="ml-4"> | |
| <h4 class="font-medium text-gray-800">PharmaCorp</h4> | |
| <p class="text-sm text-gray-600">Germany</p> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span class="text-gray-500">Projects:</span> | |
| <span class="font-medium">3</span> | |
| </div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span class="text-gray-500">Forecast Y1:</span> | |
| <span class="font-medium">€1.2M</span> | |
| </div> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-500">Business Model:</span> | |
| <span class="font-medium text-indigo-600">Out-licensing</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-4 py-3 flex justify-between items-center"> | |
| <span class="text-xs text-gray-500">Last contact: 2 days ago</span> | |
| <button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium"> | |
| View Details | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Partner 2 --> | |
| <div class="bg-white rounded-lg shadow overflow-hidden partner-card highlight-warning"> | |
| <div class="p-4"> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/office/200x200/2" alt="Partner Logo" class="w-12 h-12 rounded-full object-cover"> | |
| <div class="ml-4"> | |
| <h4 class="font-medium text-gray-800">HealthPlus</h4> | |
| <p class="text-sm text-gray-600">France</p> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span class="text-gray-500">Projects:</span> | |
| <span class="font-medium">2</span> | |
| </div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span class="text-gray-500">Forecast Y1:</span> | |
| <span class="font-medium text-red-500">Missing</span> | |
| </div> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-500">Business Model:</span> | |
| <span class="font-medium text-indigo-600">Distribution</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-4 py-3 flex justify-between items-center"> | |
| <span class="text-xs text-gray-500">Last contact: 1 week ago</span> | |
| <button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium"> | |
| View Details | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Partner 3 --> | |
| <div class="bg-white rounded-lg shadow overflow-hidden partner-card highlight-danger"> | |
| <div class="p-4"> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/office/200x200/3" alt="Partner Logo" class="w-12 h-12 rounded-full object-cover"> | |
| <div class="ml-4"> | |
| <h4 class="font-medium text-gray-800">MedLife</h4> | |
| <p class="text-sm text-gray-600">Spain</p> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span class="text-gray-500">Projects:</span> | |
| <span class="font-medium">1</span> | |
| </div> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span class="text-gray-500">Forecast Y1:</span> | |
| <span class="font-medium">€750K</span> | |
| </div> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-500">Business Model:</span> | |
| <span class="font-medium text-red-500">Missing</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-4 py-3 flex justify-between items-center"> | |
| <span class="text-xs text-gray-500">Last contact: 3 weeks ago</span> | |
| <button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium"> | |
| View Details | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product Portfolio Highlights --> | |
| <div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Product Portfolio Highlights</h3> | |
| <div class="bg-white rounded-lg shadow overflow-hidden"> | |
| <div class="p-4 border-b"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex space-x-4"> | |
| <button class="px-4 py-2 bg-indigo-600 text-white rounded-lg">All</button> | |
| <button class="px-4 py-2 bg-white border rounded-lg hover:bg-gray-50">Approved</button> | |
| <button class="px-4 py-2 bg-white border rounded-lg hover:bg-gray-50">Pending</button> | |
| </div> | |
| <button class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 flex items-center"> | |
| <i data-feather="upload" class="mr-2"></i> Import from Excel | |
| </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 scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Brand Name</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Active Substance</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Pharmaceutical Form</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">RX/OTC</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">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr class="hover:bg-gray-50"> | |
| <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/medical/200x200/1" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">MediFast</div> | |
| <div class="text-sm text-gray-500">Class: Analgesic</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">Ibuprofen</div> | |
| <div class="text-sm text-gray-500">ATC: M01AE01</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="text-sm text-gray-900">Tablet</span> | |
| </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">OTC</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-indigo-100 text-indigo-800">Approved</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <button class="text-indigo-600 hover:text-indigo-900 mr-3">Edit</button> | |
| <button class="text-gray-600 hover:text-gray-900">View</button> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <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/medical/200x200/2" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">CardioSafe</div> | |
| <div class="text-sm text-gray-500">Class: Cardiovascular</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">Atorvastatin</div> | |
| <div class="text-sm text-gray-500">ATC: C10AA05</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="text-sm text-gray-900">Capsule</span> | |
| </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">RX</span> | |
| </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-right text-sm font-medium"> | |
| <button class="text-indigo-600 hover:text-indigo-900 mr-3">Edit</button> | |
| <button class="text-gray-600 hover:text-gray-900">View</button> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <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/medical/200x200/3" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Respira</div> | |
| <div class="text-sm text-gray-500">Class: Respiratory</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">Salbutamol</div> | |
| <div class="text-sm text-gray-500">ATC: R03AC02</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="text-sm text-gray-900">Inhaler</span> | |
| </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">RX</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-indigo-100 text-indigo-800">Approved</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <button class="text-indigo-600 hover:text-indigo-900 mr-3">Edit</button> | |
| <button class="text-gray-600 hover:text-gray-900">View</button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="bg-gray-50 px-6 py-3 flex items-center justify-between border-t border-gray-200"> | |
| <div class="flex-1 flex justify-between sm:hidden"> | |
| <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> Previous </a> | |
| <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> Next </a> | |
| </div> | |
| <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-700"> Showing <span class="font-medium">1</span> to <span class="font-medium">3</span> of <span class="font-medium">156</span> results </p> | |
| </div> | |
| <div> | |
| <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> | |
| <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Previous</span> <i data-feather="chevron-left" class="h-5 w-5"></i> </a> | |
| <a href="#" aria-current="page" class="z-10 bg-indigo-50 border-indigo-500 text-indigo-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 1 </a> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 2 </a> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 3 </a> | |
| <span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700"> ... </span> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 8 </a> | |
| <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Next</span> <i data-feather="chevron-right" class="h-5 w-5"></i> </a> | |
| </nav> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <!-- Add Action Modal --> | |
| <div id="actionModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-lg shadow-xl w-full max-w-md"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Add New Action</h3> | |
| <button onclick="closeModal('actionModal')" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </div> | |
| <form> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="action-title">Action Title</label> | |
| <input id="action-title" type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="action-project">Project</label> | |
| <select id="action-project" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| <option value="">Select Project</option> | |
| <option value="1">Product X Launch</option> | |
| <option value="2">Market Expansion</option> | |
| <option value="3">Annual Contract</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="action-date">Date & Time</label> | |
| <input id="action-date" type="datetime-local" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="action-notes">Notes</label> | |
| <textarea id="action-notes" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"></textarea> | |
| </div> | |
| <div class="flex justify-end space-x-3"> | |
| <button type="button" onclick="closeModal('actionModal')" class="px-4 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50">Cancel</button> | |
| <button type="submit" class="px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700">Save Action</button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Smart Task Modal --> | |
| <div id="smartTaskModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-lg shadow-xl w-full max-w-2xl"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Smart Task</h3> | |
| <button onclick="closeModal('smartTaskModal')" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </div> | |
| <div class="mb-6"> | |
| <p class="text-gray-600 mb-2">Hey, what are you up to? Write a short summary of a project/partner you discussed.</p> | |
| <textarea id="smart-task-input" rows="4" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="E.g., Discussed pricing with PharmaCorp for Product X launch in Germany..."></textarea> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg mb-6"> | |
| <h4 class="font-medium text-gray-800 mb-2">Detected Information:</h4> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div> | |
| <p class="text-sm text-gray-600">Partner:</p> | |
| <p class="font-medium">PharmaCorp</p> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-600">Project:</p> | |
| <p class="font-medium">Product X Launch</p> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-600">Products:</p> | |
| <p class="font-medium">MediFast, CardioSafe</p> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-600">Action Items:</p> | |
| <p class="font-medium">Follow-up on pricing</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between"> | |
| <button class="px-4 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50 flex items-center"> | |
| <i data-feather="plus" class="mr-2"></i> Create New Project | |
| </button> | |
| <div class="flex space-x-3"> | |
| <button onclick="closeModal('smartTaskModal')" class="px-4 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50">Cancel</button> | |
| <button class="px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700">Save Task</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize AOS | |
| AOS.init(); | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| // Toggle sidebar | |
| document.getElementById('toggleSidebar').addEventListener('click', function() { | |
| const sidebar = document.getElementById('sidebar'); | |
| const sidebarTexts = document.querySelectorAll('.sidebar-text'); | |
| sidebar.classList.toggle('sidebar-collapsed'); | |
| sidebar.classList.toggle('sidebar-expanded'); | |
| sidebarTexts.forEach(text => { | |
| text.classList.toggle('hidden'); | |
| }); | |
| // Change icon based on state | |
| const icon = this.querySelector('svg'); | |
| if (sidebar.classList.contains('sidebar-collapsed')) { | |
| icon.setAttribute('data-feather', 'chevron-right'); | |
| } else { | |
| icon.setAttribute('data-feather', 'chevron-left'); | |
| } | |
| feather.replace(); | |
| }); | |
| // Modal functions | |
| function openModal(modalId) { | |
| document.getElementById(modalId).classList.remove('hidden'); | |
| } | |
| function closeModal(modalId) { | |
| document.getElementById(modalId).classList.add('hidden'); | |
| } | |
| // Initialize date pickers | |
| flatpickr("#action-date", { | |
| enableTime: true, | |
| dateFormat: "Y-m-d H:i", | |
| }); | |
| </script> | |
| </body> | |
| </html> | |