Spaces:
Running
Running
Download index.html from ron2419/oppsys-test: direct link, hf CLI and curl.
- Browser
- Download file 38.3 kB
-
https://huggingface.co/spaces/ron2419/oppsys-test/resolve/main/index.html
- Command line
-
hf download hf://spaces/ron2419/oppsys-test/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ron2419/oppsys-test/resolve/main/index.html
38.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Worker Management</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"> | |
| <style> | |
| :root { | |
| --primary: #6366f1; | |
| --primary-dark: #4f46e5; | |
| } | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| transform: translateX(-100%); | |
| position: absolute; | |
| z-index: 50; | |
| height: 100vh; | |
| } | |
| .sidebar.active { | |
| transform: translateX(0); | |
| } | |
| } | |
| .chart-container { | |
| height: 250px; | |
| } | |
| /* Custom scrollbar */ | |
| .custom-scrollbar::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-thumb { | |
| background: #c7d2fe; | |
| border-radius: 4px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-thumb:hover { | |
| background: var(--primary); | |
| } | |
| .ai-worker-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-white w-64 flex-shrink-0 border-r border-gray-200"> | |
| <div class="p-4 flex items-center justify-between border-b border-gray-200"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-10 h-10 rounded-lg bg-indigo-500 flex items-center justify-center"> | |
| <i class="fas fa-robot text-white text-xl"></i> | |
| </div> | |
| <h1 class="text-xl font-bold text-indigo-600">AI Workforce</h1> | |
| </div> | |
| <button id="closeSidebar" class="lg:hidden text-gray-500"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <nav class="p-4 space-y-1"> | |
| <a href="#" class="flex items-center space-x-3 p-3 rounded-lg bg-indigo-50 text-indigo-700"> | |
| <i class="fas fa-tachometer-alt text-indigo-600"></i> | |
| <span>Dashboard</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i class="fas fa-robot text-gray-500"></i> | |
| <span>AI Workers</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i class="fas fa-users text-gray-500"></i> | |
| <span>Clients</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i class="fas fa-chart-line text-gray-500"></i> | |
| <span>Analytics</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i class="fas fa-cog text-gray-500"></i> | |
| <span>Settings</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i class="fas fa-question-circle text-gray-500"></i> | |
| <span>Help & Support</span> | |
| </a> | |
| </nav> | |
| <div class="absolute bottom-0 left-0 right-0 p-4 border-t border-gray-200"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i class="fas fa-user text-indigo-600"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Admin User</p> | |
| <p class="text-xs text-gray-500">admin@aiworkforce.com</p> | |
| </div> | |
| </div> | |
| <button class="mt-4 w-full py-2 px-4 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200 text-sm flex items-center justify-center space-x-2"> | |
| <i class="fas fa-sign-out-alt"></i> | |
| <span>Logout</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Main content --> | |
| <div class="flex-1 flex flex-col overflow-hidden"> | |
| <!-- Header --> | |
| <header class="bg-white shadow-sm z-10"> | |
| <div class="px-6 py-4 flex items-center justify-between"> | |
| <div class="flex items-center space-x-4"> | |
| <button id="toggleSidebar" class="lg:hidden text-gray-500"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <h2 class="text-xl font-semibold text-gray-800">Dashboard</h2> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i> | |
| <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent"> | |
| </div> | |
| <button class="relative p-2 text-gray-500 hover:bg-gray-100 rounded-full"> | |
| <i class="fas fa-bell"></i> | |
| <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main content area --> | |
| <main class="flex-1 overflow-y-auto custom-scrollbar p-6 bg-gray-50"> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Active AI Workers</p> | |
| <h3 class="text-2xl font-bold mt-1">147</h3> | |
| <p class="text-xs text-green-500 mt-1"><i class="fas fa-arrow-up mr-1"></i> 12% from last month</p> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-indigo-50 flex items-center justify-center"> | |
| <i class="fas fa-robot text-indigo-500 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Active Clients</p> | |
| <h3 class="text-2xl font-bold mt-1">24</h3> | |
| <p class="text-xs text-green-500 mt-1"><i class="fas fa-arrow-up mr-1"></i> 8% from last month</p> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-green-50 flex items-center justify-center"> | |
| <i class="fas fa-users text-green-500 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Tasks Completed</p> | |
| <h3 class="text-2xl font-bold mt-1">1,892</h3> | |
| <p class="text-xs text-red-500 mt-1"><i class="fas fa-arrow-down mr-1"></i> 4% from last month</p> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-blue-50 flex items-center justify-center"> | |
| <i class="fas fa-tasks text-blue-500 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Revenue</p> | |
| <h3 class="text-2xl font-bold mt-1">$8,745</h3> | |
| <p class="text-xs text-green-500 mt-1"><i class="fas fa-arrow-up mr-1"></i> 22% from last month</p> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-purple-50 flex items-center justify-center"> | |
| <i class="fas fa-dollar-sign text-purple-500 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts and AI Workers --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6"> | |
| <!-- Performance Chart --> | |
| <div class="bg-white rounded-xl shadow-sm p-6 lg:col-span-2"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="font-semibold text-lg">Worker Performance Analytics</h3> | |
| <select class="border border-gray-300 rounded-lg px-3 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| <option>Last 7 days</option> | |
| <option>Last Month</option> | |
| <option>Last Quarter</option> | |
| </select> | |
| </div> | |
| <div class="chart-container"> | |
| <canvas id="performanceChart"></canvas> | |
| </div> | |
| </div> | |
| <!-- Recent Activity --> | |
| <div class="bg-white rounded-xl shadow-sm p-6 overflow-hidden"> | |
| <h3 class="font-semibold text-lg mb-4">Recent Activity</h3> | |
| <div class="space-y-4 overflow-y-auto custom-scrollbar" style="max-height: 300px;"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="flex-shrink-0 w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i class="fas fa-robot text-indigo-600"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium">New AI worker deployed</p> | |
| <p class="text-xs text-gray-500">Customer Support Bot #142 for TechCorp</p> | |
| <p class="text-xs text-gray-400 mt-1">10 minutes ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start space-x-3"> | |
| <div class="flex-shrink-0 w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-tasks text-blue-600"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium">Task completed</p> | |
| <p class="text-xs text-gray-500">Data analysis for FinBank completed</p> | |
| <p class="text-xs text-gray-400 mt-1">1 hour ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start space-x-3"> | |
| <div class="flex-shrink-0 w-10 h-10 rounded-full bg-green-100 flex items-center justify-center"> | |
| <i class="fas fa-user-plus text-green-600"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium">New client</p> | |
| <p class="text-xs text-gray-500">HealthPlus signed up for 3 AI workers</p> | |
| <p class="text-xs text-gray-400 mt-1">3 hours ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start space-x-3"> | |
| <div class="flex-shrink-0 w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center"> | |
| <i class="fas fa-exclamation-triangle text-yellow-600"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium">Worker issue detected</p> | |
| <p class="text-xs text-gray-500">Sales Bot #32 for RetailCo needs attention</p> | |
| <p class="text-xs text-gray-400 mt-1">5 hours ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- AI Workers Section --> | |
| <div class="mb-6"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="font-semibold text-lg">AI Workers by Client</h3> | |
| <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg text-sm flex items-center space-x-2"> | |
| <i class="fas fa-plus"></i> | |
| <span>Add New Worker</span> | |
| </button> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm overflow-hidden"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 p-6"> | |
| <!-- AI Worker Cards --> | |
| <div class="ai-worker-card border border-gray-200 rounded-xl p-5 transition-all duration-300 hover:border-indigo-300"> | |
| <div class="flex items-start justify-between mb-4"> | |
| <div> | |
| <h4 class="font-semibold">Customer Support Bot</h4> | |
| <p class="text-sm text-gray-500">TechCorp Inc.</p> | |
| </div> | |
| <div class="w-10 h-10 rounded-lg bg-indigo-100 flex items-center justify-center"> | |
| <i class="fas fa-headset text-indigo-600"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between text-xs mb-3"> | |
| <span class="px-2 py-1 bg-green-100 text-green-800 rounded-full">Active</span> | |
| <span>Version 2.3.1</span> | |
| </div> | |
| <div class="flex items-center justify-between text-sm mb-4"> | |
| <div> | |
| <p class="text-gray-500">Tasks Completed</p> | |
| <p class="font-medium">124</p> | |
| </div> | |
| <div> | |
| <p class="text-gray-500">Uptime</p> | |
| <p class="font-medium">99.7%</p> | |
| </div> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-1.5 mb-3"> | |
| <div class="bg-indigo-600 h-1.5 rounded-full" style="width: 85%"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-500 mb-3"> | |
| <span>CPU Usage</span> | |
| <span>85%</span> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="flex-1 py-2 px-3 bg-indigo-50 text-indigo-700 rounded-lg text-sm hover:bg-indigo-100"> | |
| <i class="fas fa-cog mr-1"></i> Configure | |
| </button> | |
| <button class="flex-1 py-2 px-3 bg-gray-100 text-gray-700 rounded-lg text-sm hover:bg-gray-200"> | |
| <i class="fas fa-chart-line mr-1"></i> Stats | |
| </button> | |
| </div> | |
| </div> | |
| <div class="ai-worker-card border border-gray-200 rounded-xl p-5 transition-all duration-300 hover:border-indigo-300"> | |
| <div class="flex items-start justify-between mb-4"> | |
| <div> | |
| <h4 class="font-semibold">Sales Analyzer</h4> | |
| <p class="text-sm text-gray-500">RetailCo LLC</p> | |
| </div> | |
| <div class="w-10 h-10 rounded-lg bg-purple-100 flex items-center justify-center"> | |
| <i class="fas fa-chart-pie text-purple-600"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between text-xs mb-3"> | |
| <span class="px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full">Maintenance</span> | |
| <span>Version 1.9.5</span> | |
| </div> | |
| <div class="flex items-center justify-between text-sm mb-4"> | |
| <div> | |
| <p class="text-gray-500">Tasks Completed</p> | |
| <p class="font-medium">312</p> | |
| </div> | |
| <div> | |
| <p class="text-gray-500">Uptime</p> | |
| <p class="font-medium">97.2%</p> | |
| </div> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-1.5 mb-3"> | |
| <div class="bg-indigo-600 h-1.5 rounded-full" style="width: 65%"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-500 mb-3"> | |
| <span>CPU Usage</span> | |
| <span>65%</span> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="flex-1 py-2 px-3 bg-indigo-50 text-indigo-700 rounded-lg text-sm hover:bg-indigo-100"> | |
| <i class="fas fa-cog mr-1"></i> Configure | |
| </button> | |
| <button class="flex-1 py-2 px-3 bg-gray-100 text-gray-700 rounded-lg text-sm hover:bg-gray-200"> | |
| <i class="fas fa-chart-line mr-1"></i> Stats | |
| </button> | |
| </div> | |
| </div> | |
| <div class="ai-worker-card border border-gray-200 rounded-xl p-5 transition-all duration-300 hover:border-indigo-300"> | |
| <div class="flex items-start justify-between mb-4"> | |
| <div> | |
| <h4 class="font-semibold">Data Processor</h4> | |
| <p class="text-sm text-gray-500">FinBank Ltd.</p> | |
| </div> | |
| <div class="w-10 h-10 rounded-lg bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-database text-blue-600"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between text-xs mb-3"> | |
| <span class="px-2 py-1 bg-green-100 text-green-800 rounded-full">Active</span> | |
| <span>Version 3.1.0</span> | |
| </div> | |
| <div class="flex items-center justify-between text-sm mb-4"> | |
| <div> | |
| <p class="text-gray-500">Tasks Completed</p> | |
| <p class="font-medium">478</p> | |
| </div> | |
| <div> | |
| <p class="text-gray-500">Uptime</p> | |
| <p class="font-medium">99.9%</p> | |
| </div> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-1.5 mb-3"> | |
| <div class="bg-indigo-600 h-1.5 rounded-full" style="width: 72%"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-500 mb-3"> | |
| <span>CPU Usage</span> | |
| <span>72%</span> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="flex-1 py-2 px-3 bg-indigo-50 text-indigo-700 rounded-lg text-sm hover:bg-indigo-100"> | |
| <i class="fas fa-cog mr-1"></i> Configure | |
| </button> | |
| <button class="flex-1 py-2 px-3 bg-gray-100 text-gray-700 rounded-lg text-sm hover:bg-gray-200"> | |
| <i class="fas fa-chart-line mr-1"></i> Stats | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Clients Table --> | |
| <div> | |
| <h3 class="font-semibold text-lg mb-4">Client Overview</h3> | |
| <div class="bg-white rounded-xl shadow-sm overflow-hidden"> | |
| <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">Client</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Active Workers</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tasks</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Plan</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-right 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"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center"> | |
| <i class="fas fa-building text-purple-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">TechCorp Inc.</div> | |
| <div class="text-sm text-gray-500">contact@techcorp.com</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">8</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">324</div> | |
| </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">Enterprise</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">Active</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">Manage</button> | |
| <button class="text-gray-600 hover:text-gray-900">Billing</button> | |
| </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 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-store text-blue-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">RetailCo LLC</div> | |
| <div class="text-sm text-gray-500">admin@retailco.com</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">5</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">187</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Professional</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">Active</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">Manage</button> | |
| <button class="text-gray-600 hover:text-gray-900">Billing</button> | |
| </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 rounded-full bg-green-100 flex items-center justify-center"> | |
| <i class="fas fa-university text-green-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">FinBank Ltd.</div> | |
| <div class="text-sm text-gray-500">support@finbank.com</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">6</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">412</div> | |
| </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">Enterprise</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">Active</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">Manage</button> | |
| <button class="text-gray-600 hover:text-gray-900">Billing</button> | |
| </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 rounded-full bg-yellow-100 flex items-center justify-center"> | |
| <i class="fas fa-heartbeat text-yellow-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">HealthPlus</div> | |
| <div class="text-sm text-gray-500">info@healthplus.com</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">3</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">76</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">Basic</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">Manage</button> | |
| <button class="text-gray-600 hover:text-gray-900">Billing</button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script> | |
| // Toggle sidebar on mobile | |
| document.getElementById('toggleSidebar').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('active'); | |
| }); | |
| document.getElementById('closeSidebar').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.remove('active'); | |
| }); | |
| // Initialize chart | |
| const ctx = document.getElementById('performanceChart').getContext('2d'); | |
| const performanceChart = new Chart(ctx, { | |
| type: 'line', | |
| data: { | |
| labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], | |
| datasets: [ | |
| { | |
| label: 'Tasks Completed', | |
| data: [120, 190, 170, 220, 180, 250, 300], | |
| borderColor: '#6366f1', | |
| backgroundColor: 'rgba(99, 102, 241, 0.1)', | |
| tension: 0.3, | |
| fill: true | |
| }, | |
| { | |
| label: 'AI Workers Deployed', | |
| data: [30, 40, 45, 50, 55, 60, 65], | |
| borderColor: '#10b981', | |
| backgroundColor: 'rgba(16, 185, 129, 0.1)', | |
| tension: 0.3, | |
| fill: true | |
| } | |
| ] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| position: 'top', | |
| } | |
| }, | |
| scales: { | |
| y: { | |
| beginAtZero: true | |
| } | |
| } | |
| } | |
| }); | |
| // Simulate some data updates | |
| setInterval(() => { | |
| // Get current data | |
| let tasksData = performanceChart.data.datasets[0].data; | |
| let workersData = performanceChart.data.datasets[1].data; | |
| // Remove first element and add new random element | |
| tasksData.shift(); | |
| tasksData.push(Math.floor(Math.random() * 100) + 200); | |
| workersData.shift(); | |
| workersData.push(Math.floor(Math.random() * 10) + 60); | |
| // Update chart | |
| performanceChart.update(); | |
| }, 3000); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ron2419/oppsys-test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |