Hiraishin commited on
Commit
150717f
Β·
verified Β·
1 Parent(s): 8403503

Make a dashboard from this dataframe:

Browse files

b7eec7a7-9285-4510-a8f0-abfdce5a8241 completed 0 2025-09-28 15:15:29 2025-09-28 15:15:29
0809cae3-6b01-4d81-8664-fa627d4d970e completed 0 2025-09-28 15:15:28 2025-09-28 15:15:29
c179e1b7-537d-4e20-8ab2-221a7b746e4a completed 0 2025-09-28 15:15:28 2025-09-28 15:15:28
06dcc918-e0f8-420a-aa20-a2352f34265d completed 0 2025-09-25 08:35:36 2025-09-25 08:35:37
473b47b9-28cf-408a-ad38-7738d5172897 completed 0 2025-09-25 08:21:29 2025-09-25 08:21:29
8c46a5f1-c166-475b-86d1-8283769d3797 completed 0 2025-09-25 08:21:27 2025-09-25 08:21:27
d777bfdd-26fb-4f26-972b-25e2c8e8865b completed 0 2025-09-25 08:21:26 2025-09-25 08:21:27
922bd3ba-2f2e-4df1-a797-10eaf1ad6a61 completed 0 2025-09-22 09:26:52 2025-09-22 09:26:52
ac119762-b37d-441b-9c23-cb3787ad00bc completed 0 2025-09-22 07:54:58 2025-09-22 07:54:59
9278fc77-a75b-4ca3-bcda-053482ecec64 completed 0 2025-09-22 07:24:54 2025-09-22 07:24:54

Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +375 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Tasktrack Triumph Dashboard
3
- emoji: πŸŒ–
4
- colorFrom: indigo
5
- colorTo: pink
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: TaskTrack Triumph Dashboard πŸš€
3
+ colorFrom: red
4
+ colorTo: blue
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,376 @@
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>TaskTrack Triumph Dashboard</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
12
+ <script>
13
+ tailwind.config = {
14
+ theme: {
15
+ extend: {
16
+ colors: {
17
+ primary: {
18
+ 500: '#6366f1',
19
+ },
20
+ secondary: {
21
+ 500: '#ec4899',
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ </script>
28
+ <style>
29
+ .glow-card {
30
+ box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
31
+ }
32
+ .data-table {
33
+ border-collapse: separate;
34
+ border-spacing: 0;
35
+ }
36
+ .data-table th {
37
+ position: sticky;
38
+ top: 0;
39
+ background-color: #f8fafc;
40
+ }
41
+ .data-table tr:last-child td {
42
+ border-bottom: none;
43
+ }
44
+ .animate-pulse-slow {
45
+ animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
46
+ }
47
+ </style>
48
+ </head>
49
+ <body class="bg-gray-50 min-h-screen">
50
+ <div class="flex">
51
+ <!-- Sidebar -->
52
+ <div class="w-64 bg-white shadow-lg h-screen sticky top-0">
53
+ <div class="p-6">
54
+ <div class="flex items-center space-x-3">
55
+ <i data-feather="check-circle" class="text-primary-500"></i>
56
+ <h1 class="text-xl font-bold text-gray-800">TaskTrack Triumph</h1>
57
+ </div>
58
+ </div>
59
+ <nav class="mt-6">
60
+ <div>
61
+ <a href="#" class="flex items-center px-6 py-3 text-primary-500 bg-primary-50 border-l-4 border-primary-500">
62
+ <i data-feather="bar-chart-2" class="w-5 h-5"></i>
63
+ <span class="mx-3 font-medium">Dashboard</span>
64
+ </a>
65
+ <a href="#" class="flex items-center px-6 py-3 text-gray-600 hover:bg-gray-100">
66
+ <i data-feather="list" class="w-5 h-5"></i>
67
+ <span class="mx-3 font-medium">Tasks</span>
68
+ </a>
69
+ <a href="#" class="flex items-center px-6 py-3 text-gray-600 hover:bg-gray-100">
70
+ <i data-feather="calendar" class="w-5 h-5"></i>
71
+ <span class="mx-3 font-medium">Calendar</span>
72
+ </a>
73
+ <a href="#" class="flex items-center px-6 py-3 text-gray-600 hover:bg-gray-100">
74
+ <i data-feather="settings" class="w-5 h-5"></i>
75
+ <span class="mx-3 font-medium">Settings</span>
76
+ </a>
77
+ </div>
78
+ </nav>
79
+ </div>
80
+
81
+ <!-- Main Content -->
82
+ <div class="flex-1 p-8">
83
+ <header class="flex justify-between items-center mb-8">
84
+ <h2 class="text-2xl font-bold text-gray-800">Dashboard Overview</h2>
85
+ <div class="flex space-x-4">
86
+ <button class="px-4 py-2 bg-primary-500 text-white rounded-lg hover:bg-primary-600 transition flex items-center space-x-2">
87
+ <i data-feather="plus" class="w-4 h-4"></i>
88
+ <span>New Task</span>
89
+ </button>
90
+ <button class="px-4 py-2 bg-white border border-gray-200 rounded-lg hover:bg-gray-50 transition flex items-center space-x-2">
91
+ <i data-feather="filter" class="w-4 h-4"></i>
92
+ <span>Filter</span>
93
+ </button>
94
+ </div>
95
+ </header>
96
+
97
+ <!-- Stats Cards -->
98
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
99
+ <div class="bg-white p-6 rounded-xl shadow-sm glow-card">
100
+ <div class="flex justify-between items-start">
101
+ <div>
102
+ <p class="text-gray-500">Total Tasks</p>
103
+ <h3 class="text-3xl font-bold mt-2">10</h3>
104
+ </div>
105
+ <div class="p-3 rounded-full bg-primary-50 text-primary-500">
106
+ <i data-feather="check-square"></i>
107
+ </div>
108
+ </div>
109
+ <div class="mt-4 pt-4 border-t border-gray-100">
110
+ <p class="text-sm text-gray-500 flex items-center">
111
+ <span class="text-green-500 flex items-center">
112
+ <i data-feather="arrow-up" class="w-4 h-4 mr-1"></i>
113
+ 100%
114
+ </span>
115
+ <span class="ml-2">completion rate</span>
116
+ </p>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="bg-white p-6 rounded-xl shadow-sm">
121
+ <div class="flex justify-between items-start">
122
+ <div>
123
+ <p class="text-gray-500">Recent Activity</p>
124
+ <h3 class="text-3xl font-bold mt-2">3</h3>
125
+ </div>
126
+ <div class="p-3 rounded-full bg-secondary-50 text-secondary-500">
127
+ <i data-feather="activity"></i>
128
+ </div>
129
+ </div>
130
+ <div class="mt-4 pt-4 border-t border-gray-100">
131
+ <p class="text-sm text-gray-500 flex items-center">
132
+ <span class="text-primary-500">last 24 hours</span>
133
+ </p>
134
+ </div>
135
+ </div>
136
+
137
+ <div class="bg-white p-6 rounded-xl shadow-sm">
138
+ <div class="flex justify-between items-start">
139
+ <div>
140
+ <p class="text-gray-500">Avg. Duration</p>
141
+ <h3 class="text-3xl font-bold mt-2">1s</h3>
142
+ </div>
143
+ <div class="p-3 rounded-full bg-yellow-50 text-yellow-500">
144
+ <i data-feather="clock"></i>
145
+ </div>
146
+ </div>
147
+ <div class="mt-4 pt-4 border-t border-gray-100">
148
+ <p class="text-sm text-gray-500">per task</p>
149
+ </div>
150
+ </div>
151
+
152
+ <div class="bg-white p-6 rounded-xl shadow-sm">
153
+ <div class="flex justify-between items-start">
154
+ <div>
155
+ <p class="text-gray-500">Busiest Day</p>
156
+ <h3 class="text-3xl font-bold mt-2">Sep 28</h3>
157
+ </div>
158
+ <div class="p-3 rounded-full bg-green-50 text-green-500">
159
+ <i data-feather="calendar"></i>
160
+ </div>
161
+ </div>
162
+ <div class="mt-4 pt-4 border-t border-gray-100">
163
+ <p class="text-sm text-gray-500">3 tasks completed</p>
164
+ </div>
165
+ </div>
166
+ </div>
167
+
168
+ <!-- Charts -->
169
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
170
+ <div class="bg-white p-6 rounded-xl shadow-sm">
171
+ <div class="flex justify-between items-center mb-4">
172
+ <h3 class="font-semibold text-gray-800">Completion Trend</h3>
173
+ <select class="bg-gray-100 border-0 text-sm rounded-lg px-3 py-1">
174
+ <option>Last 7 days</option>
175
+ <option>Last 30 days</option>
176
+ <option>Last 90 days</option>
177
+ </select>
178
+ </div>
179
+ <div class="h-64">
180
+ <canvas id="completionChart"></canvas>
181
+ </div>
182
+ </div>
183
+
184
+ <div class="bg-white p-6 rounded-xl shadow-sm">
185
+ <div class="flex justify-between items-center mb-4">
186
+ <h3 class="font-semibold text-gray-800">Task Distribution</h3>
187
+ <div class="flex space-x-2">
188
+ <button class="bg-gray-100 border-0 text-sm rounded-lg px-3 py-1">Day</button>
189
+ <button class="bg-primary-500 text-white text-sm rounded-lg px-3 py-1">Week</button>
190
+ <button class="bg-gray-100 border-0 text-sm rounded-lg px-3 py-1">Month</button>
191
+ </div>
192
+ </div>
193
+ <div class="h-64">
194
+ <canvas id="distributionChart"></canvas>
195
+ </div>
196
+ </div>
197
+ </div>
198
+
199
+ <!-- Recent Tasks Table -->
200
+ <div class="bg-white rounded-xl shadow-sm overflow-hidden">
201
+ <div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
202
+ <h3 class="font-semibold text-gray-800">Recent Tasks</h3>
203
+ <div class="flex items-center space-x-2">
204
+ <button class="p-2 rounded-lg hover:bg-gray-100">
205
+ <i data-feather="refresh-cw" class="w-4 h-4 text-gray-500"></i>
206
+ </button>
207
+ <button class="p-2 rounded-lg hover:bg-gray-100">
208
+ <i data-feather="download" class="w-4 h-4 text-gray-500"></i>
209
+ </button>
210
+ </div>
211
+ </div>
212
+ <div class="overflow-x-auto">
213
+ <table class="w-full data-table">
214
+ <thead>
215
+ <tr class="text-left text-gray-500 text-sm border-b border-gray-100">
216
+ <th class="px-6 py-3 font-medium">Task ID</th>
217
+ <th class="px-6 py-3 font-medium">Status</th>
218
+ <th class="px-6 py-3 font-medium">Duration</th>
219
+ <th class="px-6 py-3 font-medium">Created</th>
220
+ <th class="px-6 py-3 font-medium">Completed</th>
221
+ </tr>
222
+ </thead>
223
+ <tbody class="divide-y divide-gray-100">
224
+ <tr class="hover:bg-gray-50 transition">
225
+ <td class="px-6 py-4 text-sm font-medium text-gray-900 truncate max-w-xs">b7eec7a7-9285-4510-a8f0-abfdce5a8241</td>
226
+ <td class="px-6 py-4">
227
+ <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">completed</span>
228
+ </td>
229
+ <td class="px-6 py-4 text-sm text-gray-500">0s</td>
230
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-28 15:15:29</td>
231
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-28 15:15:29</td>
232
+ </tr>
233
+ <tr class="hover:bg-gray-50 transition">
234
+ <td class="px-6 py-4 text-sm font-medium text-gray-900 truncate max-w-xs">0809cae3-6b01-4d81-8664-fa627d4d970e</td>
235
+ <td class="px-6 py-4">
236
+ <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">completed</span>
237
+ </td>
238
+ <td class="px-6 py-4 text-sm text-gray-500">1s</td>
239
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-28 15:15:28</td>
240
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-28 15:15:29</td>
241
+ </tr>
242
+ <tr class="hover:bg-gray-50 transition">
243
+ <td class="px-6 py-4 text-sm font-medium text-gray-900 truncate max-w-xs">c179e1b7-537d-4e20-8ab2-221a7b746e4a</td>
244
+ <td class="px-6 py-4">
245
+ <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">completed</span>
246
+ </td>
247
+ <td class="px-6 py-4 text-sm text-gray-500">0s</td>
248
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-28 15:15:28</td>
249
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-28 15:15:28</td>
250
+ </tr>
251
+ <tr class="hover:bg-gray-50 transition">
252
+ <td class="px-6 py-4 text-sm font-medium text-gray-900 truncate max-w-xs">06dcc918-e0f8-420a-aa20-a2352f34265d</td>
253
+ <td class="px-6 py-4">
254
+ <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">completed</span>
255
+ </td>
256
+ <td class="px-6 py-4 text-sm text-gray-500">1s</td>
257
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-25 08:35:36</td>
258
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-25 08:35:37</td>
259
+ </tr>
260
+ <tr class="hover:bg-gray-50 transition">
261
+ <td class="px-6 py-4 text-sm font-medium text-gray-900 truncate max-w-xs">473b47b9-28cf-408a-ad38-7738d5172897</td>
262
+ <td class="px-6 py-4">
263
+ <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">completed</span>
264
+ </td>
265
+ <td class="px-6 py-4 text-sm text-gray-500">0s</td>
266
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-25 08:21:29</td>
267
+ <td class="px-6 py-4 text-sm text-gray-500">2025-09-25 08:21:29</td>
268
+ </tr>
269
+ </tbody>
270
+ </table>
271
+ </div>
272
+ <div class="px-6 py-4 border-t border-gray-100 flex justify-between items-center">
273
+ <div class="text-sm text-gray-500">
274
+ Showing <span class="font-medium">1</span> to <span class="font-medium">5</span> of <span class="font-medium">10</span> results
275
+ </div>
276
+ <div class="flex space-x-2">
277
+ <button class="px-3 py-1 border border-gray-200 rounded-md text-sm disabled:text-gray-400 disabled:cursor-not-allowed" disabled>
278
+ Previous
279
+ </button>
280
+ <button class="px-3 py-1 bg-primary-500 text-white rounded-md text-sm">
281
+ Next
282
+ </button>
283
+ </div>
284
+ </div>
285
+ </div>
286
+ </div>
287
+ </div>
288
+
289
+ <script>
290
+ feather.replace();
291
+
292
+ // Completion Trend Chart
293
+ const completionCtx = document.getElementById('completionChart').getContext('2d');
294
+ const completionChart = new Chart(completionCtx, {
295
+ type: 'line',
296
+ data: {
297
+ labels: ['Sep 22', 'Sep 23', 'Sep 24', 'Sep 25', 'Sep 26', 'Sep 27', 'Sep 28'],
298
+ datasets: [{
299
+ label: 'Tasks Completed',
300
+ data: [3, 0, 0, 3, 0, 0, 3],
301
+ backgroundColor: 'rgba(99, 102, 241, 0.1)',
302
+ borderColor: '#6366f1',
303
+ borderWidth: 2,
304
+ tension: 0.4,
305
+ fill: true
306
+ }]
307
+ },
308
+ options: {
309
+ responsive: true,
310
+ maintainAspectRatio: false,
311
+ plugins: {
312
+ legend: {
313
+ display: false
314
+ }
315
+ },
316
+ scales: {
317
+ y: {
318
+ beginAtZero: true,
319
+ grid: {
320
+ drawBorder: false
321
+ },
322
+ ticks: {
323
+ stepSize: 1
324
+ }
325
+ },
326
+ x: {
327
+ grid: {
328
+ display: false
329
+ }
330
+ }
331
+ }
332
+ }
333
+ });
334
+
335
+ // Task Distribution Chart
336
+ const distributionCtx = document.getElementById('distributionChart').getContext('2d');
337
+ const distributionChart = new Chart(distributionCtx, {
338
+ type: 'bar',
339
+ data: {
340
+ labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
341
+ datasets: [{
342
+ label: 'Tasks',
343
+ data: [0, 0, 3, 3, 0, 0, 3],
344
+ backgroundColor: '#6366f1',
345
+ borderRadius: 4
346
+ }]
347
+ },
348
+ options: {
349
+ responsive: true,
350
+ maintainAspectRatio: false,
351
+ plugins: {
352
+ legend: {
353
+ display: false
354
+ }
355
+ },
356
+ scales: {
357
+ y: {
358
+ beginAtZero: true,
359
+ grid: {
360
+ drawBorder: false
361
+ },
362
+ ticks: {
363
+ stepSize: 1
364
+ }
365
+ },
366
+ x: {
367
+ grid: {
368
+ display: false
369
+ }
370
+ }
371
+ }
372
+ }
373
+ });
374
+ </script>
375
+ </body>
376
  </html>