Danny2014 commited on
Commit
b704229
·
verified ·
1 Parent(s): 4142c16

puoi fare in modo che sia modificabile - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +587 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Https Huggingface Co Spaces Victor Deepsite Gallery
3
- emoji:
4
- colorFrom: blue
5
- colorTo: yellow
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: https-huggingface-co-spaces-victor-deepsite-gallery
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: gray
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,587 @@
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="it">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Gestione Allenamento - Squadra di Calcio</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
+ .player-card:hover {
11
+ transform: translateY(-5px);
12
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
13
+ }
14
+ .drill-card {
15
+ transition: all 0.3s ease;
16
+ }
17
+ .drill-card:hover {
18
+ transform: scale(1.03);
19
+ }
20
+ .progress-ring__circle {
21
+ transition: stroke-dashoffset 0.5s;
22
+ transform: rotate(-90deg);
23
+ transform-origin: 50% 50%;
24
+ }
25
+ </style>
26
+ </head>
27
+ <body class="bg-gray-50 font-sans">
28
+ <div class="min-h-screen flex flex-col">
29
+ <!-- Header -->
30
+ <header class="bg-green-700 text-white shadow-lg">
31
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
32
+ <div class="flex items-center space-x-2">
33
+ <i class="fas fa-futbol text-2xl"></i>
34
+ <h1 class="text-2xl font-bold">TeamManager FC</h1>
35
+ </div>
36
+ <div class="flex items-center space-x-4">
37
+ <span class="hidden md:inline">Coach: Marco Rossi</span>
38
+ <div class="relative">
39
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Coach" class="w-10 h-10 rounded-full border-2 border-white">
40
+ <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-400 rounded-full border border-white"></span>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </header>
45
+
46
+ <!-- Main Content -->
47
+ <main class="flex-1 container mx-auto px-4 py-6">
48
+ <div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
49
+ <!-- Sidebar -->
50
+ <aside class="lg:col-span-1 space-y-6">
51
+ <!-- Session Info -->
52
+ <div class="bg-white rounded-xl shadow-md p-6">
53
+ <h2 class="text-xl font-bold text-gray-800 mb-4">Info Allenamento</h2>
54
+ <div class="space-y-4">
55
+ <div>
56
+ <label class="block text-sm font-medium text-gray-600">Data</label>
57
+ <input type="date" value="2023-06-15" class="mt-1 w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
58
+ </div>
59
+ <div>
60
+ <label class="block text-sm font-medium text-gray-600">Ora</label>
61
+ <div class="flex space-x-2 mt-1">
62
+ <input type="time" value="18:00" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
63
+ <span class="flex items-center">a</span>
64
+ <input type="time" value="20:00" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
65
+ </div>
66
+ </div>
67
+ <div>
68
+ <label class="block text-sm font-medium text-gray-600">Tipo</label>
69
+ <select class="mt-1 w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
70
+ <option>Tattica difensiva</option>
71
+ <option>Tattica offensiva</option>
72
+ <option>Preparazione atletica</option>
73
+ <option>Partita di allenamento</option>
74
+ </select>
75
+ </div>
76
+ <div>
77
+ <label class="block text-sm font-medium text-gray-600">Stato</label>
78
+ <span class="mt-1 inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-green-100 text-green-800">
79
+ In programma
80
+ </span>
81
+ </div>
82
+ <button class="mt-4 flex items-center text-blue-600 hover:text-blue-800">
83
+ <i class="fas fa-plus-circle mr-2"></i> Aggiungi fase
84
+ </button>
85
+ </div>
86
+ </div>
87
+
88
+ <!-- Quick Actions -->
89
+ <div class="bg-white rounded-xl shadow-md p-6">
90
+ <h2 class="text-xl font-bold text-gray-800 mb-4">Azioni Rapide</h2>
91
+ <div class="space-y-3">
92
+ <button onclick="startSession()" class="w-full flex items-center justify-center px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition">
93
+ <i class="fas fa-play mr-2"></i> Inizia Allenamento
94
+ </button>
95
+ <button class="w-full flex items-center justify-center px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition">
96
+ <i class="fas fa-plus mr-2"></i> Aggiungi Esercizio
97
+ </button>
98
+ <button class="w-full flex items-center justify-center px-4 py-2 bg-yellow-500 text-white rounded-lg hover:bg-yellow-600 transition">
99
+ <i class="fas fa-edit mr-2"></i> Modifica Sessione
100
+ </button>
101
+ <button class="w-full flex items-center justify-center px-4 py-2 bg-red-600 text-white rounded-lg hover:bg-red-700 transition">
102
+ <i class="fas fa-times mr-2"></i> Cancella Sessione
103
+ </button>
104
+ </div>
105
+ </div>
106
+
107
+ <!-- Attendance Summary -->
108
+ <div class="bg-white rounded-xl shadow-md p-6">
109
+ <h2 class="text-xl font-bold text-gray-800 mb-4">Presenze</h2>
110
+ <div class="flex items-center justify-between mb-2">
111
+ <span class="text-sm text-gray-600">Confermati</span>
112
+ <span class="font-bold">18/22</span>
113
+ </div>
114
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
115
+ <div class="bg-green-600 h-2.5 rounded-full" style="width: 82%"></div>
116
+ </div>
117
+ <div class="mt-4 flex items-center justify-between">
118
+ <span class="text-sm text-gray-600">Assenti</span>
119
+ <span class="font-bold">4</span>
120
+ </div>
121
+ </div>
122
+ </aside>
123
+
124
+ <!-- Main Panel -->
125
+ <div class="lg:col-span-3 space-y-6">
126
+ <!-- Session Overview -->
127
+ <div class="bg-white rounded-xl shadow-md p-6">
128
+ <div class="flex justify-between items-center mb-6">
129
+ <h2 class="text-2xl font-bold text-gray-800">Sessione: Difesa a zona</h2>
130
+ <div class="flex space-x-2">
131
+ <button class="p-2 rounded-full bg-gray-100 hover:bg-gray-200">
132
+ <i class="fas fa-print text-gray-600"></i>
133
+ </button>
134
+ <button class="p-2 rounded-full bg-gray-100 hover:bg-gray-200">
135
+ <i class="fas fa-share-alt text-gray-600"></i>
136
+ </button>
137
+ </div>
138
+ </div>
139
+
140
+ <!-- Session Progress -->
141
+ <div class="mb-6">
142
+ <div class="flex justify-between mb-2">
143
+ <span class="text-sm font-medium text-gray-600">Progresso sessione</span>
144
+ <span class="text-sm font-medium text-gray-600">30%</span>
145
+ </div>
146
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
147
+ <div class="bg-blue-600 h-2.5 rounded-full" style="width: 30%"></div>
148
+ </div>
149
+ </div>
150
+
151
+ <!-- Session Timeline -->
152
+ <div class="mb-6">
153
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Timeline Allenamento</h3>
154
+ <div class="space-y-4">
155
+ <!-- Timeline Item -->
156
+ <div class="flex items-start group relative">
157
+ <div class="flex-shrink-0 mt-1">
158
+ <div class="w-3 h-3 bg-blue-500 rounded-full"></div>
159
+ </div>
160
+ <div class="ml-4 w-full">
161
+ <div class="flex justify-between items-center">
162
+ <input type="text" value="Riscaldamento" class="font-medium text-gray-900 bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none w-1/2">
163
+ <div class="flex space-x-2">
164
+ <input type="time" value="18:00" class="text-sm text-gray-500 bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none w-20">
165
+ <span>-</span>
166
+ <input type="time" value="18:20" class="text-sm text-gray-500 bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none w-20">
167
+ </div>
168
+ </div>
169
+ <textarea class="text-sm text-gray-600 mt-1 w-full bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none">Corsa leggera, stretching dinamico e mobilità articolare</textarea>
170
+ </div>
171
+ <button class="absolute right-0 top-0 opacity-0 group-hover:opacity-100 text-red-500 hover:text-red-700">
172
+ <i class="fas fa-times"></i>
173
+ </button>
174
+ </div>
175
+ <!-- Timeline Item -->
176
+ <div class="flex items-start">
177
+ <div class="flex-shrink-0 mt-1">
178
+ <div class="w-3 h-3 bg-green-500 rounded-full"></div>
179
+ </div>
180
+ <div class="ml-4">
181
+ <div class="flex justify-between">
182
+ <span class="font-medium text-gray-900">Esercizio posizionale</span>
183
+ <span class="text-sm text-gray-500">18:20 - 18:50</span>
184
+ </div>
185
+ <p class="text-sm text-gray-600 mt-1">Movimenti senza palla e coperture nello spazio</p>
186
+ </div>
187
+ </div>
188
+ <!-- Timeline Item -->
189
+ <div class="flex items-start">
190
+ <div class="flex-shrink-0 mt-1">
191
+ <div class="w-3 h-3 bg-gray-300 rounded-full"></div>
192
+ </div>
193
+ <div class="ml-4">
194
+ <div class="flex justify-between">
195
+ <span class="font-medium text-gray-900">Partita a tema</span>
196
+ <span class="text-sm text-gray-500">18:50 - 19:30</span>
197
+ </div>
198
+ <p class="text-sm text-gray-600 mt-1">Gioco 8v8 con focus sulla difesa a zona</p>
199
+ </div>
200
+ </div>
201
+ <!-- Timeline Item -->
202
+ <div class="flex items-start">
203
+ <div class="flex-shrink-0 mt-1">
204
+ <div class="w-3 h-3 bg-gray-300 rounded-full"></div>
205
+ </div>
206
+ <div class="ml-4">
207
+ <div class="flex justify-between">
208
+ <span class="font-medium text-gray-900">Defaticamento</span>
209
+ <span class="text-sm text-gray-500">19:30 - 19:45</span>
210
+ </div>
211
+ <p class="text-sm text-gray-600 mt-1">Stretching statico e feedback</p>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ </div>
216
+
217
+ <!-- Current Drill -->
218
+ <div class="bg-blue-50 rounded-lg p-4 border border-blue-200">
219
+ <div class="flex justify-between items-start">
220
+ <div>
221
+ <h3 class="text-lg font-semibold text-blue-800">Esercizio in corso</h3>
222
+ <p class="text-blue-600">Esercizio posizionale - 18:20 - 18:50</p>
223
+ </div>
224
+ <div class="flex space-x-2">
225
+ <button class="p-2 rounded-full bg-blue-100 hover:bg-blue-200 text-blue-700">
226
+ <i class="fas fa-pause"></i>
227
+ </button>
228
+ <button class="p-2 rounded-full bg-blue-100 hover:bg-blue-200 text-blue-700">
229
+ <i class="fas fa-stop"></i>
230
+ </button>
231
+ </div>
232
+ </div>
233
+ <div class="mt-4">
234
+ <div class="flex justify-between items-center mb-2">
235
+ <span class="text-sm font-medium text-blue-700">Tempo rimanente</span>
236
+ <span class="text-sm font-medium text-blue-700">15:32</span>
237
+ </div>
238
+ <div class="w-full bg-blue-200 rounded-full h-2.5">
239
+ <div class="bg-blue-600 h-2.5 rounded-full" style="width: 48%"></div>
240
+ </div>
241
+ </div>
242
+ </div>
243
+ </div>
244
+
245
+ <!-- Players List -->
246
+ <div class="bg-white rounded-xl shadow-md p-6">
247
+ <div class="flex justify-between items-center mb-6">
248
+ <h2 class="text-2xl font-bold text-gray-800">Giocatori</h2>
249
+ <div class="relative">
250
+ <input type="text" placeholder="Cerca giocatore..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
251
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
252
+ </div>
253
+ </div>
254
+
255
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
256
+ <!-- Player Card -->
257
+ <div class="player-card bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition duration-300">
258
+ <div class="p-4 flex items-start">
259
+ <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Player" class="w-16 h-16 rounded-full border-2 border-green-500">
260
+ <div class="ml-4 flex-1">
261
+ <div class="flex justify-between items-start">
262
+ <div>
263
+ <h3 class="font-bold text-gray-900">Luca Bianchi</h3>
264
+ <p class="text-sm text-gray-600">Difensore centrale</p>
265
+ </div>
266
+ <select class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800 border-none focus:ring-2 focus:ring-green-500">
267
+ <option class="bg-green-100 text-green-800">Presente</option>
268
+ <option class="bg-yellow-100 text-yellow-800">In ritardo</option>
269
+ <option class="bg-red-100 text-red-800">Assente</option>
270
+ <option class="bg-blue-100 text-blue-800">Infortunato</option>
271
+ </select>
272
+ </div>
273
+ <div class="mt-2 flex justify-between text-sm">
274
+ <div>
275
+ <span class="text-gray-500">Carico:</span>
276
+ <span class="font-medium ml-1">75%</span>
277
+ </div>
278
+ <div>
279
+ <span class="text-gray-500">Focus:</span>
280
+ <span class="font-medium ml-1">8/10</span>
281
+ </div>
282
+ </div>
283
+ </div>
284
+ </div>
285
+ <div class="border-t border-gray-100 px-4 py-2 bg-gray-50 flex justify-between">
286
+ <button class="text-blue-600 hover:text-blue-800 text-sm font-medium">
287
+ <i class="fas fa-chart-line mr-1"></i> Stats
288
+ </button>
289
+ <button class="text-green-600 hover:text-green-800 text-sm font-medium">
290
+ <i class="fas fa-comment-alt mr-1"></i> Feedback
291
+ </button>
292
+ </div>
293
+ </div>
294
+
295
+ <!-- Player Card -->
296
+ <div class="player-card bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition duration-300">
297
+ <div class="p-4 flex items-start">
298
+ <img src="https://randomuser.me/api/portraits/men/2.jpg" alt="Player" class="w-16 h-16 rounded-full border-2 border-green-500">
299
+ <div class="ml-4 flex-1">
300
+ <div class="flex justify-between items-start">
301
+ <div>
302
+ <h3 class="font-bold text-gray-900">Marco Verdi</h3>
303
+ <p class="text-sm text-gray-600">Centrocampista</p>
304
+ </div>
305
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
306
+ Presente
307
+ </span>
308
+ </div>
309
+ <div class="mt-2 flex justify-between text-sm">
310
+ <div>
311
+ <span class="text-gray-500">Carico:</span>
312
+ <span class="font-medium ml-1">82%</span>
313
+ </div>
314
+ <div>
315
+ <span class="text-gray-500">Focus:</span>
316
+ <span class="font-medium ml-1">7/10</span>
317
+ </div>
318
+ </div>
319
+ </div>
320
+ </div>
321
+ <div class="border-t border-gray-100 px-4 py-2 bg-gray-50 flex justify-between">
322
+ <button class="text-blue-600 hover:text-blue-800 text-sm font-medium">
323
+ <i class="fas fa-chart-line mr-1"></i> Stats
324
+ </button>
325
+ <button class="text-green-600 hover:text-green-800 text-sm font-medium">
326
+ <i class="fas fa-comment-alt mr-1"></i> Feedback
327
+ </button>
328
+ </div>
329
+ </div>
330
+
331
+ <!-- Player Card -->
332
+ <div class="player-card bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition duration-300">
333
+ <div class="p-4 flex items-start">
334
+ <img src="https://randomuser.me/api/portraits/men/3.jpg" alt="Player" class="w-16 h-16 rounded-full border-2 border-red-500">
335
+ <div class="ml-4 flex-1">
336
+ <div class="flex justify-between items-start">
337
+ <div>
338
+ <h3 class="font-bold text-gray-900">Andrea Rossi</h3>
339
+ <p class="text-sm text-gray-600">Attaccante</p>
340
+ </div>
341
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-red-100 text-red-800">
342
+ Assente
343
+ </span>
344
+ </div>
345
+ <div class="mt-2 flex justify-between text-sm">
346
+ <div>
347
+ <span class="text-gray-500">Carico:</span>
348
+ <span class="font-medium ml-1">-</span>
349
+ </div>
350
+ <div>
351
+ <span class="text-gray-500">Focus:</span>
352
+ <span class="font-medium ml-1">-</span>
353
+ </div>
354
+ </div>
355
+ </div>
356
+ </div>
357
+ <div class="border-t border-gray-100 px-4 py-2 bg-gray-50 flex justify-between">
358
+ <button class="text-blue-600 hover:text-blue-800 text-sm font-medium">
359
+ <i class="fas fa-chart-line mr-1"></i> Stats
360
+ </button>
361
+ <button class="text-green-600 hover:text-green-800 text-sm font-medium">
362
+ <i class="fas fa-comment-alt mr-1"></i> Feedback
363
+ </button>
364
+ </div>
365
+ </div>
366
+ </div>
367
+
368
+ <div class="mt-4 flex justify-between items-center">
369
+ <span class="text-sm text-gray-600">Mostrati 3 di 18 giocatori</span>
370
+ <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition">
371
+ Mostra tutti
372
+ </button>
373
+ </div>
374
+ </div>
375
+
376
+ <!-- Drills Library -->
377
+ <div class="bg-white rounded-xl shadow-md p-6">
378
+ <div class="flex justify-between items-center mb-6">
379
+ <h2 class="text-2xl font-bold text-gray-800">Esercizi consigliati</h2>
380
+ <div class="flex space-x-2">
381
+ <button class="px-3 py-1 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200">
382
+ Difesa
383
+ </button>
384
+ <button class="px-3 py-1 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200">
385
+ Attacco
386
+ </button>
387
+ <button class="px-3 py-1 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200">
388
+ Transizioni
389
+ </button>
390
+ </div>
391
+ </div>
392
+
393
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
394
+ <!-- Drill Card -->
395
+ <div class="drill-card bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm">
396
+ <div class="relative h-40 bg-blue-100 flex items-center justify-center">
397
+ <div class="absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"></div>
398
+ <i class="fas fa-people-arrows text-4xl text-blue-600 relative z-10"></i>
399
+ <span class="absolute bottom-2 right-2 bg-white/90 px-2 py-1 rounded text-xs font-medium">Difesa</span>
400
+ </div>
401
+ <div class="p-4">
402
+ <h3 class="font-bold text-gray-900 mb-2">Coperture e scivolamenti</h3>
403
+ <p class="text-sm text-gray-600 mb-3">Esercizio per migliorare i movimenti difensivi in zona</p>
404
+ <div class="flex justify-between text-xs text-gray-500">
405
+ <span><i class="fas fa-clock mr-1"></i> 20 min</span>
406
+ <span><i class="fas fa-users mr-1"></i> 6+ giocatori</span>
407
+ </div>
408
+ </div>
409
+ <div class="border-t border-gray-100 px-4 py-2 bg-gray-50 flex justify-between">
410
+ <button class="text-blue-600 hover:text-blue-800 text-sm font-medium">
411
+ <i class="fas fa-eye mr-1"></i> Anteprima
412
+ </button>
413
+ <button class="text-green-600 hover:text-green-800 text-sm font-medium">
414
+ <i class="fas fa-plus mr-1"></i> Aggiungi
415
+ </button>
416
+ </div>
417
+ </div>
418
+
419
+ <!-- Drill Card -->
420
+ <div class="drill-card bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm">
421
+ <div class="relative h-40 bg-green-100 flex items-center justify-center">
422
+ <div class="absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"></div>
423
+ <i class="fas fa-shield-alt text-4xl text-green-600 relative z-10"></i>
424
+ <span class="absolute bottom-2 right-2 bg-white/90 px-2 py-1 rounded text-xs font-medium">Difesa</span>
425
+ </div>
426
+ <div class="p-4">
427
+ <h3 class="font-bold text-gray-900 mb-2">Pressione collettiva</h3>
428
+ <p class="text-sm text-gray-600 mb-3">Allenamento per la pressione coordinata in zona centrale</p>
429
+ <div class="flex justify-between text-xs text-gray-500">
430
+ <span><i class="fas fa-clock mr-1"></i> 25 min</span>
431
+ <span><i class="fas fa-users mr-1"></i> 8+ giocatori</span>
432
+ </div>
433
+ </div>
434
+ <div class="border-t border-gray-100 px-4 py-2 bg-gray-50 flex justify-between">
435
+ <button class="text-blue-600 hover:text-blue-800 text-sm font-medium">
436
+ <i class="fas fa-eye mr-1"></i> Anteprima
437
+ </button>
438
+ <button class="text-green-600 hover:text-green-800 text-sm font-medium">
439
+ <i class="fas fa-plus mr-1"></i> Aggiungi
440
+ </button>
441
+ </div>
442
+ </div>
443
+
444
+ <!-- Drill Card -->
445
+ <div class="drill-card bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm">
446
+ <div class="relative h-40 bg-purple-100 flex items-center justify-center">
447
+ <div class="absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"></div>
448
+ <i class="fas fa-arrows-alt text-4xl text-purple-600 relative z-10"></i>
449
+ <span class="absolute bottom-2 right-2 bg-white/90 px-2 py-1 rounded text-xs font-medium">Difesa</span>
450
+ </div>
451
+ <div class="p-4">
452
+ <h3 class="font-bold text-gray-900 mb-2">Transizioni difensive</h3>
453
+ <p class="text-sm text-gray-600 mb-3">Esercizio per il riposizionamento dopo la perdita del possesso</p>
454
+ <div class="flex justify-between text-xs text-gray-500">
455
+ <span><i class="fas fa-clock mr-1"></i> 15 min</span>
456
+ <span><i class="fas fa-users mr-1"></i> 10+ giocatori</span>
457
+ </div>
458
+ </div>
459
+ <div class="border-t border-gray-100 px-4 py-2 bg-gray-50 flex justify-between">
460
+ <button class="text-blue-600 hover:text-blue-800 text-sm font-medium">
461
+ <i class="fas fa-eye mr-1"></i> Anteprima
462
+ </button>
463
+ <button class="text-green-600 hover:text-green-800 text-sm font-medium">
464
+ <i class="fas fa-plus mr-1"></i> Aggiungi
465
+ </button>
466
+ </div>
467
+ </div>
468
+ </div>
469
+ </div>
470
+ </div>
471
+ </div>
472
+ </main>
473
+
474
+ <!-- Footer -->
475
+ <footer class="bg-gray-800 text-white py-6">
476
+ <div class="container mx-auto px-4">
477
+ <div class="flex flex-col md:flex-row justify-between items-center">
478
+ <div class="mb-4 md:mb-0">
479
+ <h2 class="text-xl font-bold">TeamManager FC</h2>
480
+ <p class="text-gray-400">Software per la gestione degli allenamenti</p>
481
+ </div>
482
+ <div class="flex space-x-6">
483
+ <a href="#" class="text-gray-400 hover:text-white">
484
+ <i class="fab fa-facebook-f"></i>
485
+ </a>
486
+ <a href="#" class="text-gray-400 hover:text-white">
487
+ <i class="fab fa-twitter"></i>
488
+ </a>
489
+ <a href="#" class="text-gray-400 hover:text-white">
490
+ <i class="fab fa-instagram"></i>
491
+ </a>
492
+ <a href="#" class="text-gray-400 hover:text-white">
493
+ <i class="fab fa-youtube"></i>
494
+ </a>
495
+ </div>
496
+ </div>
497
+ <div class="mt-6 pt-6 border-t border-gray-700 text-center text-gray-400 text-sm">
498
+ <p>© 2023 TeamManager FC. Tutti i diritti riservati.</p>
499
+ </div>
500
+ </div>
501
+ </footer>
502
+ </div>
503
+
504
+ <script>
505
+ function startSession() {
506
+ alert('Allenamento iniziato! Buon lavoro!');
507
+ // Qui potresti aggiungere la logica per iniziare effettivamente la sessione
508
+ }
509
+
510
+ // Add new timeline item
511
+ function addTimelineItem() {
512
+ const timelineContainer = document.querySelector('.space-y-4');
513
+ const newItem = document.createElement('div');
514
+ newItem.className = 'flex items-start group relative';
515
+ newItem.innerHTML = `
516
+ <div class="flex-shrink-0 mt-1">
517
+ <div class="w-3 h-3 bg-gray-300 rounded-full"></div>
518
+ </div>
519
+ <div class="ml-4 w-full">
520
+ <div class="flex justify-between items-center">
521
+ <input type="text" placeholder="Nome fase" class="font-medium text-gray-900 bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none w-1/2">
522
+ <div class="flex space-x-2">
523
+ <input type="time" value="19:00" class="text-sm text-gray-500 bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none w-20">
524
+ <span>-</span>
525
+ <input type="time" value="19:30" class="text-sm text-gray-500 bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none w-20">
526
+ </div>
527
+ </div>
528
+ <textarea placeholder="Descrizione" class="text-sm text-gray-600 mt-1 w-full bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none"></textarea>
529
+ </div>
530
+ <button class="absolute right-0 top-0 opacity-0 group-hover:opacity-100 text-red-500 hover:text-red-700" onclick="this.parentElement.remove()">
531
+ <i class="fas fa-times"></i>
532
+ </button>
533
+ `;
534
+ timelineContainer.appendChild(newItem);
535
+ }
536
+
537
+ // Initialize event listeners
538
+ document.addEventListener('DOMContentLoaded', function() {
539
+ // Add click handler for "Aggiungi fase" button
540
+ document.querySelector('.space-y-4 + button').addEventListener('click', addTimelineItem);
541
+
542
+ // Make all attendance selects update their styling based on value
543
+ document.querySelectorAll('select').forEach(select => {
544
+ select.addEventListener('change', function() {
545
+ const colorMap = {
546
+ 'Presente': 'green',
547
+ 'In ritardo': 'yellow',
548
+ 'Assente': 'red',
549
+ 'Infortunato': 'blue'
550
+ };
551
+ const color = colorMap[this.value] || 'gray';
552
+ this.className = this.className.replace(/bg-\w+-\d+ text-\w+-\d+/g, '');
553
+ this.classList.add(`bg-${color}-100`, `text-${color}-800`);
554
+ });
555
+ });
556
+ });
557
+
558
+ // Simulazione di caricamento dati
559
+ document.addEventListener('DOMContentLoaded', function() {
560
+ console.log('Pagina caricata - sistema pronto per la gestione dell\'allenamento');
561
+
562
+ // Potresti aggiungere qui la logica per caricare i dati reali
563
+ // fetch('/api/session-data').then(...)
564
+ });
565
+
566
+ // Animazione per le card dei giocatori
567
+ const playerCards = document.querySelectorAll('.player-card');
568
+ playerCards.forEach(card => {
569
+ card.addEventListener('mouseenter', function() {
570
+ this.style.transition = 'all 0.3s ease';
571
+ });
572
+ });
573
+
574
+ // Gestione click sugli esercizi
575
+ const drillCards = document.querySelectorAll('.drill-card');
576
+ drillCards.forEach(card => {
577
+ card.addEventListener('click', function(e) {
578
+ if (!e.target.closest('button')) {
579
+ const title = this.querySelector('h3').textContent;
580
+ console.log(`Esercizio selezionato: ${title}`);
581
+ // Potresti aprire un modal con i dettagli dell'esercizio
582
+ }
583
+ });
584
+ });
585
+ </script>
586
+ <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=Danny2014/https-huggingface-co-spaces-victor-deepsite-gallery" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
587
+ </html>