Download index.html from djsalim/bms: direct link, hf CLI and curl.
- Browser
- Download file 57.8 kB
-
https://huggingface.co/spaces/djsalim/bms/resolve/main/index.html
- Command line
-
hf download hf://spaces/djsalim/bms/index.html
-
curl -L -o index.html https://huggingface.co/spaces/djsalim/bms/resolve/main/index.html
57.8 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>BusinessPro | SMB Management Suite</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 src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <style> | |
| .sidebar:hover { | |
| width: 260px; | |
| } | |
| .sidebar:hover .sidebar-text { | |
| display: inline; | |
| } | |
| .sidebar-item.active { | |
| background-color: #f3f4f6; | |
| border-left: 4px solid #3b82f6; | |
| } | |
| .kanban-column { | |
| min-height: 500px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar { | |
| width: 6px; | |
| height: 6px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-thumb { | |
| background: #cbd5e0; | |
| border-radius: 4px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-thumb:hover { | |
| background: #a0aec0; | |
| } | |
| .dropdown:hover .dropdown-menu { | |
| display: block; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .animate-fade-in { | |
| animation: fadeIn 0.3s ease-out forwards; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <!-- Main Layout --> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar Navigation --> | |
| <div class="sidebar bg-white shadow-md w-20 hover:w-64 fixed z-10 h-full transition-all duration-300 ease-in-out"> | |
| <div class="flex flex-col h-full"> | |
| <!-- Logo --> | |
| <div class="p-4 flex items-center justify-center border-b"> | |
| <div class="w-10 h-10 bg-blue-600 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-cube text-white text-xl"></i> | |
| </div> | |
| <span class="sidebar-text ml-3 text-xl font-bold text-gray-800 hidden">BusinessPro</span> | |
| </div> | |
| <!-- Main Menu --> | |
| <nav class="flex-1 overflow-y-auto py-4"> | |
| <div class="space-y-1 px-2"> | |
| <!-- Dashboard --> | |
| <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100 active"> | |
| <i class="fas fa-tachometer-alt text-gray-600 text-lg w-6 text-center"></i> | |
| <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Dashboard</span> | |
| </a> | |
| <!-- CRM --> | |
| <div class="dropdown relative"> | |
| <button class="sidebar-item flex items-center w-full p-3 rounded-lg hover:bg-gray-100"> | |
| <i class="fas fa-users text-gray-600 text-lg w-6 text-center"></i> | |
| <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">CRM</span> | |
| <i class="fas fa-chevron-down text-gray-400 text-xs ml-auto hidden"></i> | |
| </button> | |
| <div class="dropdown-menu absolute left-full top-0 ml-2 w-48 bg-white shadow-lg rounded-md py-1 z-20 hidden"> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Contacts</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Companies</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Deals Pipeline</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Activities</a> | |
| </div> | |
| </div> | |
| <!-- Sales --> | |
| <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100"> | |
| <i class="fas fa-receipt text-gray-600 text-lg w-6 text-center"></i> | |
| <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Sales</span> | |
| </a> | |
| <!-- Accounting --> | |
| <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100"> | |
| <i class="fas fa-calculator text-gray-600 text-lg w-6 text-center"></i> | |
| <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Accounting</span> | |
| </a> | |
| <!-- Inventory --> | |
| <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100"> | |
| <i class="fas fa-boxes text-gray-600 text-lg w-6 text-center"></i> | |
| <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Inventory</span> | |
| </a> | |
| <!-- Projects --> | |
| <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100"> | |
| <i class="fas fa-project-diagram text-gray-600 text-lg w-6 text-center"></i> | |
| <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Projects</span> | |
| </a> | |
| <!-- HR --> | |
| <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100"> | |
| <i class="fas fa-user-tie text-gray-600 text-lg w-6 text-center"></i> | |
| <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">HR & Payroll</span> | |
| </a> | |
| <!-- Reports --> | |
| <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100"> | |
| <i class="fas fa-chart-bar text-gray-600 text-lg w-6 text-center"></i> | |
| <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Reports</span> | |
| </a> | |
| </div> | |
| </nav> | |
| <!-- User Profile --> | |
| <div class="p-4 border-t"> | |
| <div class="flex items-center"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full"> | |
| <div class="sidebar-text ml-3 hidden"> | |
| <p class="text-sm font-medium text-gray-700">Sarah Johnson</p> | |
| <p class="text-xs text-gray-500">Admin</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 flex flex-col overflow-hidden ml-20"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm z-10"> | |
| <div class="flex items-center justify-between px-6 py-3"> | |
| <!-- Search Bar --> | |
| <div class="flex-1 max-w-md"> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-search text-gray-400"></i> | |
| </div> | |
| <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Search..."> | |
| </div> | |
| </div> | |
| <!-- Right Side Icons --> | |
| <div class="flex items-center space-x-6"> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="far fa-bell text-xl"></i> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="far fa-envelope text-xl"></i> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="far fa-question-circle text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Dashboard Content --> | |
| <main class="flex-1 overflow-y-auto p-6 bg-gray-50"> | |
| <!-- Page Header --> | |
| <div class="flex justify-between items-center mb-6"> | |
| <div> | |
| <h1 class="text-2xl font-bold text-gray-800">Dashboard</h1> | |
| <p class="text-gray-600">Welcome back, Sarah! Here's what's happening with your business today.</p> | |
| </div> | |
| <div class="flex space-x-3"> | |
| <button class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| <i class="fas fa-download mr-2"></i> Export | |
| </button> | |
| <button class="px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700"> | |
| <i class="fas fa-plus mr-2"></i> New Task | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <!-- Revenue Card --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-blue-500"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Monthly Revenue</p> | |
| <p class="mt-1 text-2xl font-semibold text-gray-900">$24,780</p> | |
| <p class="mt-1 text-sm text-green-600"> | |
| <span class="inline-flex items-center"> | |
| <i class="fas fa-arrow-up mr-1"></i> 12.5% | |
| </span> | |
| vs last month | |
| </p> | |
| </div> | |
| <div class="bg-blue-100 p-3 rounded-full"> | |
| <i class="fas fa-dollar-sign text-blue-600 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Expenses Card --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-red-500"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Monthly Expenses</p> | |
| <p class="mt-1 text-2xl font-semibold text-gray-900">$8,230</p> | |
| <p class="mt-1 text-sm text-red-600"> | |
| <span class="inline-flex items-center"> | |
| <i class="fas fa-arrow-up mr-1"></i> 4.3% | |
| </span> | |
| vs last month | |
| </p> | |
| </div> | |
| <div class="bg-red-100 p-3 rounded-full"> | |
| <i class="fas fa-receipt text-red-600 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Open Invoices Card --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-yellow-500"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Open Invoices</p> | |
| <p class="mt-1 text-2xl font-semibold text-gray-900">14</p> | |
| <p class="mt-1 text-sm text-yellow-600"> | |
| <span class="inline-flex items-center"> | |
| <i class="fas fa-exclamation-circle mr-1"></i> 3 overdue | |
| </span> | |
| </p> | |
| </div> | |
| <div class="bg-yellow-100 p-3 rounded-full"> | |
| <i class="fas fa-file-invoice-dollar text-yellow-600 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Active Projects Card --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-green-500"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Active Projects</p> | |
| <p class="mt-1 text-2xl font-semibold text-gray-900">7</p> | |
| <p class="mt-1 text-sm text-green-600"> | |
| <span class="inline-flex items-center"> | |
| <i class="fas fa-check-circle mr-1"></i> 2 completed | |
| </span> | |
| </p> | |
| </div> | |
| <div class="bg-green-100 p-3 rounded-full"> | |
| <i class="fas fa-tasks text-green-600 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts Row --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6"> | |
| <!-- Revenue Chart --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-medium text-gray-900">Revenue Overview</h2> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-xs bg-blue-50 text-blue-600 rounded-md">Monthly</button> | |
| <button class="px-3 py-1 text-xs bg-gray-50 text-gray-600 rounded-md">Quarterly</button> | |
| <button class="px-3 py-1 text-xs bg-gray-50 text-gray-600 rounded-md">Yearly</button> | |
| </div> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="revenueChart"></canvas> | |
| </div> | |
| </div> | |
| <!-- Sales Funnel Chart --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-medium text-gray-900">Sales Funnel</h2> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-xs bg-blue-50 text-blue-600 rounded-md">This Month</button> | |
| <button class="px-3 py-1 text-xs bg-gray-50 text-gray-600 rounded-md">Last Month</button> | |
| </div> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="salesFunnelChart"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Activities & Tasks --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6"> | |
| <!-- Recent Activities --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm lg:col-span-2"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-medium text-gray-900">Recent Activities</h2> | |
| <button class="text-sm text-blue-600 hover:text-blue-800">View All</button> | |
| </div> | |
| <div class="space-y-4"> | |
| <!-- Activity Item --> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <div class="bg-blue-100 p-2 rounded-full"> | |
| <i class="fas fa-phone text-blue-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">Call with Acme Corp</p> | |
| <p class="text-sm text-gray-500">Completed by you 2 hours ago</p> | |
| <div class="mt-1 text-xs text-gray-500"> | |
| <span class="inline-flex items-center"> | |
| <i class="far fa-clock mr-1"></i> 15 minutes | |
| </span> | |
| <span class="ml-3 inline-flex items-center"> | |
| <i class="fas fa-tag mr-1"></i> Follow-up | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Activity Item --> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <div class="bg-green-100 p-2 rounded-full"> | |
| <i class="fas fa-envelope text-green-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">Email sent to John Smith</p> | |
| <p class="text-sm text-gray-500">Completed by you 5 hours ago</p> | |
| <div class="mt-1 text-xs text-gray-500"> | |
| <span class="inline-flex items-center"> | |
| <i class="fas fa-paperclip mr-1"></i> Proposal.pdf | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Activity Item --> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <div class="bg-purple-100 p-2 rounded-full"> | |
| <i class="fas fa-file-invoice text-purple-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">Invoice #INV-2023-105 created</p> | |
| <p class="text-sm text-gray-500">Completed by you yesterday</p> | |
| <div class="mt-1 text-xs text-gray-500"> | |
| <span class="inline-flex items-center"> | |
| <i class="fas fa-dollar-sign mr-1"></i> $2,450.00 | |
| </span> | |
| <span class="ml-3 inline-flex items-center"> | |
| <i class="far fa-calendar mr-1"></i> Due in 7 days | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Activity Item --> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <div class="bg-yellow-100 p-2 rounded-full"> | |
| <i class="fas fa-check-circle text-yellow-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">Task completed: Website redesign</p> | |
| <p class="text-sm text-gray-500">Completed by Michael 2 days ago</p> | |
| <div class="mt-1 text-xs text-gray-500"> | |
| <span class="inline-flex items-center"> | |
| <i class="far fa-clock mr-1"></i> 8 hours | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quick Tasks --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-medium text-gray-900">Quick Tasks</h2> | |
| <button class="text-sm text-blue-600 hover:text-blue-800">View All</button> | |
| </div> | |
| <div class="space-y-3"> | |
| <!-- Task Item --> | |
| <div class="p-3 bg-gray-50 rounded-md"> | |
| <div class="flex items-start"> | |
| <input type="checkbox" class="mt-1 h-4 w-4 text-blue-600 rounded"> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">Follow up with client</p> | |
| <p class="text-xs text-gray-500">Due today</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task Item --> | |
| <div class="p-3 bg-gray-50 rounded-md"> | |
| <div class="flex items-start"> | |
| <input type="checkbox" class="mt-1 h-4 w-4 text-blue-600 rounded"> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">Send project proposal</p> | |
| <p class="text-xs text-gray-500">Due tomorrow</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task Item --> | |
| <div class="p-3 bg-gray-50 rounded-md"> | |
| <div class="flex items-start"> | |
| <input type="checkbox" class="mt-1 h-4 w-4 text-blue-600 rounded"> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">Review financial reports</p> | |
| <p class="text-xs text-gray-500">Due in 2 days</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task Item --> | |
| <div class="p-3 bg-gray-50 rounded-md"> | |
| <div class="flex items-start"> | |
| <input type="checkbox" class="mt-1 h-4 w-4 text-blue-600 rounded"> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-gray-900">Team meeting</p> | |
| <p class="text-xs text-gray-500">Recurring every Monday</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Add Task Button --> | |
| <button class="w-full mt-2 px-3 py-2 border border-dashed border-gray-300 rounded-md text-sm font-medium text-gray-500 hover:text-gray-700 hover:border-gray-400"> | |
| <i class="fas fa-plus mr-2"></i> Add Task | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Deals Pipeline --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm mb-6"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-medium text-gray-900">Deals Pipeline</h2> | |
| <div class="flex space-x-3"> | |
| <button class="text-sm text-blue-600 hover:text-blue-800">View All</button> | |
| <button class="text-sm text-blue-600 hover:text-blue-800">Add Deal</button> | |
| </div> | |
| </div> | |
| <!-- Kanban Board --> | |
| <div class="overflow-x-auto"> | |
| <div class="flex space-x-4 pb-4 custom-scrollbar" style="min-width: 800px;"> | |
| <!-- Lead Column --> | |
| <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h3 class="text-sm font-medium text-gray-700">Lead</h3> | |
| <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">5</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <!-- Deal Card --> | |
| <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-blue-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Acme Corp</p> | |
| <p class="text-xs text-gray-500">$12,500</p> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-user mr-1"></i> Sarah Johnson | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-clock mr-1"></i> Contacted 2 days ago | |
| </div> | |
| </div> | |
| <!-- Deal Card --> | |
| <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-blue-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Tech Solutions</p> | |
| <p class="text-xs text-gray-500">$8,200</p> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-user mr-1"></i> Michael Brown | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-clock mr-1"></i> New lead today | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Qualified Column --> | |
| <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h3 class="text-sm font-medium text-gray-700">Qualified</h3> | |
| <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">3</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <!-- Deal Card --> | |
| <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-green-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Global Enterprises</p> | |
| <p class="text-xs text-gray-500">$25,000</p> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-user mr-1"></i> Sarah Johnson | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-clock mr-1"></i> Proposal sent | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Proposal Column --> | |
| <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h3 class="text-sm font-medium text-gray-700">Proposal</h3> | |
| <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">2</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <!-- Deal Card --> | |
| <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-yellow-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Bright Media</p> | |
| <p class="text-xs text-gray-500">$15,750</p> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-user mr-1"></i> Emily Davis | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-clock mr-1"></i> Follow-up tomorrow | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Negotiation Column --> | |
| <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h3 class="text-sm font-medium text-gray-700">Negotiation</h3> | |
| <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">1</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <!-- Deal Card --> | |
| <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-orange-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Innovate Inc</p> | |
| <p class="text-xs text-gray-500">$32,000</p> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-user mr-1"></i> Sarah Johnson | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="fas fa-exclamation-triangle mr-1 text-yellow-500"></i> Terms discussion | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Closed Won Column --> | |
| <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h3 class="text-sm font-medium text-gray-700">Closed Won</h3> | |
| <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">4</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <!-- Deal Card --> | |
| <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-purple-500"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Data Systems</p> | |
| <p class="text-xs text-gray-500">$18,500</p> | |
| </div> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <i class="far fa-user mr-1"></i> Michael Brown | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-green-500"> | |
| <i class="fas fa-check-circle mr-1"></i> Won 3 days ago | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Invoices --> | |
| <div class="bg-white p-6 rounded-lg shadow-sm"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-lg font-medium text-gray-900">Recent Invoices</h2> | |
| <button class="text-sm text-blue-600 hover:text-blue-800">View All</button> | |
| </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">Invoice #</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">Date</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Due Date</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</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"> | |
| <!-- Invoice Row --> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">INV-2023-105</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Acme Corporation</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 30, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$2,450.00</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">Paid</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <button class="text-blue-600 hover:text-blue-900 mr-3">View</button> | |
| <button class="text-gray-600 hover:text-gray-900">PDF</button> | |
| </td> | |
| </tr> | |
| <!-- Invoice Row --> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">INV-2023-104</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Tech Solutions LLC</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 10, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 25, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$1,850.00</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-blue-600 hover:text-blue-900 mr-3">View</button> | |
| <button class="text-gray-600 hover:text-gray-900">PDF</button> | |
| </td> | |
| </tr> | |
| <!-- Invoice Row --> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">INV-2023-103</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Global Enterprises</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 5, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 20, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$3,750.00</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-right text-sm font-medium"> | |
| <button class="text-blue-600 hover:text-blue-900 mr-3">View</button> | |
| <button class="text-gray-600 hover:text-gray-900">PDF</button> | |
| </td> | |
| </tr> | |
| <!-- Invoice Row --> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">INV-2023-102</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Bright Media</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 1, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 16, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$2,150.00</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">Paid</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <button class="text-blue-600 hover:text-blue-900 mr-3">View</button> | |
| <button class="text-gray-600 hover:text-gray-900">PDF</button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <!-- Modal for New Task --> | |
| <div id="taskModal" class="fixed z-50 inset-0 overflow-y-auto hidden"> | |
| <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> | |
| <div class="fixed inset-0 transition-opacity" aria-hidden="true"> | |
| <div class="absolute inset-0 bg-gray-500 opacity-75"></div> | |
| </div> | |
| <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span> | |
| <div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full"> | |
| <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"> | |
| <div class="sm:flex sm:items-start"> | |
| <div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900 mb-4">Create New Task</h3> | |
| <div class="mt-2 space-y-4"> | |
| <div> | |
| <label for="taskTitle" class="block text-sm font-medium text-gray-700">Task Title</label> | |
| <input type="text" id="taskTitle" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"> | |
| </div> | |
| <div> | |
| <label for="taskProject" class="block text-sm font-medium text-gray-700">Project</label> | |
| <select id="taskProject" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"> | |
| <option>Website Redesign</option> | |
| <option>Marketing Campaign</option> | |
| <option>Product Launch</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label for="taskAssignee" class="block text-sm font-medium text-gray-700">Assignee</label> | |
| <select id="taskAssignee" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"> | |
| <option>Sarah Johnson</option> | |
| <option>Michael Brown</option> | |
| <option>Emily Davis</option> | |
| </select> | |
| </div> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div> | |
| <label for="taskDueDate" class="block text-sm font-medium text-gray-700">Due Date</label> | |
| <input type="date" id="taskDueDate" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"> | |
| </div> | |
| <div> | |
| <label for="taskPriority" class="block text-sm font-medium text-gray-700">Priority</label> | |
| <select id="taskPriority" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"> | |
| <option>Low</option> | |
| <option>Medium</option> | |
| <option>High</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div> | |
| <label for="taskDescription" class="block text-sm font-medium text-gray-700">Description</label> | |
| <textarea id="taskDescription" rows="3" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"></textarea> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse"> | |
| <button type="button" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-blue-600 text-base font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:ml-3 sm:w-auto sm:text-sm"> | |
| Create Task | |
| </button> | |
| <button type="button" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"> | |
| Cancel | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize charts when the page loads | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Revenue Chart | |
| const revenueCtx = document.getElementById('revenueChart').getContext('2d'); | |
| const revenueChart = new Chart(revenueCtx, { | |
| type: 'line', | |
| data: { | |
| labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], | |
| datasets: [{ | |
| label: 'Revenue', | |
| data: [12000, 19000, 15000, 20000, 24780, 22000, 25000], | |
| backgroundColor: 'rgba(59, 130, 246, 0.05)', | |
| borderColor: 'rgba(59, 130, 246, 1)', | |
| borderWidth: 2, | |
| tension: 0.1, | |
| fill: true | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| display: false | |
| } | |
| }, | |
| scales: { | |
| y: { | |
| beginAtZero: true, | |
| grid: { | |
| drawBorder: false | |
| }, | |
| ticks: { | |
| callback: function(value) { | |
| return '$' + value.toLocaleString(); | |
| } | |
| } | |
| }, | |
| x: { | |
| grid: { | |
| display: false | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| // Sales Funnel Chart | |
| const funnelCtx = document.getElementById('salesFunnelChart').getContext('2d'); | |
| const funnelChart = new Chart(funnelCtx, { | |
| type: 'bar', | |
| data: { | |
| labels: ['Leads', 'Qualified', 'Proposal', 'Negotiation', 'Closed Won'], | |
| datasets: [{ | |
| label: 'Deals', | |
| data: [45, 30, 20, 12, 8], | |
| backgroundColor: [ | |
| 'rgba(59, 130, 246, 0.7)', | |
| 'rgba(16, 185, 129, 0.7)', | |
| 'rgba(245, 158, 11, 0.7)', | |
| 'rgba(249, 115, 22, 0.7)', | |
| 'rgba(124, 58, 237, 0.7)' | |
| ], | |
| borderColor: [ | |
| 'rgba(59, 130, 246, 1)', | |
| 'rgba(16, 185, 129, 1)', | |
| 'rgba(245, 158, 11, 1)', | |
| 'rgba(249, 115, 22, 1)', | |
| 'rgba(124, 58, 237, 1)' | |
| ], | |
| borderWidth: 1 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| display: false | |
| } | |
| }, | |
| scales: { | |
| y: { | |
| beginAtZero: true, | |
| grid: { | |
| drawBorder: false | |
| } | |
| }, | |
| x: { | |
| grid: { | |
| display: false | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| // Task Modal Handling | |
| const taskModal = document.getElementById('taskModal'); | |
| const newTaskButtons = document.querySelectorAll('button:contains("New Task")'); | |
| newTaskButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| taskModal.classList.remove('hidden'); | |
| }); | |
| }); | |
| // Close modal when clicking cancel or outside | |
| const cancelButtons = taskModal.querySelectorAll('button:contains("Cancel")'); | |
| cancelButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| taskModal.classList.add('hidden'); | |
| }); | |
| }); | |
| taskModal.addEventListener('click', function(e) { | |
| if (e.target === taskModal) { | |
| taskModal.classList.add('hidden'); | |
| } | |
| }); | |
| }); | |
| // Simulate "contains" selector for buttons | |
| function contains(selector, text) { | |
| const elements = document.querySelectorAll(selector); | |
| return Array.prototype.filter.call(elements, function(element) { | |
| return RegExp(text).test(element.textContent); | |
| }); | |
| } | |
| </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=djsalim/bms" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |