Spaces:
Running

djsalim commited on
Commit
345288c
·
verified ·
1 Parent(s): 9c4d65a

undefined - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +922 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Bms
3
- emoji: 🌍
4
- colorFrom: purple
5
  colorTo: yellow
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: bms
3
+ emoji: 🐳
4
+ colorFrom: green
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,922 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>BusinessPro | SMB Management Suite</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
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
10
+ <style>
11
+ .sidebar:hover {
12
+ width: 260px;
13
+ }
14
+ .sidebar:hover .sidebar-text {
15
+ display: inline;
16
+ }
17
+ .sidebar-item.active {
18
+ background-color: #f3f4f6;
19
+ border-left: 4px solid #3b82f6;
20
+ }
21
+ .kanban-column {
22
+ min-height: 500px;
23
+ }
24
+ .custom-scrollbar::-webkit-scrollbar {
25
+ width: 6px;
26
+ height: 6px;
27
+ }
28
+ .custom-scrollbar::-webkit-scrollbar-track {
29
+ background: #f1f1f1;
30
+ }
31
+ .custom-scrollbar::-webkit-scrollbar-thumb {
32
+ background: #cbd5e0;
33
+ border-radius: 4px;
34
+ }
35
+ .custom-scrollbar::-webkit-scrollbar-thumb:hover {
36
+ background: #a0aec0;
37
+ }
38
+ .dropdown:hover .dropdown-menu {
39
+ display: block;
40
+ }
41
+ @keyframes fadeIn {
42
+ from { opacity: 0; transform: translateY(10px); }
43
+ to { opacity: 1; transform: translateY(0); }
44
+ }
45
+ .animate-fade-in {
46
+ animation: fadeIn 0.3s ease-out forwards;
47
+ }
48
+ </style>
49
+ </head>
50
+ <body class="bg-gray-50 font-sans">
51
+ <!-- Main Layout -->
52
+ <div class="flex h-screen overflow-hidden">
53
+ <!-- Sidebar Navigation -->
54
+ <div class="sidebar bg-white shadow-md w-20 hover:w-64 fixed z-10 h-full transition-all duration-300 ease-in-out">
55
+ <div class="flex flex-col h-full">
56
+ <!-- Logo -->
57
+ <div class="p-4 flex items-center justify-center border-b">
58
+ <div class="w-10 h-10 bg-blue-600 rounded-lg flex items-center justify-center">
59
+ <i class="fas fa-cube text-white text-xl"></i>
60
+ </div>
61
+ <span class="sidebar-text ml-3 text-xl font-bold text-gray-800 hidden">BusinessPro</span>
62
+ </div>
63
+
64
+ <!-- Main Menu -->
65
+ <nav class="flex-1 overflow-y-auto py-4">
66
+ <div class="space-y-1 px-2">
67
+ <!-- Dashboard -->
68
+ <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100 active">
69
+ <i class="fas fa-tachometer-alt text-gray-600 text-lg w-6 text-center"></i>
70
+ <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Dashboard</span>
71
+ </a>
72
+
73
+ <!-- CRM -->
74
+ <div class="dropdown relative">
75
+ <button class="sidebar-item flex items-center w-full p-3 rounded-lg hover:bg-gray-100">
76
+ <i class="fas fa-users text-gray-600 text-lg w-6 text-center"></i>
77
+ <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">CRM</span>
78
+ <i class="fas fa-chevron-down text-gray-400 text-xs ml-auto hidden"></i>
79
+ </button>
80
+ <div class="dropdown-menu absolute left-full top-0 ml-2 w-48 bg-white shadow-lg rounded-md py-1 z-20 hidden">
81
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Contacts</a>
82
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Companies</a>
83
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Deals Pipeline</a>
84
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Activities</a>
85
+ </div>
86
+ </div>
87
+
88
+ <!-- Sales -->
89
+ <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100">
90
+ <i class="fas fa-receipt text-gray-600 text-lg w-6 text-center"></i>
91
+ <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Sales</span>
92
+ </a>
93
+
94
+ <!-- Accounting -->
95
+ <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100">
96
+ <i class="fas fa-calculator text-gray-600 text-lg w-6 text-center"></i>
97
+ <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Accounting</span>
98
+ </a>
99
+
100
+ <!-- Inventory -->
101
+ <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100">
102
+ <i class="fas fa-boxes text-gray-600 text-lg w-6 text-center"></i>
103
+ <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Inventory</span>
104
+ </a>
105
+
106
+ <!-- Projects -->
107
+ <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100">
108
+ <i class="fas fa-project-diagram text-gray-600 text-lg w-6 text-center"></i>
109
+ <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Projects</span>
110
+ </a>
111
+
112
+ <!-- HR -->
113
+ <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100">
114
+ <i class="fas fa-user-tie text-gray-600 text-lg w-6 text-center"></i>
115
+ <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">HR & Payroll</span>
116
+ </a>
117
+
118
+ <!-- Reports -->
119
+ <a href="#" class="sidebar-item flex items-center p-3 rounded-lg hover:bg-gray-100">
120
+ <i class="fas fa-chart-bar text-gray-600 text-lg w-6 text-center"></i>
121
+ <span class="sidebar-text ml-3 text-gray-700 font-medium hidden">Reports</span>
122
+ </a>
123
+ </div>
124
+ </nav>
125
+
126
+ <!-- User Profile -->
127
+ <div class="p-4 border-t">
128
+ <div class="flex items-center">
129
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full">
130
+ <div class="sidebar-text ml-3 hidden">
131
+ <p class="text-sm font-medium text-gray-700">Sarah Johnson</p>
132
+ <p class="text-xs text-gray-500">Admin</p>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </div>
138
+
139
+ <!-- Main Content -->
140
+ <div class="flex-1 flex flex-col overflow-hidden ml-20">
141
+ <!-- Top Navigation -->
142
+ <header class="bg-white shadow-sm z-10">
143
+ <div class="flex items-center justify-between px-6 py-3">
144
+ <!-- Search Bar -->
145
+ <div class="flex-1 max-w-md">
146
+ <div class="relative">
147
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
148
+ <i class="fas fa-search text-gray-400"></i>
149
+ </div>
150
+ <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...">
151
+ </div>
152
+ </div>
153
+
154
+ <!-- Right Side Icons -->
155
+ <div class="flex items-center space-x-6">
156
+ <button class="text-gray-500 hover:text-gray-700">
157
+ <i class="far fa-bell text-xl"></i>
158
+ </button>
159
+ <button class="text-gray-500 hover:text-gray-700">
160
+ <i class="far fa-envelope text-xl"></i>
161
+ </button>
162
+ <button class="text-gray-500 hover:text-gray-700">
163
+ <i class="far fa-question-circle text-xl"></i>
164
+ </button>
165
+ </div>
166
+ </div>
167
+ </header>
168
+
169
+ <!-- Dashboard Content -->
170
+ <main class="flex-1 overflow-y-auto p-6 bg-gray-50">
171
+ <!-- Page Header -->
172
+ <div class="flex justify-between items-center mb-6">
173
+ <div>
174
+ <h1 class="text-2xl font-bold text-gray-800">Dashboard</h1>
175
+ <p class="text-gray-600">Welcome back, Sarah! Here's what's happening with your business today.</p>
176
+ </div>
177
+ <div class="flex space-x-3">
178
+ <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">
179
+ <i class="fas fa-download mr-2"></i> Export
180
+ </button>
181
+ <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">
182
+ <i class="fas fa-plus mr-2"></i> New Task
183
+ </button>
184
+ </div>
185
+ </div>
186
+
187
+ <!-- Stats Cards -->
188
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
189
+ <!-- Revenue Card -->
190
+ <div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-blue-500">
191
+ <div class="flex items-center justify-between">
192
+ <div>
193
+ <p class="text-sm font-medium text-gray-500">Monthly Revenue</p>
194
+ <p class="mt-1 text-2xl font-semibold text-gray-900">$24,780</p>
195
+ <p class="mt-1 text-sm text-green-600">
196
+ <span class="inline-flex items-center">
197
+ <i class="fas fa-arrow-up mr-1"></i> 12.5%
198
+ </span>
199
+ vs last month
200
+ </p>
201
+ </div>
202
+ <div class="bg-blue-100 p-3 rounded-full">
203
+ <i class="fas fa-dollar-sign text-blue-600 text-xl"></i>
204
+ </div>
205
+ </div>
206
+ </div>
207
+
208
+ <!-- Expenses Card -->
209
+ <div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-red-500">
210
+ <div class="flex items-center justify-between">
211
+ <div>
212
+ <p class="text-sm font-medium text-gray-500">Monthly Expenses</p>
213
+ <p class="mt-1 text-2xl font-semibold text-gray-900">$8,230</p>
214
+ <p class="mt-1 text-sm text-red-600">
215
+ <span class="inline-flex items-center">
216
+ <i class="fas fa-arrow-up mr-1"></i> 4.3%
217
+ </span>
218
+ vs last month
219
+ </p>
220
+ </div>
221
+ <div class="bg-red-100 p-3 rounded-full">
222
+ <i class="fas fa-receipt text-red-600 text-xl"></i>
223
+ </div>
224
+ </div>
225
+ </div>
226
+
227
+ <!-- Open Invoices Card -->
228
+ <div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-yellow-500">
229
+ <div class="flex items-center justify-between">
230
+ <div>
231
+ <p class="text-sm font-medium text-gray-500">Open Invoices</p>
232
+ <p class="mt-1 text-2xl font-semibold text-gray-900">14</p>
233
+ <p class="mt-1 text-sm text-yellow-600">
234
+ <span class="inline-flex items-center">
235
+ <i class="fas fa-exclamation-circle mr-1"></i> 3 overdue
236
+ </span>
237
+ </p>
238
+ </div>
239
+ <div class="bg-yellow-100 p-3 rounded-full">
240
+ <i class="fas fa-file-invoice-dollar text-yellow-600 text-xl"></i>
241
+ </div>
242
+ </div>
243
+ </div>
244
+
245
+ <!-- Active Projects Card -->
246
+ <div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-green-500">
247
+ <div class="flex items-center justify-between">
248
+ <div>
249
+ <p class="text-sm font-medium text-gray-500">Active Projects</p>
250
+ <p class="mt-1 text-2xl font-semibold text-gray-900">7</p>
251
+ <p class="mt-1 text-sm text-green-600">
252
+ <span class="inline-flex items-center">
253
+ <i class="fas fa-check-circle mr-1"></i> 2 completed
254
+ </span>
255
+ </p>
256
+ </div>
257
+ <div class="bg-green-100 p-3 rounded-full">
258
+ <i class="fas fa-tasks text-green-600 text-xl"></i>
259
+ </div>
260
+ </div>
261
+ </div>
262
+ </div>
263
+
264
+ <!-- Charts Row -->
265
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
266
+ <!-- Revenue Chart -->
267
+ <div class="bg-white p-6 rounded-lg shadow-sm">
268
+ <div class="flex items-center justify-between mb-4">
269
+ <h2 class="text-lg font-medium text-gray-900">Revenue Overview</h2>
270
+ <div class="flex space-x-2">
271
+ <button class="px-3 py-1 text-xs bg-blue-50 text-blue-600 rounded-md">Monthly</button>
272
+ <button class="px-3 py-1 text-xs bg-gray-50 text-gray-600 rounded-md">Quarterly</button>
273
+ <button class="px-3 py-1 text-xs bg-gray-50 text-gray-600 rounded-md">Yearly</button>
274
+ </div>
275
+ </div>
276
+ <div class="h-64">
277
+ <canvas id="revenueChart"></canvas>
278
+ </div>
279
+ </div>
280
+
281
+ <!-- Sales Funnel Chart -->
282
+ <div class="bg-white p-6 rounded-lg shadow-sm">
283
+ <div class="flex items-center justify-between mb-4">
284
+ <h2 class="text-lg font-medium text-gray-900">Sales Funnel</h2>
285
+ <div class="flex space-x-2">
286
+ <button class="px-3 py-1 text-xs bg-blue-50 text-blue-600 rounded-md">This Month</button>
287
+ <button class="px-3 py-1 text-xs bg-gray-50 text-gray-600 rounded-md">Last Month</button>
288
+ </div>
289
+ </div>
290
+ <div class="h-64">
291
+ <canvas id="salesFunnelChart"></canvas>
292
+ </div>
293
+ </div>
294
+ </div>
295
+
296
+ <!-- Recent Activities & Tasks -->
297
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
298
+ <!-- Recent Activities -->
299
+ <div class="bg-white p-6 rounded-lg shadow-sm lg:col-span-2">
300
+ <div class="flex items-center justify-between mb-4">
301
+ <h2 class="text-lg font-medium text-gray-900">Recent Activities</h2>
302
+ <button class="text-sm text-blue-600 hover:text-blue-800">View All</button>
303
+ </div>
304
+ <div class="space-y-4">
305
+ <!-- Activity Item -->
306
+ <div class="flex items-start">
307
+ <div class="flex-shrink-0">
308
+ <div class="bg-blue-100 p-2 rounded-full">
309
+ <i class="fas fa-phone text-blue-600"></i>
310
+ </div>
311
+ </div>
312
+ <div class="ml-3">
313
+ <p class="text-sm font-medium text-gray-900">Call with Acme Corp</p>
314
+ <p class="text-sm text-gray-500">Completed by you 2 hours ago</p>
315
+ <div class="mt-1 text-xs text-gray-500">
316
+ <span class="inline-flex items-center">
317
+ <i class="far fa-clock mr-1"></i> 15 minutes
318
+ </span>
319
+ <span class="ml-3 inline-flex items-center">
320
+ <i class="fas fa-tag mr-1"></i> Follow-up
321
+ </span>
322
+ </div>
323
+ </div>
324
+ </div>
325
+
326
+ <!-- Activity Item -->
327
+ <div class="flex items-start">
328
+ <div class="flex-shrink-0">
329
+ <div class="bg-green-100 p-2 rounded-full">
330
+ <i class="fas fa-envelope text-green-600"></i>
331
+ </div>
332
+ </div>
333
+ <div class="ml-3">
334
+ <p class="text-sm font-medium text-gray-900">Email sent to John Smith</p>
335
+ <p class="text-sm text-gray-500">Completed by you 5 hours ago</p>
336
+ <div class="mt-1 text-xs text-gray-500">
337
+ <span class="inline-flex items-center">
338
+ <i class="fas fa-paperclip mr-1"></i> Proposal.pdf
339
+ </span>
340
+ </div>
341
+ </div>
342
+ </div>
343
+
344
+ <!-- Activity Item -->
345
+ <div class="flex items-start">
346
+ <div class="flex-shrink-0">
347
+ <div class="bg-purple-100 p-2 rounded-full">
348
+ <i class="fas fa-file-invoice text-purple-600"></i>
349
+ </div>
350
+ </div>
351
+ <div class="ml-3">
352
+ <p class="text-sm font-medium text-gray-900">Invoice #INV-2023-105 created</p>
353
+ <p class="text-sm text-gray-500">Completed by you yesterday</p>
354
+ <div class="mt-1 text-xs text-gray-500">
355
+ <span class="inline-flex items-center">
356
+ <i class="fas fa-dollar-sign mr-1"></i> $2,450.00
357
+ </span>
358
+ <span class="ml-3 inline-flex items-center">
359
+ <i class="far fa-calendar mr-1"></i> Due in 7 days
360
+ </span>
361
+ </div>
362
+ </div>
363
+ </div>
364
+
365
+ <!-- Activity Item -->
366
+ <div class="flex items-start">
367
+ <div class="flex-shrink-0">
368
+ <div class="bg-yellow-100 p-2 rounded-full">
369
+ <i class="fas fa-check-circle text-yellow-600"></i>
370
+ </div>
371
+ </div>
372
+ <div class="ml-3">
373
+ <p class="text-sm font-medium text-gray-900">Task completed: Website redesign</p>
374
+ <p class="text-sm text-gray-500">Completed by Michael 2 days ago</p>
375
+ <div class="mt-1 text-xs text-gray-500">
376
+ <span class="inline-flex items-center">
377
+ <i class="far fa-clock mr-1"></i> 8 hours
378
+ </span>
379
+ </div>
380
+ </div>
381
+ </div>
382
+ </div>
383
+ </div>
384
+
385
+ <!-- Quick Tasks -->
386
+ <div class="bg-white p-6 rounded-lg shadow-sm">
387
+ <div class="flex items-center justify-between mb-4">
388
+ <h2 class="text-lg font-medium text-gray-900">Quick Tasks</h2>
389
+ <button class="text-sm text-blue-600 hover:text-blue-800">View All</button>
390
+ </div>
391
+ <div class="space-y-3">
392
+ <!-- Task Item -->
393
+ <div class="p-3 bg-gray-50 rounded-md">
394
+ <div class="flex items-start">
395
+ <input type="checkbox" class="mt-1 h-4 w-4 text-blue-600 rounded">
396
+ <div class="ml-3">
397
+ <p class="text-sm font-medium text-gray-900">Follow up with client</p>
398
+ <p class="text-xs text-gray-500">Due today</p>
399
+ </div>
400
+ </div>
401
+ </div>
402
+
403
+ <!-- Task Item -->
404
+ <div class="p-3 bg-gray-50 rounded-md">
405
+ <div class="flex items-start">
406
+ <input type="checkbox" class="mt-1 h-4 w-4 text-blue-600 rounded">
407
+ <div class="ml-3">
408
+ <p class="text-sm font-medium text-gray-900">Send project proposal</p>
409
+ <p class="text-xs text-gray-500">Due tomorrow</p>
410
+ </div>
411
+ </div>
412
+ </div>
413
+
414
+ <!-- Task Item -->
415
+ <div class="p-3 bg-gray-50 rounded-md">
416
+ <div class="flex items-start">
417
+ <input type="checkbox" class="mt-1 h-4 w-4 text-blue-600 rounded">
418
+ <div class="ml-3">
419
+ <p class="text-sm font-medium text-gray-900">Review financial reports</p>
420
+ <p class="text-xs text-gray-500">Due in 2 days</p>
421
+ </div>
422
+ </div>
423
+ </div>
424
+
425
+ <!-- Task Item -->
426
+ <div class="p-3 bg-gray-50 rounded-md">
427
+ <div class="flex items-start">
428
+ <input type="checkbox" class="mt-1 h-4 w-4 text-blue-600 rounded">
429
+ <div class="ml-3">
430
+ <p class="text-sm font-medium text-gray-900">Team meeting</p>
431
+ <p class="text-xs text-gray-500">Recurring every Monday</p>
432
+ </div>
433
+ </div>
434
+ </div>
435
+
436
+ <!-- Add Task Button -->
437
+ <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">
438
+ <i class="fas fa-plus mr-2"></i> Add Task
439
+ </button>
440
+ </div>
441
+ </div>
442
+ </div>
443
+
444
+ <!-- Deals Pipeline -->
445
+ <div class="bg-white p-6 rounded-lg shadow-sm mb-6">
446
+ <div class="flex items-center justify-between mb-4">
447
+ <h2 class="text-lg font-medium text-gray-900">Deals Pipeline</h2>
448
+ <div class="flex space-x-3">
449
+ <button class="text-sm text-blue-600 hover:text-blue-800">View All</button>
450
+ <button class="text-sm text-blue-600 hover:text-blue-800">Add Deal</button>
451
+ </div>
452
+ </div>
453
+
454
+ <!-- Kanban Board -->
455
+ <div class="overflow-x-auto">
456
+ <div class="flex space-x-4 pb-4 custom-scrollbar" style="min-width: 800px;">
457
+ <!-- Lead Column -->
458
+ <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3">
459
+ <div class="flex items-center justify-between mb-3">
460
+ <h3 class="text-sm font-medium text-gray-700">Lead</h3>
461
+ <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">5</span>
462
+ </div>
463
+ <div class="space-y-3">
464
+ <!-- Deal Card -->
465
+ <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-blue-500">
466
+ <div class="flex justify-between items-start">
467
+ <div>
468
+ <p class="text-sm font-medium text-gray-900">Acme Corp</p>
469
+ <p class="text-xs text-gray-500">$12,500</p>
470
+ </div>
471
+ <div class="dropdown relative">
472
+ <button class="text-gray-400 hover:text-gray-600">
473
+ <i class="fas fa-ellipsis-v"></i>
474
+ </button>
475
+ </div>
476
+ </div>
477
+ <div class="mt-2 flex items-center text-xs text-gray-500">
478
+ <i class="far fa-user mr-1"></i> Sarah Johnson
479
+ </div>
480
+ <div class="mt-2 flex items-center text-xs text-gray-500">
481
+ <i class="far fa-clock mr-1"></i> Contacted 2 days ago
482
+ </div>
483
+ </div>
484
+
485
+ <!-- Deal Card -->
486
+ <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-blue-500">
487
+ <div class="flex justify-between items-start">
488
+ <div>
489
+ <p class="text-sm font-medium text-gray-900">Tech Solutions</p>
490
+ <p class="text-xs text-gray-500">$8,200</p>
491
+ </div>
492
+ <div class="dropdown relative">
493
+ <button class="text-gray-400 hover:text-gray-600">
494
+ <i class="fas fa-ellipsis-v"></i>
495
+ </button>
496
+ </div>
497
+ </div>
498
+ <div class="mt-2 flex items-center text-xs text-gray-500">
499
+ <i class="far fa-user mr-1"></i> Michael Brown
500
+ </div>
501
+ <div class="mt-2 flex items-center text-xs text-gray-500">
502
+ <i class="far fa-clock mr-1"></i> New lead today
503
+ </div>
504
+ </div>
505
+ </div>
506
+ </div>
507
+
508
+ <!-- Qualified Column -->
509
+ <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3">
510
+ <div class="flex items-center justify-between mb-3">
511
+ <h3 class="text-sm font-medium text-gray-700">Qualified</h3>
512
+ <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">3</span>
513
+ </div>
514
+ <div class="space-y-3">
515
+ <!-- Deal Card -->
516
+ <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-green-500">
517
+ <div class="flex justify-between items-start">
518
+ <div>
519
+ <p class="text-sm font-medium text-gray-900">Global Enterprises</p>
520
+ <p class="text-xs text-gray-500">$25,000</p>
521
+ </div>
522
+ <div class="dropdown relative">
523
+ <button class="text-gray-400 hover:text-gray-600">
524
+ <i class="fas fa-ellipsis-v"></i>
525
+ </button>
526
+ </div>
527
+ </div>
528
+ <div class="mt-2 flex items-center text-xs text-gray-500">
529
+ <i class="far fa-user mr-1"></i> Sarah Johnson
530
+ </div>
531
+ <div class="mt-2 flex items-center text-xs text-gray-500">
532
+ <i class="far fa-clock mr-1"></i> Proposal sent
533
+ </div>
534
+ </div>
535
+ </div>
536
+ </div>
537
+
538
+ <!-- Proposal Column -->
539
+ <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3">
540
+ <div class="flex items-center justify-between mb-3">
541
+ <h3 class="text-sm font-medium text-gray-700">Proposal</h3>
542
+ <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">2</span>
543
+ </div>
544
+ <div class="space-y-3">
545
+ <!-- Deal Card -->
546
+ <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-yellow-500">
547
+ <div class="flex justify-between items-start">
548
+ <div>
549
+ <p class="text-sm font-medium text-gray-900">Bright Media</p>
550
+ <p class="text-xs text-gray-500">$15,750</p>
551
+ </div>
552
+ <div class="dropdown relative">
553
+ <button class="text-gray-400 hover:text-gray-600">
554
+ <i class="fas fa-ellipsis-v"></i>
555
+ </button>
556
+ </div>
557
+ </div>
558
+ <div class="mt-2 flex items-center text-xs text-gray-500">
559
+ <i class="far fa-user mr-1"></i> Emily Davis
560
+ </div>
561
+ <div class="mt-2 flex items-center text-xs text-gray-500">
562
+ <i class="far fa-clock mr-1"></i> Follow-up tomorrow
563
+ </div>
564
+ </div>
565
+ </div>
566
+ </div>
567
+
568
+ <!-- Negotiation Column -->
569
+ <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3">
570
+ <div class="flex items-center justify-between mb-3">
571
+ <h3 class="text-sm font-medium text-gray-700">Negotiation</h3>
572
+ <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">1</span>
573
+ </div>
574
+ <div class="space-y-3">
575
+ <!-- Deal Card -->
576
+ <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-orange-500">
577
+ <div class="flex justify-between items-start">
578
+ <div>
579
+ <p class="text-sm font-medium text-gray-900">Innovate Inc</p>
580
+ <p class="text-xs text-gray-500">$32,000</p>
581
+ </div>
582
+ <div class="dropdown relative">
583
+ <button class="text-gray-400 hover:text-gray-600">
584
+ <i class="fas fa-ellipsis-v"></i>
585
+ </button>
586
+ </div>
587
+ </div>
588
+ <div class="mt-2 flex items-center text-xs text-gray-500">
589
+ <i class="far fa-user mr-1"></i> Sarah Johnson
590
+ </div>
591
+ <div class="mt-2 flex items-center text-xs text-gray-500">
592
+ <i class="fas fa-exclamation-triangle mr-1 text-yellow-500"></i> Terms discussion
593
+ </div>
594
+ </div>
595
+ </div>
596
+ </div>
597
+
598
+ <!-- Closed Won Column -->
599
+ <div class="kanban-column w-64 flex-shrink-0 bg-gray-50 rounded-lg p-3">
600
+ <div class="flex items-center justify-between mb-3">
601
+ <h3 class="text-sm font-medium text-gray-700">Closed Won</h3>
602
+ <span class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded-full">4</span>
603
+ </div>
604
+ <div class="space-y-3">
605
+ <!-- Deal Card -->
606
+ <div class="bg-white p-3 rounded-md shadow-xs border-l-4 border-purple-500">
607
+ <div class="flex justify-between items-start">
608
+ <div>
609
+ <p class="text-sm font-medium text-gray-900">Data Systems</p>
610
+ <p class="text-xs text-gray-500">$18,500</p>
611
+ </div>
612
+ <div class="dropdown relative">
613
+ <button class="text-gray-400 hover:text-gray-600">
614
+ <i class="fas fa-ellipsis-v"></i>
615
+ </button>
616
+ </div>
617
+ </div>
618
+ <div class="mt-2 flex items-center text-xs text-gray-500">
619
+ <i class="far fa-user mr-1"></i> Michael Brown
620
+ </div>
621
+ <div class="mt-2 flex items-center text-xs text-green-500">
622
+ <i class="fas fa-check-circle mr-1"></i> Won 3 days ago
623
+ </div>
624
+ </div>
625
+ </div>
626
+ </div>
627
+ </div>
628
+ </div>
629
+ </div>
630
+
631
+ <!-- Recent Invoices -->
632
+ <div class="bg-white p-6 rounded-lg shadow-sm">
633
+ <div class="flex items-center justify-between mb-4">
634
+ <h2 class="text-lg font-medium text-gray-900">Recent Invoices</h2>
635
+ <button class="text-sm text-blue-600 hover:text-blue-800">View All</button>
636
+ </div>
637
+
638
+ <div class="overflow-x-auto">
639
+ <table class="min-w-full divide-y divide-gray-200">
640
+ <thead class="bg-gray-50">
641
+ <tr>
642
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Invoice #</th>
643
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th>
644
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
645
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Due Date</th>
646
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th>
647
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
648
+ <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
649
+ </tr>
650
+ </thead>
651
+ <tbody class="bg-white divide-y divide-gray-200">
652
+ <!-- Invoice Row -->
653
+ <tr>
654
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">INV-2023-105</td>
655
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Acme Corporation</td>
656
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td>
657
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 30, 2023</td>
658
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$2,450.00</td>
659
+ <td class="px-6 py-4 whitespace-nowrap">
660
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Paid</span>
661
+ </td>
662
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
663
+ <button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
664
+ <button class="text-gray-600 hover:text-gray-900">PDF</button>
665
+ </td>
666
+ </tr>
667
+
668
+ <!-- Invoice Row -->
669
+ <tr>
670
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">INV-2023-104</td>
671
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Tech Solutions LLC</td>
672
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 10, 2023</td>
673
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 25, 2023</td>
674
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$1,850.00</td>
675
+ <td class="px-6 py-4 whitespace-nowrap">
676
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
677
+ </td>
678
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
679
+ <button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
680
+ <button class="text-gray-600 hover:text-gray-900">PDF</button>
681
+ </td>
682
+ </tr>
683
+
684
+ <!-- Invoice Row -->
685
+ <tr>
686
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">INV-2023-103</td>
687
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Global Enterprises</td>
688
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 5, 2023</td>
689
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 20, 2023</td>
690
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$3,750.00</td>
691
+ <td class="px-6 py-4 whitespace-nowrap">
692
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Overdue</span>
693
+ </td>
694
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
695
+ <button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
696
+ <button class="text-gray-600 hover:text-gray-900">PDF</button>
697
+ </td>
698
+ </tr>
699
+
700
+ <!-- Invoice Row -->
701
+ <tr>
702
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">INV-2023-102</td>
703
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Bright Media</td>
704
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 1, 2023</td>
705
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 16, 2023</td>
706
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$2,150.00</td>
707
+ <td class="px-6 py-4 whitespace-nowrap">
708
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Paid</span>
709
+ </td>
710
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
711
+ <button class="text-blue-600 hover:text-blue-900 mr-3">View</button>
712
+ <button class="text-gray-600 hover:text-gray-900">PDF</button>
713
+ </td>
714
+ </tr>
715
+ </tbody>
716
+ </table>
717
+ </div>
718
+ </div>
719
+ </main>
720
+ </div>
721
+ </div>
722
+
723
+ <!-- Modal for New Task -->
724
+ <div id="taskModal" class="fixed z-50 inset-0 overflow-y-auto hidden">
725
+ <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
726
+ <div class="fixed inset-0 transition-opacity" aria-hidden="true">
727
+ <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
728
+ </div>
729
+ <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
730
+ <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">
731
+ <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
732
+ <div class="sm:flex sm:items-start">
733
+ <div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
734
+ <h3 class="text-lg leading-6 font-medium text-gray-900 mb-4">Create New Task</h3>
735
+ <div class="mt-2 space-y-4">
736
+ <div>
737
+ <label for="taskTitle" class="block text-sm font-medium text-gray-700">Task Title</label>
738
+ <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">
739
+ </div>
740
+ <div>
741
+ <label for="taskProject" class="block text-sm font-medium text-gray-700">Project</label>
742
+ <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">
743
+ <option>Website Redesign</option>
744
+ <option>Marketing Campaign</option>
745
+ <option>Product Launch</option>
746
+ </select>
747
+ </div>
748
+ <div>
749
+ <label for="taskAssignee" class="block text-sm font-medium text-gray-700">Assignee</label>
750
+ <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">
751
+ <option>Sarah Johnson</option>
752
+ <option>Michael Brown</option>
753
+ <option>Emily Davis</option>
754
+ </select>
755
+ </div>
756
+ <div class="grid grid-cols-2 gap-4">
757
+ <div>
758
+ <label for="taskDueDate" class="block text-sm font-medium text-gray-700">Due Date</label>
759
+ <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">
760
+ </div>
761
+ <div>
762
+ <label for="taskPriority" class="block text-sm font-medium text-gray-700">Priority</label>
763
+ <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">
764
+ <option>Low</option>
765
+ <option>Medium</option>
766
+ <option>High</option>
767
+ </select>
768
+ </div>
769
+ </div>
770
+ <div>
771
+ <label for="taskDescription" class="block text-sm font-medium text-gray-700">Description</label>
772
+ <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>
773
+ </div>
774
+ </div>
775
+ </div>
776
+ </div>
777
+ </div>
778
+ <div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
779
+ <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">
780
+ Create Task
781
+ </button>
782
+ <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">
783
+ Cancel
784
+ </button>
785
+ </div>
786
+ </div>
787
+ </div>
788
+ </div>
789
+
790
+ <script>
791
+ // Initialize charts when the page loads
792
+ document.addEventListener('DOMContentLoaded', function() {
793
+ // Revenue Chart
794
+ const revenueCtx = document.getElementById('revenueChart').getContext('2d');
795
+ const revenueChart = new Chart(revenueCtx, {
796
+ type: 'line',
797
+ data: {
798
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
799
+ datasets: [{
800
+ label: 'Revenue',
801
+ data: [12000, 19000, 15000, 20000, 24780, 22000, 25000],
802
+ backgroundColor: 'rgba(59, 130, 246, 0.05)',
803
+ borderColor: 'rgba(59, 130, 246, 1)',
804
+ borderWidth: 2,
805
+ tension: 0.1,
806
+ fill: true
807
+ }]
808
+ },
809
+ options: {
810
+ responsive: true,
811
+ maintainAspectRatio: false,
812
+ plugins: {
813
+ legend: {
814
+ display: false
815
+ }
816
+ },
817
+ scales: {
818
+ y: {
819
+ beginAtZero: true,
820
+ grid: {
821
+ drawBorder: false
822
+ },
823
+ ticks: {
824
+ callback: function(value) {
825
+ return '$' + value.toLocaleString();
826
+ }
827
+ }
828
+ },
829
+ x: {
830
+ grid: {
831
+ display: false
832
+ }
833
+ }
834
+ }
835
+ }
836
+ });
837
+
838
+ // Sales Funnel Chart
839
+ const funnelCtx = document.getElementById('salesFunnelChart').getContext('2d');
840
+ const funnelChart = new Chart(funnelCtx, {
841
+ type: 'bar',
842
+ data: {
843
+ labels: ['Leads', 'Qualified', 'Proposal', 'Negotiation', 'Closed Won'],
844
+ datasets: [{
845
+ label: 'Deals',
846
+ data: [45, 30, 20, 12, 8],
847
+ backgroundColor: [
848
+ 'rgba(59, 130, 246, 0.7)',
849
+ 'rgba(16, 185, 129, 0.7)',
850
+ 'rgba(245, 158, 11, 0.7)',
851
+ 'rgba(249, 115, 22, 0.7)',
852
+ 'rgba(124, 58, 237, 0.7)'
853
+ ],
854
+ borderColor: [
855
+ 'rgba(59, 130, 246, 1)',
856
+ 'rgba(16, 185, 129, 1)',
857
+ 'rgba(245, 158, 11, 1)',
858
+ 'rgba(249, 115, 22, 1)',
859
+ 'rgba(124, 58, 237, 1)'
860
+ ],
861
+ borderWidth: 1
862
+ }]
863
+ },
864
+ options: {
865
+ responsive: true,
866
+ maintainAspectRatio: false,
867
+ plugins: {
868
+ legend: {
869
+ display: false
870
+ }
871
+ },
872
+ scales: {
873
+ y: {
874
+ beginAtZero: true,
875
+ grid: {
876
+ drawBorder: false
877
+ }
878
+ },
879
+ x: {
880
+ grid: {
881
+ display: false
882
+ }
883
+ }
884
+ }
885
+ }
886
+ });
887
+
888
+ // Task Modal Handling
889
+ const taskModal = document.getElementById('taskModal');
890
+ const newTaskButtons = document.querySelectorAll('button:contains("New Task")');
891
+
892
+ newTaskButtons.forEach(button => {
893
+ button.addEventListener('click', function() {
894
+ taskModal.classList.remove('hidden');
895
+ });
896
+ });
897
+
898
+ // Close modal when clicking cancel or outside
899
+ const cancelButtons = taskModal.querySelectorAll('button:contains("Cancel")');
900
+ cancelButtons.forEach(button => {
901
+ button.addEventListener('click', function() {
902
+ taskModal.classList.add('hidden');
903
+ });
904
+ });
905
+
906
+ taskModal.addEventListener('click', function(e) {
907
+ if (e.target === taskModal) {
908
+ taskModal.classList.add('hidden');
909
+ }
910
+ });
911
+ });
912
+
913
+ // Simulate "contains" selector for buttons
914
+ function contains(selector, text) {
915
+ const elements = document.querySelectorAll(selector);
916
+ return Array.prototype.filter.call(elements, function(element) {
917
+ return RegExp(text).test(element.textContent);
918
+ });
919
+ }
920
+ </script>
921
+ <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>
922
+ </html>