bleblond commited on
Commit
86ef380
·
verified ·
1 Parent(s): 8a3ea9d

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +618 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Bap
3
- emoji: 🌖
4
- colorFrom: gray
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: bap
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: blue
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,618 @@
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>Migration Drupal 7 vers Drupal 11</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, #4f46e5 0%, #8b5cf6 100%);
12
+ }
13
+ .card-hover {
14
+ transition: all 0.3s ease;
15
+ }
16
+ .card-hover:hover {
17
+ transform: translateY(-5px);
18
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
19
+ }
20
+ .progress-bar {
21
+ height: 10px;
22
+ border-radius: 5px;
23
+ background-color: #e2e8f0;
24
+ }
25
+ .progress-fill {
26
+ height: 100%;
27
+ border-radius: 5px;
28
+ background: linear-gradient(90deg, #10b981, #34d399);
29
+ transition: width 0.5s ease;
30
+ }
31
+ .step-indicator {
32
+ width: 40px;
33
+ height: 40px;
34
+ border-radius: 50%;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ font-weight: bold;
39
+ position: relative;
40
+ }
41
+ .step-indicator:not(:first-child)::before {
42
+ content: '';
43
+ position: absolute;
44
+ width: 40px;
45
+ height: 2px;
46
+ background-color: #e2e8f0;
47
+ left: -40px;
48
+ top: 50%;
49
+ transform: translateY(-50%);
50
+ }
51
+ .step-active {
52
+ background-color: #4f46e5;
53
+ color: white;
54
+ }
55
+ .step-completed {
56
+ background-color: #10b981;
57
+ color: white;
58
+ }
59
+ .step-pending {
60
+ background-color: #e2e8f0;
61
+ color: #64748b;
62
+ }
63
+ .log-entry {
64
+ animation: fadeIn 0.3s ease;
65
+ }
66
+ @keyframes fadeIn {
67
+ from { opacity: 0; transform: translateY(5px); }
68
+ to { opacity: 1; transform: translateY(0); }
69
+ }
70
+ .module-status-badge {
71
+ transition: all 0.2s ease;
72
+ }
73
+ .module-status-badge:hover {
74
+ transform: scale(1.05);
75
+ }
76
+ </style>
77
+ </head>
78
+ <body class="bg-gray-50 font-sans">
79
+ <!-- Header -->
80
+ <header class="gradient-bg text-white shadow-lg">
81
+ <div class="container mx-auto px-6 py-12">
82
+ <div class="flex flex-col md:flex-row justify-between items-center">
83
+ <div class="mb-8 md:mb-0">
84
+ <h1 class="text-4xl font-bold mb-2">Migration Drupal</h1>
85
+ <p class="text-xl opacity-90">De Drupal 7 vers Drupal 11 en toute sécurité</p>
86
+ </div>
87
+ <div class="bg-white rounded-lg p-6 shadow-lg transform hover:scale-105 transition">
88
+ <div class="flex items-center">
89
+ <div class="mr-4 text-center">
90
+ <div class="text-sm text-gray-500">Version source</div>
91
+ <div class="text-2xl font-bold text-gray-800 flex items-center">
92
+ <i class="fas fa-database mr-2 text-purple-500"></i> D7
93
+ </div>
94
+ </div>
95
+ <div class="text-3xl text-purple-500 mx-4 animate-pulse">
96
+ <i class="fas fa-arrow-right"></i>
97
+ </div>
98
+ <div class="text-center">
99
+ <div class="text-sm text-gray-500">Version cible</div>
100
+ <div class="text-2xl font-bold text-gray-800 flex items-center">
101
+ <i class="fas fa-cloud mr-2 text-green-500"></i> D11
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </header>
109
+
110
+ <!-- Main Content -->
111
+ <main class="container mx-auto px-6 py-8">
112
+ <!-- Progress Bar -->
113
+ <div class="max-w-4xl mx-auto mb-12">
114
+ <div class="flex justify-between relative mb-8">
115
+ <div class="step-indicator step-completed">
116
+ <i class="fas fa-check"></i>
117
+ <div class="absolute -bottom-8 left-1/2 transform -translate-x-1/2 text-sm font-medium text-gray-700">Analyse</div>
118
+ </div>
119
+ <div class="step-indicator step-completed">
120
+ <i class="fas fa-check"></i>
121
+ <div class="absolute -bottom-8 left-1/2 transform -translate-x-1/2 text-sm font-medium text-gray-700">Préparation</div>
122
+ </div>
123
+ <div class="step-indicator step-active">
124
+ 3
125
+ <div class="absolute -bottom-8 left-1/2 transform -translate-x-1/2 text-sm font-bold text-purple-600">Migration</div>
126
+ </div>
127
+ <div class="step-indicator step-pending">
128
+ 4
129
+ <div class="absolute -bottom-8 left-1/2 transform -translate-x-1/2 text-sm font-medium text-gray-500">Vérification</div>
130
+ </div>
131
+ <div class="step-indicator step-pending">
132
+ 5
133
+ <div class="absolute -bottom-8 left-1/2 transform -translate-x-1/2 text-sm font-medium text-gray-500">Finalisation</div>
134
+ </div>
135
+ </div>
136
+ <div class="progress-bar">
137
+ <div class="progress-fill" style="width: 45%"></div>
138
+ </div>
139
+ </div>
140
+
141
+ <!-- Migration Dashboard -->
142
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
143
+ <!-- Status Card -->
144
+ <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover border-l-4 border-blue-500">
145
+ <div class="p-6">
146
+ <div class="flex items-center mb-4">
147
+ <div class="bg-blue-100 p-3 rounded-full mr-4">
148
+ <i class="fas fa-server text-blue-600 text-xl"></i>
149
+ </div>
150
+ <h3 class="text-xl font-semibold text-gray-800">Environnement</h3>
151
+ </div>
152
+ <div class="space-y-3">
153
+ <div class="flex justify-between items-center">
154
+ <span class="text-gray-600 flex items-center">
155
+ <i class="fas fa-microchip mr-2 text-blue-400"></i> CPU
156
+ </span>
157
+ <div class="w-24 bg-gray-200 rounded-full h-2.5">
158
+ <div class="bg-blue-500 h-2.5 rounded-full" style="width: 32%"></div>
159
+ </div>
160
+ <span class="font-medium text-sm w-12 text-right">32%</span>
161
+ </div>
162
+ <div class="flex justify-between items-center">
163
+ <span class="text-gray-600 flex items-center">
164
+ <i class="fas fa-memory mr-2 text-purple-400"></i> Mémoire
165
+ </span>
166
+ <div class="w-24 bg-gray-200 rounded-full h-2.5">
167
+ <div class="bg-purple-500 h-2.5 rounded-full" style="width: 45%"></div>
168
+ </div>
169
+ <span class="font-medium text-sm w-12 text-right">45%</span>
170
+ </div>
171
+ <div class="flex justify-between items-center">
172
+ <span class="text-gray-600 flex items-center">
173
+ <i class="fas fa-hdd mr-2 text-green-400"></i> Stockage
174
+ </span>
175
+ <div class="w-24 bg-gray-200 rounded-full h-2.5">
176
+ <div class="bg-green-500 h-2.5 rounded-full" style="width: 24%"></div>
177
+ </div>
178
+ <span class="font-medium text-sm w-12 text-right">120GB</span>
179
+ </div>
180
+ </div>
181
+ </div>
182
+ </div>
183
+
184
+ <!-- Migration Progress -->
185
+ <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover border-l-4 border-green-500">
186
+ <div class="p-6">
187
+ <div class="flex items-center mb-4">
188
+ <div class="bg-green-100 p-3 rounded-full mr-4">
189
+ <i class="fas fa-sync-alt text-green-600 text-xl"></i>
190
+ </div>
191
+ <h3 class="text-xl font-semibold text-gray-800">Progression</h3>
192
+ </div>
193
+ <div class="mb-4">
194
+ <div class="flex justify-between text-sm text-gray-600 mb-1">
195
+ <span>Migration en cours</span>
196
+ <span>45% complété</span>
197
+ </div>
198
+ <div class="h-3 bg-gray-200 rounded-full overflow-hidden">
199
+ <div class="h-full bg-gradient-to-r from-green-400 to-blue-500" style="width: 45%"></div>
200
+ </div>
201
+ </div>
202
+ <div class="space-y-2">
203
+ <div class="flex justify-between text-sm">
204
+ <span class="text-gray-600 flex items-center">
205
+ <i class="fas fa-file-alt mr-2 text-blue-400"></i> Éléments
206
+ </span>
207
+ <span class="font-medium">1,245/2,780</span>
208
+ </div>
209
+ <div class="flex justify-between text-sm">
210
+ <span class="text-gray-600 flex items-center">
211
+ <i class="fas fa-clock mr-2 text-purple-400"></i> Temps restant
212
+ </span>
213
+ <span class="font-medium">~25 min</span>
214
+ </div>
215
+ <div class="flex justify-between text-sm">
216
+ <span class="text-gray-600 flex items-center">
217
+ <i class="fas fa-bolt mr-2 text-yellow-400"></i> Vitesse
218
+ </span>
219
+ <span class="font-medium">42 items/min</span>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ </div>
224
+
225
+ <!-- Migration Summary -->
226
+ <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover border-l-4 border-purple-500">
227
+ <div class="p-6">
228
+ <div class="flex items-center mb-4">
229
+ <div class="bg-purple-100 p-3 rounded-full mr-4">
230
+ <i class="fas fa-clipboard-list text-purple-600 text-xl"></i>
231
+ </div>
232
+ <div>
233
+ <h3 class="text-xl font-semibold text-gray-800">Résumé</h3>
234
+ <p class="text-sm text-gray-500">Statut global de la migration</p>
235
+ </div>
236
+ </div>
237
+ <div class="grid grid-cols-2 gap-3">
238
+ <div class="bg-green-50 p-3 rounded-lg">
239
+ <div class="text-green-800 font-medium flex items-center">
240
+ <i class="fas fa-check-circle mr-2"></i>
241
+ <span>28</span>
242
+ </div>
243
+ <div class="text-xs text-green-600">Modules OK</div>
244
+ </div>
245
+ <div class="bg-blue-50 p-3 rounded-lg">
246
+ <div class="text-blue-800 font-medium flex items-center">
247
+ <i class="fas fa-sync-alt mr-2"></i>
248
+ <span>3</span>
249
+ </div>
250
+ <div class="text-xs text-blue-600">En cours</div>
251
+ </div>
252
+ <div class="bg-yellow-50 p-3 rounded-lg">
253
+ <div class="text-yellow-800 font-medium flex items-center">
254
+ <i class="fas fa-exclamation-triangle mr-2"></i>
255
+ <span>1</span>
256
+ </div>
257
+ <div class="text-xs text-yellow-600">Avertissements</div>
258
+ </div>
259
+ <div class="bg-red-50 p-3 rounded-lg">
260
+ <div class="text-red-800 font-medium flex items-center">
261
+ <i class="fas fa-times-circle mr-2"></i>
262
+ <span>0</span>
263
+ </div>
264
+ <div class="text-xs text-red-600">Échecs</div>
265
+ </div>
266
+ </div>
267
+ </div>
268
+ </div>
269
+ </div>
270
+
271
+ <!-- Migration Details -->
272
+ <div class="bg-white rounded-xl shadow-md overflow-hidden mb-8">
273
+ <div class="border-b border-gray-200 px-6 py-4 flex justify-between items-center">
274
+ <h2 class="text-2xl font-semibold text-gray-800">Détails de la migration</h2>
275
+ <div class="flex space-x-2">
276
+ <button class="px-3 py-1 bg-gray-100 text-gray-700 rounded-lg text-sm hover:bg-gray-200 transition flex items-center">
277
+ <i class="fas fa-filter mr-1"></i> Filtrer
278
+ </button>
279
+ <button class="px-3 py-1 bg-gray-100 text-gray-700 rounded-lg text-sm hover:bg-gray-200 transition flex items-center">
280
+ <i class="fas fa-search mr-1"></i> Rechercher
281
+ </button>
282
+ </div>
283
+ </div>
284
+ <div class="divide-y divide-gray-200">
285
+ <!-- Content Types -->
286
+ <div class="p-6">
287
+ <div class="flex items-center justify-between mb-4">
288
+ <h3 class="text-lg font-medium text-gray-800 flex items-center">
289
+ <i class="fas fa-file-alt text-blue-500 mr-2"></i>
290
+ Types de contenu
291
+ </h3>
292
+ <span class="px-3 py-1 bg-green-100 text-green-800 text-sm rounded-full module-status-badge">
293
+ <i class="fas fa-check mr-1"></i> Complété
294
+ </span>
295
+ </div>
296
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
297
+ <div class="border border-gray-200 rounded-lg p-4 hover:border-blue-300 transition">
298
+ <div class="flex items-center mb-2">
299
+ <div class="w-3 h-3 bg-green-500 rounded-full mr-2"></div>
300
+ <span class="font-medium">Article</span>
301
+ </div>
302
+ <div class="text-sm text-gray-600 flex justify-between">
303
+ <span>1,245 éléments</span>
304
+ <span class="text-green-500 font-medium">100%</span>
305
+ </div>
306
+ </div>
307
+ <div class="border border-gray-200 rounded-lg p-4 hover:border-blue-300 transition">
308
+ <div class="flex items-center mb-2">
309
+ <div class="w-3 h-3 bg-green-500 rounded-full mr-2"></div>
310
+ <span class="font-medium">Page</span>
311
+ </div>
312
+ <div class="text-sm text-gray-600 flex justify-between">
313
+ <span>876 éléments</span>
314
+ <span class="text-green-500 font-medium">100%</span>
315
+ </div>
316
+ </div>
317
+ <div class="border border-gray-200 rounded-lg p-4 hover:border-blue-300 transition">
318
+ <div class="flex items-center mb-2">
319
+ <div class="w-3 h-3 bg-blue-500 rounded-full mr-2"></div>
320
+ <span class="font-medium">Événement</span>
321
+ </div>
322
+ <div class="text-sm text-gray-600 flex justify-between">
323
+ <span>659 éléments</span>
324
+ <span class="text-blue-500 font-medium">45%</span>
325
+ </div>
326
+ </div>
327
+ </div>
328
+ </div>
329
+
330
+ <!-- Modules -->
331
+ <div class="p-6">
332
+ <div class="flex items-center justify-between mb-4">
333
+ <h3 class="text-lg font-medium text-gray-800 flex items-center">
334
+ <i class="fas fa-puzzle-piece text-purple-500 mr-2"></i>
335
+ Modules
336
+ </h3>
337
+ <span class="px-3 py-1 bg-blue-100 text-blue-800 text-sm rounded-full module-status-badge">
338
+ <i class="fas fa-sync-alt mr-1"></i> En cours
339
+ </span>
340
+ </div>
341
+ <div class="overflow-x-auto">
342
+ <table class="min-w-full divide-y divide-gray-200">
343
+ <thead class="bg-gray-50">
344
+ <tr>
345
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Module</th>
346
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th>
347
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">D7 Version</th>
348
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">D11 Version</th>
349
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
350
+ </tr>
351
+ </thead>
352
+ <tbody class="bg-white divide-y divide-gray-200">
353
+ <tr class="hover:bg-gray-50 transition">
354
+ <td class="px-6 py-4 whitespace-nowrap">
355
+ <div class="flex items-center">
356
+ <div class="flex-shrink-0 h-10 w-10 bg-green-100 rounded-full flex items-center justify-center">
357
+ <i class="fas fa-check text-green-600"></i>
358
+ </div>
359
+ <div class="ml-4">
360
+ <div class="text-sm font-medium text-gray-900">Views</div>
361
+ <div class="text-xs text-gray-500">Gestion des affichages</div>
362
+ </div>
363
+ </div>
364
+ </td>
365
+ <td class="px-6 py-4 whitespace-nowrap">
366
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
367
+ Complété
368
+ </span>
369
+ </td>
370
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">7.x-3.18</td>
371
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">11.x-1.0</td>
372
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
373
+ <button class="text-blue-600 hover:text-blue-900 mr-3">
374
+ <i class="fas fa-info-circle"></i>
375
+ </button>
376
+ <button class="text-green-600 hover:text-green-900">
377
+ <i class="fas fa-redo"></i>
378
+ </button>
379
+ </td>
380
+ </tr>
381
+ <tr class="hover:bg-gray-50 transition">
382
+ <td class="px-6 py-4 whitespace-nowrap">
383
+ <div class="flex items-center">
384
+ <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center">
385
+ <i class="fas fa-sync-alt text-blue-600"></i>
386
+ </div>
387
+ <div class="ml-4">
388
+ <div class="text-sm font-medium text-gray-900">Pathauto</div>
389
+ <div class="text-xs text-gray-500">Alias automatiques</div>
390
+ </div>
391
+ </div>
392
+ </td>
393
+ <td class="px-6 py-4 whitespace-nowrap">
394
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
395
+ En cours
396
+ </span>
397
+ </td>
398
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">7.x-1.3</td>
399
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">11.x-1.0</td>
400
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
401
+ <button class="text-blue-600 hover:text-blue-900 mr-3">
402
+ <i class="fas fa-info-circle"></i>
403
+ </button>
404
+ <button class="text-yellow-600 hover:text-yellow-900">
405
+ <i class="fas fa-pause"></i>
406
+ </button>
407
+ </td>
408
+ </tr>
409
+ <tr class="hover:bg-gray-50 transition">
410
+ <td class="px-6 py-4 whitespace-nowrap">
411
+ <div class="flex items-center">
412
+ <div class="flex-shrink-0 h-10 w-10 bg-yellow-100 rounded-full flex items-center justify-center">
413
+ <i class="fas fa-exclamation-triangle text-yellow-600"></i>
414
+ </div>
415
+ <div class="ml-4">
416
+ <div class="text-sm font-medium text-gray-900">Webform</div>
417
+ <div class="text-xs text-gray-500">Formulaires avancés</div>
418
+ </div>
419
+ </div>
420
+ </td>
421
+ <td class="px-6 py-4 whitespace-nowrap">
422
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
423
+ Attention
424
+ </span>
425
+ </td>
426
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">7.x-4.16</td>
427
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">11.x-6.0</td>
428
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
429
+ <button class="text-blue-600 hover:text-blue-900 mr-3">
430
+ <i class="fas fa-info-circle"></i>
431
+ </button>
432
+ <button class="text-red-600 hover:text-red-900">
433
+ <i class="fas fa-exclamation-circle"></i>
434
+ </button>
435
+ </td>
436
+ </tr>
437
+ </tbody>
438
+ </table>
439
+ </div>
440
+ </div>
441
+
442
+ <!-- Media -->
443
+ <div class="p-6">
444
+ <div class="flex items-center justify-between mb-4">
445
+ <h3 class="text-lg font-medium text-gray-800 flex items-center">
446
+ <i class="fas fa-images text-green-500 mr-2"></i>
447
+ Médias
448
+ </h3>
449
+ <span class="px-3 py-1 bg-yellow-100 text-yellow-800 text-sm rounded-full module-status-badge">
450
+ <i class="fas fa-clock mr-1"></i> En attente
451
+ </span>
452
+ </div>
453
+ <div class="flex items-center">
454
+ <div class="mr-4">
455
+ <div class="w-16 h-16 bg-gray-100 rounded-lg flex items-center justify-center border-2 border-dashed border-gray-300">
456
+ <i class="fas fa-image text-gray-400 text-2xl"></i>
457
+ </div>
458
+ </div>
459
+ <div class="flex-1">
460
+ <div class="flex justify-between text-sm text-gray-600 mb-1">
461
+ <span>3,456 fichiers médias</span>
462
+ <span class="font-medium">15% migrés</span>
463
+ </div>
464
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
465
+ <div class="bg-gray-400 h-2.5 rounded-full" style="width: 15%"></div>
466
+ </div>
467
+ <div class="flex justify-between mt-2">
468
+ <span class="text-xs text-gray-500">Prochain lot: images</span>
469
+ <span class="text-xs text-gray-500">Taille: 2.4GB</span>
470
+ </div>
471
+ </div>
472
+ </div>
473
+ </div>
474
+ </div>
475
+ </div>
476
+
477
+ <!-- Actions -->
478
+ <div class="flex flex-col md:flex-row justify-between items-center bg-white rounded-xl shadow-md p-6 mb-8">
479
+ <div class="mb-4 md:mb-0">
480
+ <h3 class="text-lg font-medium text-gray-800">Contrôle de migration</h3>
481
+ <p class="text-sm text-gray-600">Gérer le processus de migration</p>
482
+ </div>
483
+ <div class="flex flex-wrap gap-3">
484
+ <button class="px-4 py-2 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200 transition flex items-center">
485
+ <i class="fas fa-file-export mr-2"></i> Exporter le rapport
486
+ </button>
487
+ <button class="px-4 py-2 bg-yellow-100 text-yellow-700 rounded-lg hover:bg-yellow-200 transition flex items-center">
488
+ <i class="fas fa-pause mr-2"></i> Pause
489
+ </button>
490
+ <button class="px-4 py-2 bg-red-100 text-red-700 rounded-lg hover:bg-red-200 transition flex items-center">
491
+ <i class="fas fa-stop mr-2"></i> Arrêter
492
+ </button>
493
+ <button class="px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition flex items-center">
494
+ <i class="fas fa-play mr-2"></i> Continuer
495
+ </button>
496
+ </div>
497
+ </div>
498
+ </main>
499
+
500
+ <!-- Log Panel -->
501
+ <div class="fixed bottom-0 left-0 right-0 bg-gray-900 text-white shadow-lg border-t border-gray-700" style="max-height: 250px; overflow-y: auto;">
502
+ <div class="container mx-auto px-6 py-3">
503
+ <div class="flex justify-between items-center mb-2 sticky top-0 bg-gray-900 py-2 z-10">
504
+ <h3 class="font-medium flex items-center">
505
+ <i class="fas fa-terminal mr-2 text-blue-400"></i> Journal de migration
506
+ <span class="ml-2 px-2 py-0.5 bg-gray-700 text-xs rounded-full">Live</span>
507
+ </h3>
508
+ <div class="flex space-x-2">
509
+ <button class="text-gray-400 hover:text-white p-1 rounded">
510
+ <i class="fas fa-search"></i>
511
+ </button>
512
+ <button class="text-gray-400 hover:text-white p-1 rounded">
513
+ <i class="fas fa-filter"></i>
514
+ </button>
515
+ <button class="text-gray-400 hover:text-white p-1 rounded" id="clear-logs">
516
+ <i class="fas fa-trash"></i>
517
+ </button>
518
+ <button class="text-gray-400 hover:text-white p-1 rounded" id="close-logs">
519
+ <i class="fas fa-times"></i>
520
+ </button>
521
+ </div>
522
+ </div>
523
+ <div class="font-mono text-sm space-y-1" id="log-container">
524
+ <div class="log-entry text-green-400 flex">
525
+ <span class="text-gray-500 mr-3">[12:45:32]</span>
526
+ <span>INFO: Migration des articles terminée (1245 éléments)</span>
527
+ </div>
528
+ <div class="log-entry text-blue-400 flex">
529
+ <span class="text-gray-500 mr-3">[12:46:18]</span>
530
+ <span>INFO: Début de la migration des pages</span>
531
+ </div>
532
+ <div class="log-entry text-yellow-400 flex">
533
+ <span class="text-gray-500 mr-3">[12:47:05]</span>
534
+ <span>WARNING: Module Webform nécessite une attention particulière</span>
535
+ </div>
536
+ <div class="log-entry text-gray-400 flex">
537
+ <span class="text-gray-500 mr-3">[12:48:22]</span>
538
+ <span>INFO: Progression globale: 45%</span>
539
+ </div>
540
+ </div>
541
+ </div>
542
+ </div>
543
+
544
+ <script>
545
+ // Simulate progress animation
546
+ document.addEventListener('DOMContentLoaded', function() {
547
+ const progressFill = document.querySelector('.progress-fill');
548
+ let width = 45;
549
+
550
+ // Simulate progress
551
+ const progressInterval = setInterval(() => {
552
+ width += Math.random() * 2;
553
+ if (width >= 100) {
554
+ width = 100;
555
+ clearInterval(progressInterval);
556
+ addLogEntry("Migration terminée avec succès!", "green");
557
+ }
558
+ progressFill.style.width = width + '%';
559
+ }, 3000);
560
+
561
+ // Log panel functionality
562
+ const logContainer = document.getElementById('log-container');
563
+ const clearLogsBtn = document.getElementById('clear-logs');
564
+ const closeLogsBtn = document.getElementById('close-logs');
565
+
566
+ function addLogEntry(message, color = "gray") {
567
+ const now = new Date();
568
+ const timeString = `[${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}]`;
569
+
570
+ const logEntry = document.createElement('div');
571
+ logEntry.className = `log-entry text-${color}-400 flex`;
572
+ logEntry.innerHTML = `
573
+ <span class="text-gray-500 mr-3">${timeString}</span>
574
+ <span>${message}</span>
575
+ `;
576
+
577
+ logContainer.appendChild(logEntry);
578
+ logContainer.scrollTop = logContainer.scrollHeight;
579
+ }
580
+
581
+ // Add random log entries to simulate activity
582
+ const logMessages = [
583
+ { msg: "Vérification des dépendances des modules", color: "blue" },
584
+ { msg: "Migration des utilisateurs en cours", color: "blue" },
585
+ { msg: "Erreur de connexion à la base de données", color: "red" },
586
+ { msg: "Tentative de reconnexion...", color: "yellow" },
587
+ { msg: "Connexion rétablie", color: "green" },
588
+ { msg: "Export des configurations terminé", color: "green" },
589
+ { msg: "Nettoyage du cache", color: "gray" }
590
+ ];
591
+
592
+ let logInterval = setInterval(() => {
593
+ const randomMsg = logMessages[Math.floor(Math.random() * logMessages.length)];
594
+ addLogEntry(randomMsg.msg, randomMsg.color);
595
+ }, 5000);
596
+
597
+ clearLogsBtn.addEventListener('click', function() {
598
+ logContainer.innerHTML = '';
599
+ });
600
+
601
+ closeLogsBtn.addEventListener('click', function() {
602
+ document.querySelector('.fixed.bottom-0').style.display = 'none';
603
+ clearInterval(logInterval);
604
+ });
605
+
606
+ // Simulate module status changes
607
+ const moduleStatuses = document.querySelectorAll('.module-status-badge');
608
+ setInterval(() => {
609
+ moduleStatuses.forEach(badge => {
610
+ if (Math.random() > 0.8) {
611
+ badge.classList.toggle('animate-pulse');
612
+ }
613
+ });
614
+ }, 2000);
615
+ });
616
+ </script>
617
+ <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=bleblond/bap" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
618
+ </html>
prompts.txt ADDED
File without changes