zfali commited on
Commit
158ef79
·
verified ·
1 Parent(s): 913bf06

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +358 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: First Try
3
- emoji: 😻
4
- colorFrom: blue
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: first-try
3
+ emoji: 🐳
4
+ colorFrom: yellow
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,358 @@
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>FloorMaster Pro - Flooring & Carpet Management</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>
10
+ tailwind.config = {
11
+ theme: {
12
+ extend: {
13
+ colors: {
14
+ primary: '#3a5a78',
15
+ secondary: '#f59e0b',
16
+ accent: '#10b981',
17
+ dark: '#1f2937',
18
+ light: '#f9fafb'
19
+ }
20
+ }
21
+ }
22
+ }
23
+ </script>
24
+ <style>
25
+ .sidebar {
26
+ transition: all 0.3s ease;
27
+ }
28
+ .dashboard-card:hover {
29
+ transform: translateY(-5px);
30
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
31
+ }
32
+ .chart-container {
33
+ height: 300px;
34
+ }
35
+ @media (max-width: 768px) {
36
+ .sidebar {
37
+ position: fixed;
38
+ left: -100%;
39
+ top: 0;
40
+ z-index: 50;
41
+ height: 100vh;
42
+ }
43
+ .sidebar.active {
44
+ left: 0;
45
+ }
46
+ .overlay {
47
+ display: none;
48
+ position: fixed;
49
+ top: 0;
50
+ left: 0;
51
+ right: 0;
52
+ bottom: 0;
53
+ background-color: rgba(0,0,0,0.5);
54
+ z-index: 40;
55
+ }
56
+ .overlay.active {
57
+ display: block;
58
+ }
59
+ }
60
+ </style>
61
+ </head>
62
+ <body class="bg-gray-100 font-sans">
63
+ <div class="flex h-screen overflow-hidden">
64
+ <!-- Mobile menu button -->
65
+ <button id="mobileMenuButton" class="md:hidden fixed top-4 left-4 z-50 bg-primary text-white p-2 rounded-lg">
66
+ <i class="fas fa-bars text-xl"></i>
67
+ </button>
68
+
69
+ <!-- Overlay for mobile menu -->
70
+ <div id="overlay" class="overlay"></div>
71
+
72
+ <!-- Sidebar -->
73
+ <div id="sidebar" class="sidebar bg-primary text-white w-64 flex-shrink-0">
74
+ <div class="p-4 flex items-center justify-between border-b border-primary-light">
75
+ <div class="flex items-center space-x-2">
76
+ <i class="fas fa-home text-2xl text-secondary"></i>
77
+ <span class="text-xl font-bold">FloorMaster Pro</span>
78
+ </div>
79
+ <button id="closeSidebar" class="md:hidden text-white">
80
+ <i class="fas fa-times"></i>
81
+ </button>
82
+ </div>
83
+ <div class="p-4">
84
+ <div class="flex items-center space-x-3 mb-6">
85
+ <div class="w-12 h-12 rounded-full bg-primary-light flex items-center justify-center">
86
+ <i class="fas fa-user text-xl"></i>
87
+ </div>
88
+ <div>
89
+ <p class="font-medium">Admin User</p>
90
+ <p class="text-xs text-primary-light">Administrator</p>
91
+ </div>
92
+ </div>
93
+ <nav>
94
+ <ul class="space-y-2">
95
+ <li>
96
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg bg-primary-dark text-white">
97
+ <i class="fas fa-tachometer-alt"></i>
98
+ <span>Dashboard</span>
99
+ </a>
100
+ </li>
101
+ <li>
102
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
103
+ <i class="fas fa-boxes"></i>
104
+ <span>Inventory</span>
105
+ </a>
106
+ </li>
107
+ <li>
108
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
109
+ <i class="fas fa-users"></i>
110
+ <span>Customers</span>
111
+ </a>
112
+ </li>
113
+ <li>
114
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
115
+ <i class="fas fa-file-invoice-dollar"></i>
116
+ <span>Orders</span>
117
+ </a>
118
+ </li>
119
+ <li>
120
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
121
+ <i class="fas fa-project-diagram"></i>
122
+ <span>Projects</span>
123
+ </a>
124
+ </li>
125
+ <li>
126
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
127
+ <i class="fas fa-tools"></i>
128
+ <span>Fitters</span>
129
+ </a>
130
+ </li>
131
+ <li>
132
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
133
+ <i class="fas fa-truck"></i>
134
+ <span>Suppliers</span>
135
+ </a>
136
+ </li>
137
+ <li>
138
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
139
+ <i class="fas fa-chart-line"></i>
140
+ <span>Financial</span>
141
+ </a>
142
+ </li>
143
+ <li>
144
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
145
+ <i class="fas fa-cog"></i>
146
+ <span>Settings</span>
147
+ </a>
148
+ </li>
149
+ </ul>
150
+ </nav>
151
+ </div>
152
+ <div class="absolute bottom-0 w-full p-4 border-t border-primary-light">
153
+ <div class="flex items-center space-x-3 p-3 rounded-lg hover:bg-primary-dark text-white">
154
+ <i class="fas fa-sign-out-alt"></i>
155
+ <span>Logout</span>
156
+ </div>
157
+ </div>
158
+ </div>
159
+
160
+ <!-- Main content -->
161
+ <div class="flex-1 overflow-auto">
162
+ <header class="bg-white shadow-sm">
163
+ <div class="px-6 py-4 flex items-center justify-between">
164
+ <h1 class="text-2xl font-bold text-dark">Dashboard Overview</h1>
165
+ <div class="flex items-center space-x-4">
166
+ <div class="relative">
167
+ <i class="fas fa-bell text-gray-500 text-xl"></i>
168
+ <span class="absolute -top-1 -right-1 bg-secondary text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span>
169
+ </div>
170
+ <div class="relative">
171
+ <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-accent">
172
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </header>
177
+
178
+ <main class="p-6">
179
+ <!-- Stats Cards -->
180
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
181
+ <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300">
182
+ <div class="flex items-center justify-between">
183
+ <div>
184
+ <p class="text-gray-500">Total Inventory</p>
185
+ <h3 class="text-2xl font-bold text-dark">1,248</h3>
186
+ <p class="text-sm text-accent flex items-center">
187
+ <i class="fas fa-arrow-up mr-1"></i> 12% from last week
188
+ </p>
189
+ </div>
190
+ <div class="bg-accent bg-opacity-10 p-3 rounded-full">
191
+ <i class="fas fa-boxes text-accent text-xl"></i>
192
+ </div>
193
+ </div>
194
+ </div>
195
+ <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300">
196
+ <div class="flex items-center justify-between">
197
+ <div>
198
+ <p class="text-gray-500">Active Projects</p>
199
+ <h3 class="text-2xl font-bold text-dark">24</h3>
200
+ <p class="text-sm text-secondary flex items-center">
201
+ <i class="fas fa-arrow-up mr-1"></i> 3 new today
202
+ </p>
203
+ </div>
204
+ <div class="bg-secondary bg-opacity-10 p-3 rounded-full">
205
+ <i class="fas fa-project-diagram text-secondary text-xl"></i>
206
+ </div>
207
+ </div>
208
+ </div>
209
+ <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300">
210
+ <div class="flex items-center justify-between">
211
+ <div>
212
+ <p class="text-gray-500">Pending Orders</p>
213
+ <h3 class="text-2xl font-bold text-dark">18</h3>
214
+ <p class="text-sm text-red-500 flex items-center">
215
+ <i class="fas fa-arrow-down mr-1"></i> 2 overdue
216
+ </p>
217
+ </div>
218
+ <div class="bg-red-500 bg-opacity-10 p-3 rounded-full">
219
+ <i class="fas fa-file-invoice-dollar text-red-500 text-xl"></i>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300">
224
+ <div class="flex items-center justify-between">
225
+ <div>
226
+ <p class="text-gray-500">Monthly Revenue</p>
227
+ <h3 class="text-2xl font-bold text-dark">$42,580</h3>
228
+ <p class="text-sm text-green-500 flex items-center">
229
+ <i class="fas fa-arrow-up mr-1"></i> 8% from last month
230
+ </p>
231
+ </div>
232
+ <div class="bg-green-500 bg-opacity-10 p-3 rounded-full">
233
+ <i class="fas fa-dollar-sign text-green-500 text-xl"></i>
234
+ </div>
235
+ </div>
236
+ </div>
237
+ </div>
238
+
239
+ <!-- Charts and Recent Activity -->
240
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
241
+ <!-- Financial Chart -->
242
+ <div class="lg:col-span-2 bg-white rounded-xl shadow-md p-6">
243
+ <div class="flex items-center justify-between mb-4">
244
+ <h2 class="text-lg font-semibold text-dark">Financial Overview</h2>
245
+ <select class="border rounded-lg px-3 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-accent">
246
+ <option>Last 7 Days</option>
247
+ <option>Last 30 Days</option>
248
+ <option selected>Last 90 Days</option>
249
+ <option>This Year</option>
250
+ </select>
251
+ </div>
252
+ <div class="chart-container">
253
+ <canvas id="financialChart"></canvas>
254
+ </div>
255
+ </div>
256
+
257
+ <!-- Recent Activity -->
258
+ <div class="bg-white rounded-xl shadow-md p-6">
259
+ <h2 class="text-lg font-semibold text-dark mb-4">Recent Activity</h2>
260
+ <div class="space-y-4">
261
+ <div class="flex items-start space-x-3">
262
+ <div class="bg-accent bg-opacity-10 p-2 rounded-full">
263
+ <i class="fas fa-project-diagram text-accent"></i>
264
+ </div>
265
+ <div>
266
+ <p class="text-sm font-medium">New project created</p>
267
+ <p class="text-xs text-gray-500">Commercial flooring for TechCorp</p>
268
+ <p class="text-xs text-gray-400">2 hours ago</p>
269
+ </div>
270
+ </div>
271
+ <div class="flex items-start space-x-3">
272
+ <div class="bg-blue-500 bg-opacity-10 p-2 rounded-full">
273
+ <i class="fas fa-truck text-blue-500"></i>
274
+ </div>
275
+ <div>
276
+ <p class="text-sm font-medium">Inventory received</p>
277
+ <p class="text-xs text-gray-500">500 sqm of hardwood flooring</p>
278
+ <p class="text-xs text-gray-400">5 hours ago</p>
279
+ </div>
280
+ </div>
281
+ <div class="flex items-start space-x-3">
282
+ <div class="bg-secondary bg-opacity-10 p-2 rounded-full">
283
+ <i class="fas fa-file-invoice-dollar text-secondary"></i>
284
+ </div>
285
+ <div>
286
+ <p class="text-sm font-medium">Order completed</p>
287
+ <p class="text-xs text-gray-500">Order #4582 for $3,250</p>
288
+ <p class="text-xs text-gray-400">Yesterday</p>
289
+ </div>
290
+ </div>
291
+ <div class="flex items-start space-x-3">
292
+ <div class="bg-green-500 bg-opacity-10 p-2 rounded-full">
293
+ <i class="fas fa-users text-green-500"></i>
294
+ </div>
295
+ <div>
296
+ <p class="text-sm font-medium">New customer added</p>
297
+ <p class="text-xs text-gray-500">Smith Residence - Residential project</p>
298
+ <p class="text-xs text-gray-400">Yesterday</p>
299
+ </div>
300
+ </div>
301
+ <div class="flex items-start space-x-3">
302
+ <div class="bg-red-500 bg-opacity-10 p-2 rounded-full">
303
+ <i class="fas fa-exclamation-triangle text-red-500"></i>
304
+ </div>
305
+ <div>
306
+ <p class="text-sm font-medium">Project delayed</p>
307
+ <p class="text-xs text-gray-500">Johnson Office - Carpet installation</p>
308
+ <p class="text-xs text-gray-400">2 days ago</p>
309
+ </div>
310
+ </div>
311
+ </div>
312
+ </div>
313
+ </div>
314
+
315
+ <!-- Inventory Status and Project Timeline -->
316
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
317
+ <!-- Inventory Status -->
318
+ <div class="bg-white rounded-xl shadow-md p-6">
319
+ <h2 class="text-lg font-semibold text-dark mb-4">Inventory Status</h2>
320
+ <div class="overflow-x-auto">
321
+ <table class="min-w-full divide-y divide-gray-200">
322
+ <thead class="bg-gray-50">
323
+ <tr>
324
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Product</th>
325
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
326
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Stock</th>
327
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
328
+ </tr>
329
+ </thead>
330
+ <tbody class="bg-white divide-y divide-gray-200">
331
+ <tr>
332
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-dark">Oak Hardwood</td>
333
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Hardwood</td>
334
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">320 sqm</td>
335
+ <td class="px-6 py-4 whitespace-nowrap">
336
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">In Stock</span>
337
+ </td>
338
+ </tr>
339
+ <tr>
340
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-dark">Berber Carpet</td>
341
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Carpet</td>
342
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">85 sqm</td>
343
+ <td class="px-6 py-4 whitespace-nowrap">
344
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Low Stock</span>
345
+ </td>
346
+ </tr>
347
+ <tr>
348
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-dark">Vinyl Plank</td>
349
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Luxury Vinyl</td>
350
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">420 sqm</td>
351
+ <td class="px-6 py-4 whitespace-nowrap">
352
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">In Stock</span>
353
+ </td>
354
+ </tr>
355
+ <tr>
356
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-dark">Laminate Flooring</td>
357
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Lam
358
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ create a flooring and carpet management app and website which is accessable from both desktop and mobile, it should be used for management of inventory, customers, orders , projects, fitters, suppliers, financial , it should update daily statuses of all these things and should do financial analysis