File size: 45,942 Bytes
2e6ffdb |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CRM Dashboard</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>
.sidebar {
transition: all 0.3s ease;
}
.sidebar.collapsed {
width: 80px;
}
.sidebar.collapsed .sidebar-text {
display: none;
}
.sidebar.collapsed .nav-item {
justify-content: center;
}
.main-content {
transition: margin-left 0.3s ease;
}
.dropdown-content {
display: none;
transition: all 0.3s ease;
}
.dropdown:hover .dropdown-content {
display: block;
}
.notification-dot {
position: absolute;
top: 2px;
right: 2px;
}
@media (max-width: 768px) {
.sidebar {
position: fixed;
z-index: 50;
transform: translateX(-100%);
}
.sidebar.open {
transform: translateX(0);
}
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.5);
z-index: 40;
}
.overlay.open {
display: block;
}
}
</style>
</head>
<body class="bg-gray-100 font-sans">
<!-- Mobile Menu Button -->
<div class="md:hidden fixed top-4 left-4 z-50">
<button id="mobileMenuButton" class="p-2 rounded-md bg-white shadow-md">
<i class="fas fa-bars text-gray-600"></i>
</button>
</div>
<!-- Overlay for mobile -->
<div id="overlay" class="overlay"></div>
<!-- Sidebar -->
<div id="sidebar" class="sidebar fixed top-0 left-0 h-full w-64 bg-white shadow-lg flex flex-col">
<!-- Logo -->
<div class="p-4 flex items-center justify-between border-b border-gray-200">
<div class="flex items-center">
<i class="fas fa-building text-blue-600 text-2xl mr-3"></i>
<span class="sidebar-text text-xl font-bold text-gray-800">ARTSCore CRM</span>
</div>
<button id="toggleSidebar" class="text-gray-500 hover:text-gray-700 hidden md:block">
<i class="fas fa-chevron-left"></i>
</button>
</div>
<!-- User Profile -->
<div class="p-4 border-b border-gray-200 flex items-center">
<div class="relative">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-10 h-10 rounded-full">
<span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span>
</div>
<div class="ml-3 sidebar-text">
<p class="text-sm font-medium text-gray-900">John Doe</p>
<p class="text-xs text-gray-500">Administrator</p>
</div>
</div>
<!-- Navigation -->
<nav class="flex-1 overflow-y-auto">
<div class="p-2">
<!-- Dashboard -->
<a href="#" class="nav-item flex items-center p-2 rounded-lg bg-blue-50 text-blue-700">
<i class="fas fa-tachometer-alt text-blue-600 mr-3"></i>
<span class="sidebar-text">Dashboard</span>
</a>
<!-- CRM -->
<div class="dropdown mt-1">
<button class="nav-item flex items-center justify-between w-full p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<div class="flex items-center">
<i class="fas fa-users text-blue-600 mr-3"></i>
<span class="sidebar-text">CRM</span>
</div>
<i class="fas fa-chevron-down text-xs sidebar-text"></i>
</button>
<div class="dropdown-content pl-4 mt-1">
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-list text-blue-400 mr-3"></i>
<span class="sidebar-text">Contacts</span>
</a>
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-building text-blue-400 mr-3"></i>
<span class="sidebar-text">Companies</span>
</a>
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-funnel-dollar text-blue-400 mr-3"></i>
<span class="sidebar-text">Sales Funnel</span>
</a>
</div>
</div>
<!-- Projects -->
<div class="dropdown mt-1">
<button class="nav-item flex items-center justify-between w-full p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<div class="flex items-center">
<i class="fas fa-project-diagram text-blue-600 mr-3"></i>
<span class="sidebar-text">Projects</span>
</div>
<i class="fas fa-chevron-down text-xs sidebar-text"></i>
</button>
<div class="dropdown-content pl-4 mt-1">
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-list text-blue-400 mr-3"></i>
<span class="sidebar-text">All Projects</span>
</a>
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-tasks text-blue-400 mr-3"></i>
<span class="sidebar-text">Tasks</span>
</a>
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-calendar-alt text-blue-400 mr-3"></i>
<span class="sidebar-text">Calendar</span>
</a>
</div>
</div>
<!-- Documents -->
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700 mt-1">
<i class="fas fa-file-alt text-blue-600 mr-3"></i>
<span class="sidebar-text">Documents</span>
</a>
<!-- Reports -->
<div class="dropdown mt-1">
<button class="nav-item flex items-center justify-between w-full p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<div class="flex items-center">
<i class="fas fa-chart-bar text-blue-600 mr-3"></i>
<span class="sidebar-text">Reports</span>
</div>
<i class="fas fa-chevron-down text-xs sidebar-text"></i>
</button>
<div class="dropdown-content pl-4 mt-1">
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-chart-line text-blue-400 mr-3"></i>
<span class="sidebar-text">Sales</span>
</a>
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-chart-pie text-blue-400 mr-3"></i>
<span class="sidebar-text">Projects</span>
</a>
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-money-bill-wave text-blue-400 mr-3"></i>
<span class="sidebar-text">Financial</span>
</a>
</div>
</div>
<!-- Settings -->
<div class="dropdown mt-1">
<button class="nav-item flex items-center justify-between w-full p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<div class="flex items-center">
<i class="fas fa-cog text-blue-600 mr-3"></i>
<span class="sidebar-text">Settings</span>
</div>
<i class="fas fa-chevron-down text-xs sidebar-text"></i>
</button>
<div class="dropdown-content pl-4 mt-1">
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-user-cog text-blue-400 mr-3"></i>
<span class="sidebar-text">User Settings</span>
</a>
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-users-cog text-blue-400 mr-3"></i>
<span class="sidebar-text">Team Settings</span>
</a>
<a href="#" class="nav-item flex items-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-plug text-blue-400 mr-3"></i>
<span class="sidebar-text">Integrations</span>
</a>
</div>
</div>
</div>
</nav>
<!-- Collapse Button -->
<div class="p-4 border-t border-gray-200 hidden md:block">
<button id="collapseSidebar" class="w-full flex items-center justify-center p-2 rounded-lg hover:bg-gray-100 text-gray-700">
<i class="fas fa-chevron-left"></i>
<span class="sidebar-text ml-2">Collapse</span>
</button>
</div>
</div>
<!-- Main Content -->
<div id="mainContent" class="main-content md:ml-64 min-h-screen">
<!-- Top Navigation -->
<header class="bg-white shadow-sm">
<div class="flex items-center justify-between p-4">
<!-- Search Bar -->
<div class="relative w-full max-w-md">
<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>
<!-- Right Side Icons -->
<div class="flex items-center space-x-4">
<!-- Notifications -->
<div class="relative">
<button id="notificationButton" class="p-2 rounded-full hover:bg-gray-100 text-gray-600">
<i class="fas fa-bell"></i>
<span class="notification-dot bg-red-500 rounded-full w-2 h-2"></span>
</button>
<!-- Notification Dropdown -->
<div id="notificationDropdown" class="hidden absolute right-0 mt-2 w-80 bg-white rounded-md shadow-lg py-1 z-50">
<div class="px-4 py-2 border-b border-gray-200">
<p class="text-sm font-medium text-gray-700">Notifications</p>
</div>
<div class="max-h-60 overflow-y-auto">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 border-b border-gray-100">
<div class="flex items-center">
<div class="flex-shrink-0">
<i class="fas fa-user-plus text-blue-500"></i>
</div>
<div class="ml-3">
<p>New contact added</p>
<p class="text-xs text-gray-500">2 minutes ago</p>
</div>
</div>
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 border-b border-gray-100">
<div class="flex items-center">
<div class="flex-shrink-0">
<i class="fas fa-tasks text-green-500"></i>
</div>
<div class="ml-3">
<p>Task completed</p>
<p class="text-xs text-gray-500">1 hour ago</p>
</div>
</div>
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
<div class="flex items-center">
<div class="flex-shrink-0">
<i class="fas fa-calendar-check text-purple-500"></i>
</div>
<div class="ml-3">
<p>Meeting reminder</p>
<p class="text-xs text-gray-500">Tomorrow at 10:00 AM</p>
</div>
</div>
</a>
</div>
<div class="px-4 py-2 border-t border-gray-200">
<a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-500">View all notifications</a>
</div>
</div>
</div>
<!-- Messages -->
<div class="relative">
<button id="messageButton" class="p-2 rounded-full hover:bg-gray-100 text-gray-600">
<i class="fas fa-envelope"></i>
<span class="notification-dot bg-blue-500 rounded-full w-2 h-2"></span>
</button>
<!-- Message Dropdown -->
<div id="messageDropdown" class="hidden absolute right-0 mt-2 w-80 bg-white rounded-md shadow-lg py-1 z-50">
<div class="px-4 py-2 border-b border-gray-200">
<p class="text-sm font-medium text-gray-700">Messages</p>
</div>
<div class="max-h-60 overflow-y-auto">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 border-b border-gray-100">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
</div>
<div class="ml-3">
<p class="font-medium">Sarah Johnson</p>
<p class="text-xs text-gray-500">Hey, can we meet tomorrow?</p>
</div>
</div>
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 border-b border-gray-100">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/12.jpg" alt="">
</div>
<div class="ml-3">
<p class="font-medium">Michael Brown</p>
<p class="text-xs text-gray-500">Project update sent</p>
</div>
</div>
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/32.jpg" alt="">
</div>
<div class="ml-3">
<p class="font-medium">Emily Davis</p>
<p class="text-xs text-gray-500">Thanks for the quick response!</p>
</div>
</div>
</a>
</div>
<div class="px-4 py-2 border-t border-gray-200">
<a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-500">View all messages</a>
</div>
</div>
</div>
<!-- User Menu -->
<div class="relative">
<button id="userMenuButton" class="flex items-center space-x-2">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
<span class="hidden md:inline text-sm font-medium text-gray-700">John Doe</span>
</button>
<!-- User Dropdown -->
<div id="userDropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
<div class="border-t border-gray-200"></div>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
</div>
</div>
</div>
</div>
</header>
<!-- Dashboard Content -->
<main class="p-4">
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
<div class="bg-white rounded-lg shadow p-4">
<div class="flex items-center">
<div class="p-3 rounded-full bg-blue-100 text-blue-600">
<i class="fas fa-users text-xl"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-500">Total Contacts</p>
<p class="text-2xl font-semibold text-gray-900">1,248</p>
</div>
</div>
<div class="mt-2">
<span class="text-green-600 text-sm font-medium">
<i class="fas fa-arrow-up"></i> 12.5%
</span>
<span class="text-gray-500 text-sm ml-2">vs last month</span>
</div>
</div>
<div class="bg-white rounded-lg shadow p-4">
<div class="flex items-center">
<div class="p-3 rounded-full bg-green-100 text-green-600">
<i class="fas fa-project-diagram text-xl"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-500">Active Projects</p>
<p class="text-2xl font-semibold text-gray-900">24</p>
</div>
</div>
<div class="mt-2">
<span class="text-green-600 text-sm font-medium">
<i class="fas fa-arrow-up"></i> 8.2%
</span>
<span class="text-gray-500 text-sm ml-2">vs last month</span>
</div>
</div>
<div class="bg-white rounded-lg shadow p-4">
<div class="flex items-center">
<div class="p-3 rounded-full bg-purple-100 text-purple-600">
<i class="fas fa-tasks text-xl"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-500">Tasks Completed</p>
<p class="text-2xl font-semibold text-gray-900">156</p>
</div>
</div>
<div class="mt-2">
<span class="text-red-600 text-sm font-medium">
<i class="fas fa-arrow-down"></i> 3.4%
</span>
<span class="text-gray-500 text-sm ml-2">vs last month</span>
</div>
</div>
<div class="bg-white rounded-lg shadow p-4">
<div class="flex items-center">
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
<i class="fas fa-dollar-sign text-xl"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-500">Revenue</p>
<p class="text-2xl font-semibold text-gray-900">$48,245</p>
</div>
</div>
<div class="mt-2">
<span class="text-green-600 text-sm font-medium">
<i class="fas fa-arrow-up"></i> 22.1%
</span>
<span class="text-gray-500 text-sm ml-2">vs last month</span>
</div>
</div>
</div>
<!-- Charts and Tables -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
<!-- Sales Chart -->
<div class="bg-white rounded-lg shadow p-4 lg:col-span-2">
<div class="flex items-center justify-between mb-4">
<h2 class="text-lg font-medium text-gray-900">Sales Performance</h2>
<div class="flex space-x-2">
<button class="px-3 py-1 text-sm bg-blue-50 text-blue-600 rounded-md">Monthly</button>
<button class="px-3 py-1 text-sm text-gray-600 hover:bg-gray-100 rounded-md">Quarterly</button>
<button class="px-3 py-1 text-sm text-gray-600 hover:bg-gray-100 rounded-md">Yearly</button>
</div>
</div>
<div class="h-64">
<!-- Chart placeholder - would be replaced with actual chart library -->
<div class="w-full h-full flex items-center justify-center bg-gray-50 rounded-lg">
<p class="text-gray-500">Sales chart will appear here</p>
</div>
</div>
</div>
<!-- Recent Activities -->
<div class="bg-white rounded-lg shadow p-4">
<h2 class="text-lg font-medium text-gray-900 mb-4">Recent Activities</h2>
<div class="space-y-4">
<div class="flex items-start">
<div class="flex-shrink-0">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Sarah Johnson</p>
<p class="text-sm text-gray-500">Added a new contact</p>
<p class="text-xs text-gray-400">2 hours ago</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/12.jpg" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Michael Brown</p>
<p class="text-sm text-gray-500">Completed project "Office Design"</p>
<p class="text-xs text-gray-400">4 hours ago</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/32.jpg" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Emily Davis</p>
<p class="text-sm text-gray-500">Sent invoice #INV-2023-045</p>
<p class="text-xs text-gray-400">1 day ago</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">John Doe</p>
<p class="text-sm text-gray-500">Updated project status</p>
<p class="text-xs text-gray-400">2 days ago</p>
</div>
</div>
</div>
<div class="mt-4">
<a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-500">View all activities</a>
</div>
</div>
</div>
<!-- Recent Contacts -->
<div class="bg-white rounded-lg shadow overflow-hidden mb-6">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200 flex justify-between items-center">
<h3 class="text-lg leading-6 font-medium text-gray-900">Recent Contacts</h3>
<button class="px-3 py-1 bg-blue-600 text-white text-sm rounded-md hover:bg-blue-700">Add New</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">Name</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Company</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Email</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Phone</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="relative px-6 py-3"><span class="sr-only">Actions</span></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">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Sarah Johnson</div>
<div class="text-sm text-gray-500">Lead</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">Johnson & Co</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-500">[email protected]</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-500">(555) 123-4567</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-green-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900 mr-3">Edit</a>
<a href="#" class="text-red-600 hover:text-red-900">Delete</a>
</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">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/12.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Michael Brown</div>
<div class="text-sm text-gray-500">Customer</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">Brown Enterprises</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-500">[email protected]</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-500">(555) 987-6543</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-green-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900 mr-3">Edit</a>
<a href="#" class="text-red-600 hover:text-red-900">Delete</a>
</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">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/32.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Emily Davis</div>
<div class="text-sm text-gray-500">Prospect</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">Davis Architects</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-500">[email protected]</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-500">(555) 456-7890</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-yellow-100 text-yellow-800">Pending</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900 mr-3">Edit</a>
<a href="#" class="text-red-600 hover:text-red-900">Delete</a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6">
<a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-500">View all contacts</a>
</div>
</div>
<!-- Upcoming Tasks -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">Upcoming Tasks</h3>
</div>
<div class="divide-y divide-gray-200">
<div class="px-4 py-4">
<div class="flex items-center justify-between">
<div class="flex items-center">
<input type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Prepare project proposal</p>
<p class="text-sm text-gray-500">Due tomorrow</p>
</div>
</div>
<div class="flex items-center">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">High</span>
<button class="ml-2 p-1 rounded-full hover:bg-gray-100">
<i class="fas fa-ellipsis-v text-gray-400"></i>
</button>
</div>
</div>
</div>
<div class="px-4 py-4">
<div class="flex items-center justify-between">
<div class="flex items-center">
<input type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Client meeting</p>
<p class="text-sm text-gray-500">Due in 2 days</p>
</div>
</div>
<div class="flex items-center">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Medium</span>
<button class="ml-2 p-1 rounded-full hover:bg-gray-100">
<i class="fas fa-ellipsis-v text-gray-400"></i>
</button>
</div>
</div>
</div>
<div class="px-4 py-4">
<div class="flex items-center justify-between">
<div class="flex items-center">
<input type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Review design mockups</p>
<p class="text-sm text-gray-500">Due in 3 days</p>
</div>
</div>
<div class="flex items-center">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Medium</span>
<button class="ml-2 p-1 rounded-full hover:bg-gray-100">
<i class="fas fa-ellipsis-v text-gray-400"></i>
</button>
</div>
</div>
</div>
<div class="px-4 py-4">
<div class="flex items-center justify-between">
<div class="flex items-center">
<input type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Send invoices</p>
<p class="text-sm text-gray-500">Due in 5 days</p>
</div>
</div>
<div class="flex items-center">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">Low</span>
<button class="ml-2 p-1 rounded-full hover:bg-gray-100">
<i class="fas fa-ellipsis-v text-gray-400"></i>
</button>
</div>
</div>
</div>
</div>
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6">
<a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-500">View all tasks</a>
</div>
</div>
</main>
</div>
<script>
// Toggle sidebar collapse
document.getElementById('toggleSidebar').addEventListener('click', function() {
document.getElementById('sidebar').classList.toggle('collapsed');
document.getElementById('mainContent').classList.toggle('md:ml-64');
document.getElementById('mainContent').classList.toggle('md:ml-20');
// Change icon based on state
if (document.getElementById('sidebar').classList.contains('collapsed')) {
this.innerHTML = '<i class="fas fa-chevron-right"></i>';
} else {
this.innerHTML = '<i class="fas fa-chevron-left"></i>';
}
});
// Mobile menu toggle
document.getElementById('mobileMenuButton').addEventListener('click', function() {
document.getElementById('sidebar').classList.toggle('open');
document.getElementById('overlay').classList.toggle('open');
// Change icon based on state
if (document.getElementById('sidebar').classList.contains('open')) {
this.innerHTML = '<i class="fas fa-times text-gray-600"></i>';
} else {
this.innerHTML = '<i class="fas fa-bars text-gray-600"></i>';
}
});
// Close mobile menu when clicking overlay
document.getElementById('overlay').addEventListener('click', function() {
document.getElementById('sidebar').classList.remove('open');
document.getElementById('overlay').classList.remove('open');
document.getElementById('mobileMenuButton').innerHTML = '<i class="fas fa-bars text-gray-600"></i>';
});
// Notification dropdown toggle
document.getElementById('notificationButton').addEventListener('click', function(e) {
e.stopPropagation();
document.getElementById('notificationDropdown').classList.toggle('hidden');
document.getElementById('messageDropdown').classList.add('hidden');
document.getElementById('userDropdown').classList.add('hidden');
});
// Message dropdown toggle
document.getElementById('messageButton').addEventListener('click', function(e) {
e.stopPropagation();
document.getElementById('messageDropdown').classList.toggle('hidden');
document.getElementById('notificationDropdown').classList.add('hidden');
document.getElementById('userDropdown').classList.add('hidden');
});
// User dropdown toggle
document.getElementById('userMenuButton').addEventListener('click', function(e) {
e.stopPropagation();
document.getElementById('userDropdown').classList.toggle('hidden');
document.getElementById('notificationDropdown').classList.add('hidden');
document.getElementById('messageDropdown').classList.add('hidden');
});
// Close dropdowns when clicking elsewhere
document.addEventListener('click', function() {
document.getElementById('notificationDropdown').classList.add('hidden');
document.getElementById('messageDropdown').classList.add('hidden');
document.getElementById('userDropdown').classList.add('hidden');
});
// Prevent dropdown close when clicking inside dropdown
document.querySelectorAll('#notificationDropdown, #messageDropdown, #userDropdown').forEach(function(dropdown) {
dropdown.addEventListener('click', function(e) {
e.stopPropagation();
});
});
</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=adowu/awwee" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |