Tousifahamed commited on
Commit
71b3951
·
verified ·
1 Parent(s): 86398e2

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +650 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Spotfire Mod Template
3
- emoji: 👁
4
- colorFrom: yellow
5
- colorTo: blue
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: spotfire-mod-template
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: green
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,650 @@
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>Spotfire MOD Dashboard</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
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
12
+ }
13
+ .sidebar-item:hover {
14
+ background-color: rgba(255, 255, 255, 0.1);
15
+ transform: translateX(5px);
16
+ }
17
+ .chart-container {
18
+ transition: all 0.3s ease;
19
+ }
20
+ .chart-container:hover {
21
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
22
+ transform: translateY(-5px);
23
+ }
24
+ .data-table tr:nth-child(even) {
25
+ background-color: #f8fafc;
26
+ }
27
+ .data-table tr:hover {
28
+ background-color: #f1f5f9;
29
+ }
30
+ @keyframes pulse {
31
+ 0%, 100% {
32
+ opacity: 1;
33
+ }
34
+ 50% {
35
+ opacity: 0.5;
36
+ }
37
+ }
38
+ .animate-pulse {
39
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
40
+ }
41
+ </style>
42
+ </head>
43
+ <body class="bg-gray-50 font-sans">
44
+ <div class="flex h-screen overflow-hidden">
45
+ <!-- Sidebar -->
46
+ <div class="gradient-bg text-white w-64 flex-shrink-0 flex flex-col">
47
+ <div class="p-4 flex items-center border-b border-blue-700">
48
+ <div class="bg-white rounded-lg p-2 mr-3">
49
+ <i class="fas fa-chart-line text-blue-600 text-xl"></i>
50
+ </div>
51
+ <h1 class="text-xl font-bold">Spotfire MOD</h1>
52
+ </div>
53
+ <div class="p-4">
54
+ <div class="relative mb-4">
55
+ <input type="text" placeholder="Search..." class="w-full bg-blue-800 text-white px-4 py-2 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-400 placeholder-blue-300">
56
+ <i class="fas fa-search absolute right-3 top-3 text-blue-300"></i>
57
+ </div>
58
+ <nav class="space-y-1">
59
+ <a href="#" class="sidebar-item flex items-center px-4 py-3 rounded-lg text-white font-medium transition-all duration-200">
60
+ <i class="fas fa-home mr-3"></i>
61
+ Dashboard
62
+ </a>
63
+ <a href="#" class="sidebar-item flex items-center px-4 py-3 rounded-lg text-blue-200 font-medium transition-all duration-200">
64
+ <i class="fas fa-database mr-3"></i>
65
+ Data Sources
66
+ </a>
67
+ <a href="#" class="sidebar-item flex items-center px-4 py-3 rounded-lg text-blue-200 font-medium transition-all duration-200">
68
+ <i class="fas fa-chart-pie mr-3"></i>
69
+ Visualizations
70
+ </a>
71
+ <a href="#" class="sidebar-item flex items-center px-4 py-3 rounded-lg text-blue-200 font-medium transition-all duration-200">
72
+ <i class="fas fa-sliders-h mr-3"></i>
73
+ Analysis
74
+ </a>
75
+ <a href="#" class="sidebar-item flex items-center px-4 py-3 rounded-lg text-blue-200 font-medium transition-all duration-200">
76
+ <i class="fas fa-users mr-3"></i>
77
+ Collaboration
78
+ </a>
79
+ <a href="#" class="sidebar-item flex items-center px-4 py-3 rounded-lg text-blue-200 font-medium transition-all duration-200">
80
+ <i class="fas fa-cog mr-3"></i>
81
+ Settings
82
+ </a>
83
+ </nav>
84
+ </div>
85
+ <div class="mt-auto p-4 border-t border-blue-700">
86
+ <div class="flex items-center">
87
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full mr-3">
88
+ <div>
89
+ <p class="font-medium">Sarah Johnson</p>
90
+ <p class="text-xs text-blue-200">Admin</p>
91
+ </div>
92
+ </div>
93
+ </div>
94
+ </div>
95
+
96
+ <!-- Main Content -->
97
+ <div class="flex-1 overflow-auto">
98
+ <!-- Top Navigation -->
99
+ <header class="bg-white border-b border-gray-200 px-6 py-4 flex items-center justify-between">
100
+ <h2 class="text-xl font-semibold text-gray-800">Sales Performance Dashboard</h2>
101
+ <div class="flex items-center space-x-4">
102
+ <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg flex items-center">
103
+ <i class="fas fa-plus mr-2"></i>
104
+ New Analysis
105
+ </button>
106
+ <button class="p-2 text-gray-500 hover:text-gray-700">
107
+ <i class="fas fa-bell"></i>
108
+ </button>
109
+ <button class="p-2 text-gray-500 hover:text-gray-700">
110
+ <i class="fas fa-question-circle"></i>
111
+ </button>
112
+ </div>
113
+ </header>
114
+
115
+ <!-- Dashboard Content -->
116
+ <main class="p-6">
117
+ <!-- Filters -->
118
+ <div class="bg-white rounded-xl shadow-sm p-4 mb-6">
119
+ <div class="flex flex-wrap items-center gap-4">
120
+ <div>
121
+ <label class="block text-sm font-medium text-gray-700 mb-1">Time Range</label>
122
+ <select class="border border-gray-300 rounded-lg px-3 py-2 w-40">
123
+ <option>Last 7 Days</option>
124
+ <option selected>Last 30 Days</option>
125
+ <option>Last Quarter</option>
126
+ <option>Last Year</option>
127
+ </select>
128
+ </div>
129
+ <div>
130
+ <label class="block text-sm font-medium text-gray-700 mb-1">Region</label>
131
+ <select class="border border-gray-300 rounded-lg px-3 py-2 w-40">
132
+ <option selected>All Regions</option>
133
+ <option>North America</option>
134
+ <option>Europe</option>
135
+ <option>Asia</option>
136
+ <option>South America</option>
137
+ </select>
138
+ </div>
139
+ <div>
140
+ <label class="block text-sm font-medium text-gray-700 mb-1">Product Category</label>
141
+ <select class="border border-gray-300 rounded-lg px-3 py-2 w-40">
142
+ <option selected>All Categories</option>
143
+ <option>Electronics</option>
144
+ <option>Clothing</option>
145
+ <option>Home Goods</option>
146
+ <option>Food & Beverage</option>
147
+ </select>
148
+ </div>
149
+ <div class="ml-auto">
150
+ <button class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-lg flex items-center">
151
+ <i class="fas fa-filter mr-2"></i>
152
+ Advanced Filters
153
+ </button>
154
+ </div>
155
+ </div>
156
+ </div>
157
+
158
+ <!-- KPI Cards -->
159
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
160
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
161
+ <div class="flex justify-between items-start">
162
+ <div>
163
+ <p class="text-sm text-gray-500">Total Revenue</p>
164
+ <h3 class="text-2xl font-bold mt-1">$1,245,678</h3>
165
+ <p class="text-sm mt-2"><span class="text-green-500 font-medium">+12.5%</span> vs last period</p>
166
+ </div>
167
+ <div class="bg-blue-100 p-3 rounded-lg">
168
+ <i class="fas fa-dollar-sign text-blue-600 text-xl"></i>
169
+ </div>
170
+ </div>
171
+ <div class="mt-4 h-2 bg-gray-100 rounded-full">
172
+ <div class="h-2 bg-blue-500 rounded-full" style="width: 72%"></div>
173
+ </div>
174
+ </div>
175
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
176
+ <div class="flex justify-between items-start">
177
+ <div>
178
+ <p class="text-sm text-gray-500">Orders</p>
179
+ <h3 class="text-2xl font-bold mt-1">8,542</h3>
180
+ <p class="text-sm mt-2"><span class="text-green-500 font-medium">+8.3%</span> vs last period</p>
181
+ </div>
182
+ <div class="bg-purple-100 p-3 rounded-lg">
183
+ <i class="fas fa-shopping-cart text-purple-600 text-xl"></i>
184
+ </div>
185
+ </div>
186
+ <div class="mt-4 h-2 bg-gray-100 rounded-full">
187
+ <div class="h-2 bg-purple-500 rounded-full" style="width: 65%"></div>
188
+ </div>
189
+ </div>
190
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
191
+ <div class="flex justify-between items-start">
192
+ <div>
193
+ <p class="text-sm text-gray-500">Avg. Order Value</p>
194
+ <h3 class="text-2xl font-bold mt-1">$145.89</h3>
195
+ <p class="text-sm mt-2"><span class="text-green-500 font-medium">+3.9%</span> vs last period</p>
196
+ </div>
197
+ <div class="bg-green-100 p-3 rounded-lg">
198
+ <i class="fas fa-chart-bar text-green-600 text-xl"></i>
199
+ </div>
200
+ </div>
201
+ <div class="mt-4 h-2 bg-gray-100 rounded-full">
202
+ <div class="h-2 bg-green-500 rounded-full" style="width: 48%"></div>
203
+ </div>
204
+ </div>
205
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
206
+ <div class="flex justify-between items-start">
207
+ <div>
208
+ <p class="text-sm text-gray-500">Conversion Rate</p>
209
+ <h3 class="text-2xl font-bold mt-1">3.42%</h3>
210
+ <p class="text-sm mt-2"><span class="text-red-500 font-medium">-0.8%</span> vs last period</p>
211
+ </div>
212
+ <div class="bg-yellow-100 p-3 rounded-lg">
213
+ <i class="fas fa-percent text-yellow-600 text-xl"></i>
214
+ </div>
215
+ </div>
216
+ <div class="mt-4 h-2 bg-gray-100 rounded-full">
217
+ <div class="h-2 bg-yellow-500 rounded-full" style="width: 34%"></div>
218
+ </div>
219
+ </div>
220
+ </div>
221
+
222
+ <!-- Charts Row 1 -->
223
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
224
+ <!-- Revenue Trend Chart -->
225
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
226
+ <div class="flex justify-between items-center mb-4">
227
+ <h3 class="font-semibold text-gray-800">Revenue Trend</h3>
228
+ <div class="flex space-x-2">
229
+ <button class="p-1 text-gray-400 hover:text-gray-600">
230
+ <i class="fas fa-ellipsis-h"></i>
231
+ </button>
232
+ </div>
233
+ </div>
234
+ <div class="h-64">
235
+ <canvas id="revenueChart"></canvas>
236
+ </div>
237
+ </div>
238
+
239
+ <!-- Sales by Region Chart -->
240
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
241
+ <div class="flex justify-between items-center mb-4">
242
+ <h3 class="font-semibold text-gray-800">Sales by Region</h3>
243
+ <div class="flex space-x-2">
244
+ <button class="p-1 text-gray-400 hover:text-gray-600">
245
+ <i class="fas fa-ellipsis-h"></i>
246
+ </button>
247
+ </div>
248
+ </div>
249
+ <div class="h-64">
250
+ <canvas id="regionChart"></canvas>
251
+ </div>
252
+ </div>
253
+ </div>
254
+
255
+ <!-- Charts Row 2 -->
256
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
257
+ <!-- Top Products -->
258
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
259
+ <div class="flex justify-between items-center mb-4">
260
+ <h3 class="font-semibold text-gray-800">Top Products</h3>
261
+ <div class="flex space-x-2">
262
+ <button class="p-1 text-gray-400 hover:text-gray-600">
263
+ <i class="fas fa-ellipsis-h"></i>
264
+ </button>
265
+ </div>
266
+ </div>
267
+ <div class="space-y-4">
268
+ <div>
269
+ <div class="flex justify-between mb-1">
270
+ <span class="text-sm font-medium">Smartphone X</span>
271
+ <span class="text-sm font-medium">$324,500</span>
272
+ </div>
273
+ <div class="w-full bg-gray-200 rounded-full h-2">
274
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 72%"></div>
275
+ </div>
276
+ </div>
277
+ <div>
278
+ <div class="flex justify-between mb-1">
279
+ <span class="text-sm font-medium">Laptop Pro</span>
280
+ <span class="text-sm font-medium">$278,300</span>
281
+ </div>
282
+ <div class="w-full bg-gray-200 rounded-full h-2">
283
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 64%"></div>
284
+ </div>
285
+ </div>
286
+ <div>
287
+ <div class="flex justify-between mb-1">
288
+ <span class="text-sm font-medium">Wireless Earbuds</span>
289
+ <span class="text-sm font-medium">$198,750</span>
290
+ </div>
291
+ <div class="w-full bg-gray-200 rounded-full h-2">
292
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 45%"></div>
293
+ </div>
294
+ </div>
295
+ <div>
296
+ <div class="flex justify-between mb-1">
297
+ <span class="text-sm font-medium">Smart Watch</span>
298
+ <span class="text-sm font-medium">$156,200</span>
299
+ </div>
300
+ <div class="w-full bg-gray-200 rounded-full h-2">
301
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 36%"></div>
302
+ </div>
303
+ </div>
304
+ <div>
305
+ <div class="flex justify-between mb-1">
306
+ <span class="text-sm font-medium">Tablet Mini</span>
307
+ <span class="text-sm font-medium">$128,900</span>
308
+ </div>
309
+ <div class="w-full bg-gray-200 rounded-full h-2">
310
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 30%"></div>
311
+ </div>
312
+ </div>
313
+ </div>
314
+ </div>
315
+
316
+ <!-- Customer Satisfaction -->
317
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
318
+ <div class="flex justify-between items-center mb-4">
319
+ <h3 class="font-semibold text-gray-800">Customer Satisfaction</h3>
320
+ <div class="flex space-x-2">
321
+ <button class="p-1 text-gray-400 hover:text-gray-600">
322
+ <i class="fas fa-ellipsis-h"></i>
323
+ </button>
324
+ </div>
325
+ </div>
326
+ <div class="h-64 flex items-center justify-center">
327
+ <div class="relative w-40 h-40">
328
+ <svg class="w-full h-full" viewBox="0 0 100 100">
329
+ <circle class="text-gray-200" stroke-width="10" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50" />
330
+ <circle class="text-green-500" stroke-width="10" stroke-dasharray="251.2" stroke-dashoffset="75.36" stroke-linecap="round" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50" />
331
+ </svg>
332
+ <div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center">
333
+ <span class="text-3xl font-bold text-gray-800">70%</span>
334
+ <p class="text-sm text-gray-500 mt-1">Satisfied</p>
335
+ </div>
336
+ </div>
337
+ </div>
338
+ <div class="grid grid-cols-3 gap-2 mt-4">
339
+ <div class="text-center">
340
+ <div class="h-2 bg-green-500 rounded-full"></div>
341
+ <p class="text-xs mt-1">5 Stars (30%)</p>
342
+ </div>
343
+ <div class="text-center">
344
+ <div class="h-2 bg-blue-400 rounded-full"></div>
345
+ <p class="text-xs mt-1">4 Stars (40%)</p>
346
+ </div>
347
+ <div class="text-center">
348
+ <div class="h-2 bg-yellow-400 rounded-full"></div>
349
+ <p class="text-xs mt-1">3 Stars (20%)</p>
350
+ </div>
351
+ </div>
352
+ </div>
353
+
354
+ <!-- Sales Funnel -->
355
+ <div class="bg-white rounded-xl shadow-sm p-6 chart-container">
356
+ <div class="flex justify-between items-center mb-4">
357
+ <h3 class="font-semibold text-gray-800">Sales Funnel</h3>
358
+ <div class="flex space-x-2">
359
+ <button class="p-1 text-gray-400 hover:text-gray-600">
360
+ <i class="fas fa-ellipsis-h"></i>
361
+ </button>
362
+ </div>
363
+ </div>
364
+ <div class="h-64">
365
+ <canvas id="funnelChart"></canvas>
366
+ </div>
367
+ </div>
368
+ </div>
369
+
370
+ <!-- Data Table -->
371
+ <div class="bg-white rounded-xl shadow-sm overflow-hidden">
372
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
373
+ <h3 class="font-semibold text-gray-800">Recent Transactions</h3>
374
+ <div class="flex space-x-2">
375
+ <button class="text-gray-400 hover:text-gray-600 p-1">
376
+ <i class="fas fa-download"></i>
377
+ </button>
378
+ <button class="text-gray-400 hover:text-gray-600 p-1">
379
+ <i class="fas fa-filter"></i>
380
+ </button>
381
+ </div>
382
+ </div>
383
+ <div class="overflow-x-auto">
384
+ <table class="min-w-full divide-y divide-gray-200 data-table">
385
+ <thead class="bg-gray-50">
386
+ <tr>
387
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Order ID</th>
388
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Customer</th>
389
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
390
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
391
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th>
392
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
393
+ </tr>
394
+ </thead>
395
+ <tbody class="bg-white divide-y divide-gray-200">
396
+ <tr>
397
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-8451</td>
398
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td>
399
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-15</td>
400
+ <td class="px-6 py-4 whitespace-nowrap">
401
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
402
+ </td>
403
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$1,245.00</td>
404
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
405
+ <button class="text-blue-600 hover:text-blue-900 mr-3">
406
+ <i class="fas fa-eye"></i>
407
+ </button>
408
+ <button class="text-gray-600 hover:text-gray-900">
409
+ <i class="fas fa-ellipsis-v"></i>
410
+ </button>
411
+ </td>
412
+ </tr>
413
+ <tr>
414
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-8450</td>
415
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td>
416
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-14</td>
417
+ <td class="px-6 py-4 whitespace-nowrap">
418
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Processing</span>
419
+ </td>
420
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$890.50</td>
421
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
422
+ <button class="text-blue-600 hover:text-blue-900 mr-3">
423
+ <i class="fas fa-eye"></i>
424
+ </button>
425
+ <button class="text-gray-600 hover:text-gray-900">
426
+ <i class="fas fa-ellipsis-v"></i>
427
+ </button>
428
+ </td>
429
+ </tr>
430
+ <tr>
431
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-8449</td>
432
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Michael Brown</td>
433
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-14</td>
434
+ <td class="px-6 py-4 whitespace-nowrap">
435
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
436
+ </td>
437
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$2,340.00</td>
438
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
439
+ <button class="text-blue-600 hover:text-blue-900 mr-3">
440
+ <i class="fas fa-eye"></i>
441
+ </button>
442
+ <button class="text-gray-600 hover:text-gray-900">
443
+ <i class="fas fa-ellipsis-v"></i>
444
+ </button>
445
+ </td>
446
+ </tr>
447
+ <tr>
448
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-8448</td>
449
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Emily Davis</td>
450
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-13</td>
451
+ <td class="px-6 py-4 whitespace-nowrap">
452
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
453
+ </td>
454
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$1,560.75</td>
455
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
456
+ <button class="text-blue-600 hover:text-blue-900 mr-3">
457
+ <i class="fas fa-eye"></i>
458
+ </button>
459
+ <button class="text-gray-600 hover:text-gray-900">
460
+ <i class="fas fa-ellipsis-v"></i>
461
+ </button>
462
+ </td>
463
+ </tr>
464
+ <tr>
465
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-8447</td>
466
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Robert Wilson</td>
467
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-12</td>
468
+ <td class="px-6 py-4 whitespace-nowrap">
469
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Cancelled</span>
470
+ </td>
471
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$765.30</td>
472
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
473
+ <button class="text-blue-600 hover:text-blue-900 mr-3">
474
+ <i class="fas fa-eye"></i>
475
+ </button>
476
+ <button class="text-gray-600 hover:text-gray-900">
477
+ <i class="fas fa-ellipsis-v"></i>
478
+ </button>
479
+ </td>
480
+ </tr>
481
+ </tbody>
482
+ </table>
483
+ </div>
484
+ <div class="bg-gray-50 px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6">
485
+ <div class="flex-1 flex justify-between sm:hidden">
486
+ <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> Previous </a>
487
+ <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> Next </a>
488
+ </div>
489
+ <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
490
+ <div>
491
+ <p class="text-sm text-gray-700"> Showing <span class="font-medium">1</span> to <span class="font-medium">5</span> of <span class="font-medium">24</span> results </p>
492
+ </div>
493
+ <div>
494
+ <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
495
+ <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Previous</span> <i class="fas fa-chevron-left"></i> </a>
496
+ <a href="#" aria-current="page" class="z-10 bg-blue-50 border-blue-500 text-blue-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 1 </a>
497
+ <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 2 </a>
498
+ <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 3 </a>
499
+ <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Next</span> <i class="fas fa-chevron-right"></i> </a>
500
+ </nav>
501
+ </div>
502
+ </div>
503
+ </div>
504
+ </div>
505
+ </main>
506
+ </div>
507
+ </div>
508
+
509
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
510
+ <script>
511
+ // Revenue Trend Chart
512
+ const revenueCtx = document.getElementById('revenueChart').getContext('2d');
513
+ const revenueChart = new Chart(revenueCtx, {
514
+ type: 'line',
515
+ data: {
516
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
517
+ datasets: [{
518
+ label: 'Revenue',
519
+ data: [85000, 92000, 105000, 112000, 125000, 135000, 142000, 148000, 132000, 118000, 105000, 95000],
520
+ borderColor: '#3B82F6',
521
+ backgroundColor: 'rgba(59, 130, 246, 0.05)',
522
+ borderWidth: 2,
523
+ tension: 0.4,
524
+ fill: true
525
+ }]
526
+ },
527
+ options: {
528
+ responsive: true,
529
+ plugins: {
530
+ legend: {
531
+ display: false
532
+ }
533
+ },
534
+ scales: {
535
+ y: {
536
+ beginAtZero: false,
537
+ grid: {
538
+ drawBorder: false
539
+ }
540
+ },
541
+ x: {
542
+ grid: {
543
+ display: false
544
+ }
545
+ }
546
+ }
547
+ }
548
+ });
549
+
550
+ // Sales by Region Chart
551
+ const regionCtx = document.getElementById('regionChart').getContext('2d');
552
+ const regionChart = new Chart(regionCtx, {
553
+ type: 'bar',
554
+ data: {
555
+ labels: ['North America', 'Europe', 'Asia', 'South America', 'Africa'],
556
+ datasets: [{
557
+ label: 'Sales',
558
+ data: [650000, 420000, 380000, 180000, 75000],
559
+ backgroundColor: [
560
+ 'rgba(99, 102, 241, 0.7)',
561
+ 'rgba(59, 130, 246, 0.7)',
562
+ 'rgba(16, 185, 129, 0.7)',
563
+ 'rgba(245, 158, 11, 0.7)',
564
+ 'rgba(239, 68, 68, 0.7)'
565
+ ],
566
+ borderColor: [
567
+ 'rgba(99, 102, 241, 1)',
568
+ 'rgba(59, 130, 246, 1)',
569
+ 'rgba(16, 185, 129, 1)',
570
+ 'rgba(245, 158, 11, 1)',
571
+ 'rgba(239, 68, 68, 1)'
572
+ ],
573
+ borderWidth: 1
574
+ }]
575
+ },
576
+ options: {
577
+ responsive: true,
578
+ plugins: {
579
+ legend: {
580
+ display: false
581
+ }
582
+ },
583
+ scales: {
584
+ y: {
585
+ beginAtZero: true,
586
+ grid: {
587
+ drawBorder: false
588
+ }
589
+ },
590
+ x: {
591
+ grid: {
592
+ display: false
593
+ }
594
+ }
595
+ }
596
+ }
597
+ });
598
+
599
+ // Sales Funnel Chart
600
+ const funnelCtx = document.getElementById('funnelChart').getContext('2d');
601
+ const funnelChart = new Chart(funnelCtx, {
602
+ type: 'doughnut',
603
+ data: {
604
+ labels: ['Visitors', 'Leads', 'Opportunities', 'Customers'],
605
+ datasets: [{
606
+ data: [10000, 4500, 2000, 850],
607
+ backgroundColor: [
608
+ 'rgba(99, 102, 241, 0.7)',
609
+ 'rgba(59, 130, 246, 0.7)',
610
+ 'rgba(16, 185, 129, 0.7)',
611
+ 'rgba(245, 158, 11, 0.7)'
612
+ ],
613
+ borderColor: [
614
+ 'rgba(99, 102, 241, 1)',
615
+ 'rgba(59, 130, 246, 1)',
616
+ 'rgba(16, 185, 129, 1)',
617
+ 'rgba(245, 158, 11, 1)'
618
+ ],
619
+ borderWidth: 1
620
+ }]
621
+ },
622
+ options: {
623
+ responsive: true,
624
+ plugins: {
625
+ legend: {
626
+ position: 'right',
627
+ }
628
+ },
629
+ cutout: '70%'
630
+ }
631
+ });
632
+
633
+ // Add animation to charts when they come into view
634
+ const observer = new IntersectionObserver((entries) => {
635
+ entries.forEach(entry => {
636
+ if (entry.isIntersecting) {
637
+ entry.target.classList.add('animate-pulse');
638
+ setTimeout(() => {
639
+ entry.target.classList.remove('animate-pulse');
640
+ }, 2000);
641
+ }
642
+ });
643
+ }, { threshold: 0.1 });
644
+
645
+ document.querySelectorAll('.chart-container').forEach(container => {
646
+ observer.observe(container);
647
+ });
648
+ </script>
649
+ <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=Tousifahamed/spotfire-mod-template" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
650
+ </html>