Spaces:
Running
Running
hapus dong untuk menu search nya - Initial Deployment
Browse files- README.md +7 -5
- index.html +359 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: crm-rooma21
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,359 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>ROOMA21 CRM - Navigation</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.sidebar {
|
| 11 |
+
transition: all 0.3s ease;
|
| 12 |
+
background-color: #f8fafc;
|
| 13 |
+
}
|
| 14 |
+
.sidebar-collapsed {
|
| 15 |
+
width: 70px;
|
| 16 |
+
}
|
| 17 |
+
.sidebar-collapsed .menu-text,
|
| 18 |
+
.sidebar-collapsed .category-title {
|
| 19 |
+
display: none;
|
| 20 |
+
}
|
| 21 |
+
.sidebar-collapsed .menu-item {
|
| 22 |
+
justify-content: center;
|
| 23 |
+
}
|
| 24 |
+
.submenu {
|
| 25 |
+
max-height: 0;
|
| 26 |
+
overflow: hidden;
|
| 27 |
+
transition: max-height 0.3s ease;
|
| 28 |
+
}
|
| 29 |
+
.submenu.open {
|
| 30 |
+
max-height: 500px;
|
| 31 |
+
}
|
| 32 |
+
.active-menu {
|
| 33 |
+
background-color: #3b82f6;
|
| 34 |
+
color: white;
|
| 35 |
+
}
|
| 36 |
+
.active-menu svg {
|
| 37 |
+
color: white;
|
| 38 |
+
}
|
| 39 |
+
.hamburger-line {
|
| 40 |
+
transition: all 0.3s ease;
|
| 41 |
+
}
|
| 42 |
+
.hamburger-active .hamburger-line:nth-child(1) {
|
| 43 |
+
transform: translateY(8px) rotate(45deg);
|
| 44 |
+
}
|
| 45 |
+
.hamburger-active .hamburger-line:nth-child(2) {
|
| 46 |
+
opacity: 0;
|
| 47 |
+
}
|
| 48 |
+
.hamburger-active .hamburger-line:nth-child(3) {
|
| 49 |
+
transform: translateY(-8px) rotate(-45deg);
|
| 50 |
+
}
|
| 51 |
+
</style>
|
| 52 |
+
</head>
|
| 53 |
+
<body class="bg-gray-100 font-sans flex h-screen overflow-hidden">
|
| 54 |
+
<!-- Sidebar -->
|
| 55 |
+
<div class="sidebar bg-white text-gray-800 shadow-lg flex flex-col w-64 h-full border-r border-gray-200">
|
| 56 |
+
<!-- Logo and Toggle -->
|
| 57 |
+
<div class="flex items-center justify-between p-4 border-b border-gray-200">
|
| 58 |
+
<div class="flex items-center space-x-2">
|
| 59 |
+
<div class="w-8 h-8 bg-blue-600 rounded-md flex items-center justify-center">
|
| 60 |
+
<i class="fas fa-home text-white"></i>
|
| 61 |
+
</div>
|
| 62 |
+
<span class="font-bold text-lg">ROOMA21</span>
|
| 63 |
+
</div>
|
| 64 |
+
<button id="toggleSidebar" class="p-1 rounded-md hover:bg-gray-200">
|
| 65 |
+
<div class="hamburger-line w-6 h-0.5 bg-gray-600 my-1"></div>
|
| 66 |
+
<div class="hamburger-line w-6 h-0.5 bg-gray-600 my-1"></div>
|
| 67 |
+
<div class="hamburger-line w-6 h-0.5 bg-gray-600 my-1"></div>
|
| 68 |
+
</button>
|
| 69 |
+
</div>
|
| 70 |
+
|
| 71 |
+
<!-- User Profile -->
|
| 72 |
+
<div class="p-4 border-b border-gray-200">
|
| 73 |
+
<div class="flex items-center space-x-3">
|
| 74 |
+
<div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center text-white">
|
| 75 |
+
KF
|
| 76 |
+
</div>
|
| 77 |
+
<span class="font-medium">Katon Fajar</span>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
|
| 81 |
+
<!-- Navigation Menu -->
|
| 82 |
+
<div class="flex-1 overflow-y-auto py-2">
|
| 83 |
+
<!-- Dashboard -->
|
| 84 |
+
<div class="menu-item px-4 py-3 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer active-menu">
|
| 85 |
+
<i class="fas fa-tachometer-alt text-gray-500 w-5"></i>
|
| 86 |
+
<span class="menu-text">Dashboard</span>
|
| 87 |
+
</div>
|
| 88 |
+
|
| 89 |
+
<!-- Lead Management -->
|
| 90 |
+
<div class="category">
|
| 91 |
+
<div class="category-title px-4 py-3 flex items-center justify-between cursor-pointer hover:bg-gray-100">
|
| 92 |
+
<div class="flex items-center space-x-3">
|
| 93 |
+
<i class="fas fa-users text-gray-500 w-5"></i>
|
| 94 |
+
<span class="menu-text">Lead Management</span>
|
| 95 |
+
</div>
|
| 96 |
+
<i class="fas fa-chevron-down text-xs text-gray-500 transition-transform duration-200"></i>
|
| 97 |
+
</div>
|
| 98 |
+
<div class="submenu open">
|
| 99 |
+
<div class="menu-item px-4 py-2 pl-12 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 100 |
+
<i class="fas fa-list text-gray-500 w-5"></i>
|
| 101 |
+
<span class="menu-text">All Leads</span>
|
| 102 |
+
</div>
|
| 103 |
+
<div class="menu-item px-4 py-2 pl-12 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 104 |
+
<i class="fas fa-search text-gray-500 w-5"></i>
|
| 105 |
+
<span class="menu-text">Prospect Center</span>
|
| 106 |
+
</div>
|
| 107 |
+
<div class="menu-item px-4 py-2 pl-12 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 108 |
+
<i class="fas fa-address-book text-gray-500 w-5"></i>
|
| 109 |
+
<span class="menu-text">Owner Contacts</span>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
|
| 114 |
+
<!-- Listing Management -->
|
| 115 |
+
<div class="category">
|
| 116 |
+
<div class="category-title px-4 py-3 flex items-center justify-between cursor-pointer hover:bg-gray-100">
|
| 117 |
+
<div class="flex items-center space-x-3">
|
| 118 |
+
<i class="fas fa-home text-gray-500 w-5"></i>
|
| 119 |
+
<span class="menu-text">Listing Management</span>
|
| 120 |
+
</div>
|
| 121 |
+
<i class="fas fa-chevron-down text-xs text-gray-500 transition-transform duration-200"></i>
|
| 122 |
+
</div>
|
| 123 |
+
<div class="submenu">
|
| 124 |
+
<div class="menu-item px-4 py-2 pl-12 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 125 |
+
<i class="fas fa-layer-group text-gray-500 w-5"></i>
|
| 126 |
+
<span class="menu-text">Secondary Listings</span>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="menu-item px-4 py-2 pl-12 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 129 |
+
<i class="fas fa-file-contract text-gray-500 w-5"></i>
|
| 130 |
+
<span class="menu-text">Property Consignment Data</span>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
</div>
|
| 134 |
+
|
| 135 |
+
<!-- Analytics -->
|
| 136 |
+
<div class="category">
|
| 137 |
+
<div class="category-title px-4 py-3 flex items-center justify-between cursor-pointer hover:bg-gray-100">
|
| 138 |
+
<div class="flex items-center space-x-3">
|
| 139 |
+
<i class="fas fa-chart-line text-gray-500 w-5"></i>
|
| 140 |
+
<span class="menu-text">Analytics</span>
|
| 141 |
+
</div>
|
| 142 |
+
<i class="fas fa-chevron-down text-xs text-gray-500 transition-transform duration-200"></i>
|
| 143 |
+
</div>
|
| 144 |
+
<div class="submenu">
|
| 145 |
+
<div class="menu-item px-4 py-2 pl-12 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 146 |
+
<i class="fas fa-chart-bar text-gray-500 w-5"></i>
|
| 147 |
+
<span class="menu-text">Statistics</span>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="menu-item px-4 py-2 pl-12 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 150 |
+
<i class="fas fa-file-alt text-gray-500 w-5"></i>
|
| 151 |
+
<span class="menu-text">Reports</span>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
|
| 156 |
+
<!-- Team (Admin Only) -->
|
| 157 |
+
<div class="category">
|
| 158 |
+
<div class="category-title px-4 py-3 flex items-center justify-between cursor-pointer hover:bg-gray-100">
|
| 159 |
+
<div class="flex items-center space-x-3">
|
| 160 |
+
<i class="fas fa-users-cog text-gray-500 w-5"></i>
|
| 161 |
+
<span class="menu-text">Team</span>
|
| 162 |
+
</div>
|
| 163 |
+
<i class="fas fa-chevron-down text-xs text-gray-500 transition-transform duration-200"></i>
|
| 164 |
+
</div>
|
| 165 |
+
<div class="submenu">
|
| 166 |
+
<div class="menu-item px-4 py-2 pl-12 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 167 |
+
<i class="fas fa-user-shield text-gray-500 w-5"></i>
|
| 168 |
+
<span class="menu-text">Manage Team/Marketing</span>
|
| 169 |
+
</div>
|
| 170 |
+
</div>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
|
| 174 |
+
<!-- Bottom Section -->
|
| 175 |
+
<div class="p-4 border-t border-gray-200">
|
| 176 |
+
<div class="menu-item px-4 py-3 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 177 |
+
<i class="fas fa-cog text-gray-500 w-5"></i>
|
| 178 |
+
<span class="menu-text">Settings</span>
|
| 179 |
+
</div>
|
| 180 |
+
<div class="menu-item px-4 py-3 flex items-center space-x-3 hover:bg-gray-100 cursor-pointer">
|
| 181 |
+
<i class="fas fa-sign-out-alt text-gray-500 w-5"></i>
|
| 182 |
+
<span class="menu-text">Logout</span>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
|
| 187 |
+
<!-- Main Content -->
|
| 188 |
+
<div class="flex-1 overflow-auto bg-gray-50">
|
| 189 |
+
<div class="p-6">
|
| 190 |
+
<h1 class="text-2xl font-bold mb-6">Dashboard</h1>
|
| 191 |
+
|
| 192 |
+
<!-- Summary Cards -->
|
| 193 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
|
| 194 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 195 |
+
<div class="flex items-center justify-between">
|
| 196 |
+
<div>
|
| 197 |
+
<p class="text-gray-500">Total Leads</p>
|
| 198 |
+
<p class="text-2xl font-bold">1,248</p>
|
| 199 |
+
</div>
|
| 200 |
+
<div class="w-12 h-12 rounded-lg bg-blue-50 flex items-center justify-center">
|
| 201 |
+
<i class="fas fa-users text-blue-500"></i>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 206 |
+
<div class="flex items-center justify-between">
|
| 207 |
+
<div>
|
| 208 |
+
<p class="text-gray-500">Active Listings</p>
|
| 209 |
+
<p class="text-2xl font-bold">87</p>
|
| 210 |
+
</div>
|
| 211 |
+
<div class="w-12 h-12 rounded-lg bg-green-50 flex items-center justify-center">
|
| 212 |
+
<i class="fas fa-home text-green-500"></i>
|
| 213 |
+
</div>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 217 |
+
<div class="flex items-center justify-between">
|
| 218 |
+
<div>
|
| 219 |
+
<p class="text-gray-500">New Messages</p>
|
| 220 |
+
<p class="text-2xl font-bold">24</p>
|
| 221 |
+
</div>
|
| 222 |
+
<div class="w-12 h-12 rounded-lg bg-purple-50 flex items-center justify-center">
|
| 223 |
+
<i class="fas fa-envelope text-purple-500"></i>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
</div>
|
| 227 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 228 |
+
<div class="flex items-center justify-between">
|
| 229 |
+
<div>
|
| 230 |
+
<p class="text-gray-500">Tasks Due</p>
|
| 231 |
+
<p class="text-2xl font-bold">5</p>
|
| 232 |
+
</div>
|
| 233 |
+
<div class="w-12 h-12 rounded-lg bg-yellow-50 flex items-center justify-center">
|
| 234 |
+
<i class="fas fa-tasks text-yellow-500"></i>
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
</div>
|
| 238 |
+
</div>
|
| 239 |
+
|
| 240 |
+
<!-- Recent Activity Table -->
|
| 241 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 242 |
+
<div class="flex items-center justify-between mb-4">
|
| 243 |
+
<h2 class="text-lg font-semibold">Recent Activity</h2>
|
| 244 |
+
<button class="text-blue-500 text-sm font-medium">View All</button>
|
| 245 |
+
</div>
|
| 246 |
+
<div class="overflow-x-auto">
|
| 247 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 248 |
+
<thead>
|
| 249 |
+
<tr>
|
| 250 |
+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Lead</th>
|
| 251 |
+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Activity</th>
|
| 252 |
+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
|
| 253 |
+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 254 |
+
</tr>
|
| 255 |
+
</thead>
|
| 256 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 257 |
+
<tr>
|
| 258 |
+
<td class="px-4 py-3 whitespace-nowrap">
|
| 259 |
+
<div class="flex items-center">
|
| 260 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center">
|
| 261 |
+
<span class="text-blue-600">MF</span>
|
| 262 |
+
</div>
|
| 263 |
+
<div class="ml-4">
|
| 264 |
+
<div class="text-sm font-medium text-gray-900">Michael Foster</div>
|
| 265 |
+
<div class="text-sm text-gray-500">michael@example.com</div>
|
| 266 |
+
</div>
|
| 267 |
+
</div>
|
| 268 |
+
</td>
|
| 269 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">New lead added</td>
|
| 270 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">Today, 10:30 AM</td>
|
| 271 |
+
<td class="px-4 py-3 whitespace-nowrap">
|
| 272 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">New</span>
|
| 273 |
+
</td>
|
| 274 |
+
</tr>
|
| 275 |
+
<tr>
|
| 276 |
+
<td class="px-4 py-3 whitespace-nowrap">
|
| 277 |
+
<div class="flex items-center">
|
| 278 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center">
|
| 279 |
+
<span class="text-purple-600">LD</span>
|
| 280 |
+
</div>
|
| 281 |
+
<div class="ml-4">
|
| 282 |
+
<div class="text-sm font-medium text-gray-900">Lindsay Dalton</div>
|
| 283 |
+
<div class="text-sm text-gray-500">lindsay@example.com</div>
|
| 284 |
+
</div>
|
| 285 |
+
</div>
|
| 286 |
+
</td>
|
| 287 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">Follow-up scheduled</td>
|
| 288 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">Yesterday, 2:45 PM</td>
|
| 289 |
+
<td class="px-4 py-3 whitespace-nowrap">
|
| 290 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">In Progress</span>
|
| 291 |
+
</td>
|
| 292 |
+
</tr>
|
| 293 |
+
</tbody>
|
| 294 |
+
</table>
|
| 295 |
+
</div>
|
| 296 |
+
</div>
|
| 297 |
+
</div>
|
| 298 |
+
</div>
|
| 299 |
+
|
| 300 |
+
<script>
|
| 301 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 302 |
+
// Toggle sidebar collapse
|
| 303 |
+
const toggleSidebar = document.getElementById('toggleSidebar');
|
| 304 |
+
const sidebar = document.querySelector('.sidebar');
|
| 305 |
+
const hamburgerLines = document.querySelectorAll('.hamburger-line');
|
| 306 |
+
|
| 307 |
+
toggleSidebar.addEventListener('click', function() {
|
| 308 |
+
sidebar.classList.toggle('sidebar-collapsed');
|
| 309 |
+
toggleSidebar.classList.toggle('hamburger-active');
|
| 310 |
+
});
|
| 311 |
+
|
| 312 |
+
// Category accordion functionality
|
| 313 |
+
const categories = document.querySelectorAll('.category');
|
| 314 |
+
categories.forEach(category => {
|
| 315 |
+
const title = category.querySelector('.category-title');
|
| 316 |
+
const icon = title.querySelector('.fa-chevron-down');
|
| 317 |
+
const submenu = category.querySelector('.submenu');
|
| 318 |
+
|
| 319 |
+
title.addEventListener('click', function() {
|
| 320 |
+
submenu.classList.toggle('open');
|
| 321 |
+
icon.classList.toggle('rotate-180');
|
| 322 |
+
});
|
| 323 |
+
});
|
| 324 |
+
|
| 325 |
+
// Menu item active state
|
| 326 |
+
const menuItems = document.querySelectorAll('.menu-item');
|
| 327 |
+
menuItems.forEach(item => {
|
| 328 |
+
item.addEventListener('click', function() {
|
| 329 |
+
// Remove active class from all items
|
| 330 |
+
menuItems.forEach(i => i.classList.remove('active-menu'));
|
| 331 |
+
// Add active class to clicked item
|
| 332 |
+
this.classList.add('active-menu');
|
| 333 |
+
|
| 334 |
+
// Also make sure parent category is open
|
| 335 |
+
const parentCategory = this.closest('.category');
|
| 336 |
+
if (parentCategory) {
|
| 337 |
+
const submenu = parentCategory.querySelector('.submenu');
|
| 338 |
+
const icon = parentCategory.querySelector('.fa-chevron-down');
|
| 339 |
+
submenu.classList.add('open');
|
| 340 |
+
icon.classList.add('rotate-180');
|
| 341 |
+
}
|
| 342 |
+
});
|
| 343 |
+
});
|
| 344 |
+
|
| 345 |
+
// Responsive behavior for smaller screens
|
| 346 |
+
function handleResize() {
|
| 347 |
+
if (window.innerWidth < 768) {
|
| 348 |
+
sidebar.classList.add('sidebar-collapsed');
|
| 349 |
+
} else {
|
| 350 |
+
sidebar.classList.remove('sidebar-collapsed');
|
| 351 |
+
}
|
| 352 |
+
}
|
| 353 |
+
|
| 354 |
+
window.addEventListener('resize', handleResize);
|
| 355 |
+
handleResize(); // Initial check
|
| 356 |
+
});
|
| 357 |
+
</script>
|
| 358 |
+
<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=katonfjrr/crm-rooma21" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 359 |
+
</html>
|