BachirMB commited on
Commit
192b0db
·
verified ·
1 Parent(s): 248605e

les butoon ne doit pas etre sur le tablea ,ils doivenn etre aligne avec le button enregitrer

Browse files
Files changed (2) hide show
  1. README.md +8 -4
  2. index.html +310 -18
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Undefined
3
- emoji: 🌖
4
- colorFrom: gray
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: undefined
3
+ colorFrom: green
 
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).
14
+
index.html CHANGED
@@ -1,19 +1,311 @@
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="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>BankForm Pro 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>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ bank: {
17
+ 100: '#e0e7ff',
18
+ 200: '#c7d2fe',
19
+ 300: '#a5b4fc',
20
+ 400: '#818cf8',
21
+ 500: '#6366f1',
22
+ 600: '#4f46e5',
23
+ 700: '#4338ca',
24
+ 800: '#3730a3',
25
+ 900: '#312e81',
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+ </script>
32
+ <style>
33
+ .custom-scrollbar::-webkit-scrollbar {
34
+ width: 6px;
35
+ height: 6px;
36
+ }
37
+ .custom-scrollbar::-webkit-scrollbar-track {
38
+ background: #f1f1f1;
39
+ border-radius: 10px;
40
+ }
41
+ .custom-scrollbar::-webkit-scrollbar-thumb {
42
+ background: #c7d2fe;
43
+ border-radius: 10px;
44
+ }
45
+ .custom-scrollbar::-webkit-scrollbar-thumb:hover {
46
+ background: #a5b4fc;
47
+ }
48
+ </style>
49
+ </head>
50
+ <body class="bg-gray-50 font-sans">
51
+ <div class="flex h-screen overflow-hidden">
52
+ <!-- Sidebar -->
53
+ <div class="hidden md:flex md:flex-shrink-0">
54
+ <div class="flex flex-col w-64 bg-bank-800">
55
+ <div class="flex items-center justify-center h-16 px-4 bg-bank-900">
56
+ <div class="flex items-center">
57
+ <i data-feather="credit-card" class="w-8 h-8 text-white"></i>
58
+ <span class="ml-2 text-xl font-semibold text-white">BankForm Pro</span>
59
+ </div>
60
+ </div>
61
+ <div class="flex flex-col flex-grow px-4 py-4 overflow-y-auto">
62
+ <nav class="flex-1 space-y-2">
63
+ <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md bg-bank-700 group">
64
+ <i data-feather="home" class="w-5 h-5 mr-3"></i>
65
+ Dashboard
66
+ </a>
67
+ <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md hover:bg-bank-700 group">
68
+ <i data-feather="users" class="w-5 h-5 mr-3"></i>
69
+ Clients
70
+ </a>
71
+ <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md hover:bg-bank-700 group">
72
+ <i data-feather="file-text" class="w-5 h-5 mr-3"></i>
73
+ Comptes
74
+ </a>
75
+ <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md hover:bg-bank-700 group">
76
+ <i data-feather="bar-chart-2" class="w-5 h-5 mr-3"></i>
77
+ Rapports
78
+ </a>
79
+ <a href="#" class="flex items-center px-4 py-2 text-sm font-medium text-white rounded-md hover:bg-bank-700 group">
80
+ <i data-feather="settings" class="w-5 h-5 mr-3"></i>
81
+ Paramètres
82
+ </a>
83
+ </nav>
84
+ </div>
85
+ <div class="p-4 bg-bank-900">
86
+ <div class="flex items-center">
87
+ <img class="w-10 h-10 rounded-full" src="http://static.photos/finance/200x200/123" alt="Profile">
88
+ <div class="ml-3">
89
+ <p class="text-sm font-medium text-white">Admin User</p>
90
+ <p class="text-xs font-medium text-bank-200">admin@bankformpro.com</p>
91
+ </div>
92
+ </div>
93
+ </div>
94
+ </div>
95
+ </div>
96
+
97
+ <!-- Main Content -->
98
+ <div class="flex flex-col flex-1 overflow-hidden">
99
+ <!-- Top Navigation -->
100
+ <div class="flex items-center justify-between h-16 px-4 bg-white border-b border-gray-200">
101
+ <div class="flex items-center">
102
+ <button class="md:hidden text-gray-500 focus:outline-none">
103
+ <i data-feather="menu" class="w-6 h-6"></i>
104
+ </button>
105
+ <div class="relative ml-4">
106
+ <input type="text" placeholder="Rechercher..." class="pl-10 pr-4 py-2 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500">
107
+ <i data-feather="search" class="absolute left-3 top-2.5 w-4 h-4 text-gray-400"></i>
108
+ </div>
109
+ </div>
110
+ <div class="flex items-center space-x-4">
111
+ <button class="p-1 text-gray-500 rounded-full hover:bg-gray-100">
112
+ <i data-feather="bell" class="w-5 h-5"></i>
113
+ </button>
114
+ <button class="p-1 text-gray-500 rounded-full hover:bg-gray-100">
115
+ <i data-feather="mail" class="w-5 h-5"></i>
116
+ </button>
117
+ <div class="flex items-center">
118
+ <span class="ml-2 text-sm font-medium text-gray-700 md:hidden">Admin</span>
119
+ </div>
120
+ </div>
121
+ </div>
122
+
123
+ <!-- Main Content Area -->
124
+ <div class="flex-1 overflow-auto p-4 bg-gray-50">
125
+ <div class="mb-6">
126
+ <h2 class="text-2xl font-bold text-gray-800">Gestion des Clients</h2>
127
+ <p class="text-gray-600">Ajouter, modifier ou supprimer des clients</p>
128
+ </div>
129
+ <!-- Client Form -->
130
+ <div class="bg-white rounded-lg shadow-md p-6 mb-6">
131
+ <div class="flex justify-between items-center mb-4">
132
+ <h3 class="text-lg font-semibold text-gray-800">Formulaire Client</h3>
133
+ <div class="flex space-x-3">
134
+ <button type="reset" class="px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded-md hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2">
135
+ Annuler
136
+ </button>
137
+ <button type="submit" class="px-4 py-2 text-sm font-medium text-white bg-bank-600 rounded-md hover:bg-bank-700 focus:outline-none focus:ring-2 focus:ring-bank-500 focus:ring-offset-2">
138
+ Enregistrer
139
+ </button>
140
+ </div>
141
+ </div>
142
+ <form class="grid grid-cols-1 md:grid-cols-2 gap-6">
143
+ <div>
144
+ <label for="nom" class="block text-sm font-medium text-gray-700 mb-1">Nom</label>
145
+ <input type="text" id="nom" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500">
146
+ </div>
147
+ <div>
148
+ <label for="prenom" class="block text-sm font-medium text-gray-700 mb-1">Prénom</label>
149
+ <input type="text" id="prenom" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500">
150
+ </div>
151
+ <div>
152
+ <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
153
+ <input type="email" id="email" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500">
154
+ </div>
155
+ <div>
156
+ <label for="telephone" class="block text-sm font-medium text-gray-700 mb-1">Téléphone</label>
157
+ <input type="tel" id="telephone" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500">
158
+ </div>
159
+ <div>
160
+ <label for="adresse" class="block text-sm font-medium text-gray-700 mb-1">Adresse</label>
161
+ <input type="text" id="adresse" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500">
162
+ </div>
163
+ <div>
164
+ <label for="date_inscription" class="block text-sm font-medium text-gray-700 mb-1">Date d'Inscription</label>
165
+ <input type="date" id="date_inscription" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500">
166
+ </div>
167
+ <div>
168
+ <label class="block text-sm font-medium text-gray-700 mb-1">Statut</label>
169
+ <div class="flex items-center space-x-4">
170
+ <label class="inline-flex items-center">
171
+ <input type="radio" name="statut" value="actif" checked class="h-4 w-4 text-bank-600 focus:ring-bank-500 border-gray-300">
172
+ <span class="ml-2 text-sm text-gray-700">Actif</span>
173
+ </label>
174
+ <label class="inline-flex items-center">
175
+ <input type="radio" name="statut" value="inactif" class="h-4 w-4 text-bank-600 focus:ring-bank-500 border-gray-300">
176
+ <span class="ml-2 text-sm text-gray-700">Inactif</span>
177
+ </label>
178
+ </div>
179
+ </div>
180
+ </form>
181
+ </div>
182
+
183
+ <!-- Client Table -->
184
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
185
+ <div class="flex items-center justify-between p-4 border-b border-gray-200">
186
+ <h3 class="text-lg font-semibold text-gray-800">Liste des Clients</h3>
187
+ <div class="relative">
188
+ <input type="text" placeholder="Rechercher un client..." class="pl-10 pr-4 py-2 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-bank-500 focus:border-bank-500">
189
+ <i data-feather="search" class="absolute left-3 top-2.5 w-4 h-4 text-gray-400"></i>
190
+ </div>
191
+ </div>
192
+ <div class="overflow-x-auto">
193
+ <table class="min-w-full divide-y divide-gray-200">
194
+ <thead class="bg-gray-50">
195
+ <tr>
196
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nom</th>
197
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Prénom</th>
198
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Email</th>
199
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Téléphone</th>
200
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date Inscription</th>
201
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th>
202
+ <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
203
+ </tr>
204
+ </thead>
205
+ <tbody class="bg-white divide-y divide-gray-200">
206
+ <tr>
207
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Dupont</td>
208
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jean</td>
209
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">jean.dupont@example.com</td>
210
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">0612345678</td>
211
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15/01/2023</td>
212
+ <td class="px-6 py-4 whitespace-nowrap">
213
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Actif</span>
214
+ </td>
215
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
216
+ <div class="flex justify-end space-x-2">
217
+ <button class="px-3 py-1 text-sm font-medium text-bank-600 bg-bank-100 rounded-md hover:bg-bank-200">
218
+ Modifier
219
+ </button>
220
+ <button class="px-3 py-1 text-sm font-medium text-white bg-red-600 rounded-md hover:bg-red-700">
221
+ Supprimer
222
+ </button>
223
+ </div>
224
+ </td>
225
+ </tr>
226
+ <tr>
227
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Martin</td>
228
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sophie</td>
229
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">sophie.martin@example.com</td>
230
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">0698765432</td>
231
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">22/02/2023</td>
232
+ <td class="px-6 py-4 whitespace-nowrap">
233
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Actif</span>
234
+ </td>
235
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium space-x-2">
236
+ <button class="text-bank-600 hover:text-bank-900">
237
+ <i data-feather="edit" class="w-4 h-4"></i>
238
+ </button>
239
+ <button class="text-red-600 hover:text-red-900">
240
+ <i data-feather="trash-2" class="w-4 h-4"></i>
241
+ </button>
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Bernard</td>
246
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Luc</td>
247
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">luc.bernard@example.com</td>
248
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">0611223344</td>
249
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">05/03/2023</td>
250
+ <td class="px-6 py-4 whitespace-nowrap">
251
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Inactif</span>
252
+ </td>
253
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium space-x-2">
254
+ <button class="text-bank-600 hover:text-bank-900">
255
+ <i data-feather="edit" class="w-4 h-4"></i>
256
+ </button>
257
+ <button class="text-red-600 hover:text-red-900">
258
+ <i data-feather="trash-2" class="w-4 h-4"></i>
259
+ </button>
260
+ </td>
261
+ </tr>
262
+ </tbody>
263
+ </table>
264
+ </div>
265
+ <div class="bg-gray-50 px-4 py-3 flex items-center justify-between border-t border-gray-200">
266
+ <div class="flex-1 flex justify-between sm:hidden">
267
+ <button 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">
268
+ Précédent
269
+ </button>
270
+ <button 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">
271
+ Suivant
272
+ </button>
273
+ </div>
274
+ <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
275
+ <div>
276
+ <p class="text-sm text-gray-700">
277
+ Affichage de <span class="font-medium">1</span> à <span class="font-medium">3</span> sur <span class="font-medium">3</span> clients
278
+ </p>
279
+ </div>
280
+ <div>
281
+ <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
282
+ <button 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">
283
+ <span class="sr-only">Previous</span>
284
+ <i data-feather="chevron-left" class="h-5 w-5"></i>
285
+ </button>
286
+ <button aria-current="page" class="z-10 bg-bank-50 border-bank-500 text-bank-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
287
+ 1
288
+ </button>
289
+ <button 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">
290
+ 2
291
+ </button>
292
+ <button 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">
293
+ 3
294
+ </button>
295
+ <button 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">
296
+ <span class="sr-only">Next</span>
297
+ <i data-feather="chevron-right" class="h-5 w-5"></i>
298
+ </button>
299
+ </nav>
300
+ </div>
301
+ </div>
302
+ </div>
303
+ </div>
304
+ </div>
305
+ </div>
306
+ </div>
307
+ <script>
308
+ feather.replace();
309
+ </script>
310
+ </body>
311
  </html>