File size: 57,772 Bytes
345288c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 | <!DOCTYPE html>
<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> |