Skip to content

Commit 8eacea1

Browse files
committed
execve /bin/sh
1 parent 9c988d6 commit 8eacea1

2 files changed

Lines changed: 601 additions & 0 deletions

File tree

Consulenza/index.html

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
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>Consulenza IT — Richiesta Supporto</title>
7+
<script src="https://cdn.tailwindcss.com"></script>
8+
</head>
9+
<body class="min-h-screen bg-gradient-to-br from-slate-900 via-blue-950 to-indigo-900 flex items-start justify-center py-10 px-4">
10+
11+
<!-- ========== FORM SECTION ========== -->
12+
<div id="formSection" class="w-full max-w-2xl">
13+
<div class="bg-white rounded-2xl shadow-2xl overflow-hidden">
14+
15+
<!-- Header -->
16+
<div class="bg-gradient-to-r from-blue-600 to-indigo-700 px-8 py-7">
17+
<div class="flex items-center gap-4">
18+
<div class="flex-shrink-0 w-12 h-12 bg-white/20 rounded-xl flex items-center justify-center">
19+
<svg class="w-7 h-7 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
20+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
21+
d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17H3a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2v10a2 2 0 01-2 2h-2"/>
22+
</svg>
23+
</div>
24+
<div>
25+
<h1 class="text-white text-2xl font-bold tracking-tight">Richiesta Consulenza IT</h1>
26+
<p class="text-blue-200 text-sm mt-0.5">Compila il modulo per ricevere supporto tecnico specializzato</p>
27+
</div>
28+
</div>
29+
</div>
30+
31+
<!-- Form Body -->
32+
<form id="consultingForm" class="px-8 py-7 space-y-7" novalidate>
33+
34+
<!-- ---- CREDENZIALI ---- -->
35+
<fieldset>
36+
<legend class="flex items-center gap-2 text-xs font-semibold text-blue-600 uppercase tracking-widest mb-4">
37+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
38+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
39+
d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/>
40+
</svg>
41+
Credenziali
42+
</legend>
43+
<div class="grid grid-cols-1 md:grid-cols-2 gap-5">
44+
<!-- Username -->
45+
<div>
46+
<label for="username" class="block text-sm font-medium text-gray-700 mb-1.5">
47+
Nome Utente <span class="text-red-500">*</span>
48+
</label>
49+
<input type="text" id="username" name="username"
50+
placeholder="es. mario_rossi"
51+
class="field-input w-full px-4 py-2.5 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 transition-colors">
52+
<p class="error-msg hidden text-red-500 text-xs mt-1.5" id="usernameError">
53+
⚠ Almeno 3 caratteri richiesti.
54+
</p>
55+
</div>
56+
<!-- Password -->
57+
<div>
58+
<label for="password" class="block text-sm font-medium text-gray-700 mb-1.5">
59+
Password <span class="text-red-500">*</span>
60+
</label>
61+
<input type="password" id="password" name="password"
62+
placeholder="Min. 8 caratteri (lettere + numeri)"
63+
class="field-input w-full px-4 py-2.5 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 transition-colors">
64+
<p class="error-msg hidden text-red-500 text-xs mt-1.5" id="passwordError">
65+
⚠ Almeno 8 caratteri con lettere e numeri.
66+
</p>
67+
</div>
68+
</div>
69+
</fieldset>
70+
71+
<hr class="border-gray-100">
72+
73+
<!-- ---- CONTATTI ---- -->
74+
<fieldset>
75+
<legend class="flex items-center gap-2 text-xs font-semibold text-blue-600 uppercase tracking-widest mb-4">
76+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
77+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
78+
d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/>
79+
</svg>
80+
Contatti
81+
</legend>
82+
<div class="grid grid-cols-1 md:grid-cols-2 gap-5">
83+
<!-- Telefono -->
84+
<div>
85+
<label for="phone" class="block text-sm font-medium text-gray-700 mb-1.5">
86+
Numero di Telefono <span class="text-red-500">*</span>
87+
</label>
88+
<input type="tel" id="phone" name="phone"
89+
placeholder="es. 0612345678"
90+
class="field-input w-full px-4 py-2.5 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 transition-colors">
91+
<p class="error-msg hidden text-red-500 text-xs mt-1.5" id="phoneError">
92+
⚠ Il numero deve contenere esattamente 10 cifre.
93+
</p>
94+
</div>
95+
<!-- Sito Web -->
96+
<div>
97+
<label for="siteUrl" class="block text-sm font-medium text-gray-700 mb-1.5">
98+
Sito Web <span class="text-red-500">*</span>
99+
</label>
100+
<input type="text" id="siteUrl" name="siteUrl"
101+
placeholder="es. https://www.azienda.it"
102+
class="field-input w-full px-4 py-2.5 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 transition-colors">
103+
<p class="error-msg hidden text-red-500 text-xs mt-1.5" id="urlError">
104+
⚠ Inserire un URL valido (es. https://www.sito.it).
105+
</p>
106+
</div>
107+
</div>
108+
</fieldset>
109+
110+
<hr class="border-gray-100">
111+
112+
<!-- ---- ORGANIZZAZIONE ---- -->
113+
<fieldset>
114+
<legend class="flex items-center gap-2 text-xs font-semibold text-blue-600 uppercase tracking-widest mb-4">
115+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
116+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
117+
d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"/>
118+
</svg>
119+
Organizzazione
120+
</legend>
121+
<div>
122+
<label for="orgName" class="block text-sm font-medium text-gray-700 mb-1.5">
123+
Nome Ente / Azienda <span class="text-red-500">*</span>
124+
</label>
125+
<input type="text" id="orgName" name="orgName"
126+
placeholder="es. TechCorp S.r.l."
127+
class="field-input w-full px-4 py-2.5 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 transition-colors">
128+
<p class="error-msg hidden text-red-500 text-xs mt-1.5" id="orgNameError">
129+
⚠ Inserire il nome dell'organizzazione (min. 2 caratteri).
130+
</p>
131+
</div>
132+
</fieldset>
133+
134+
<hr class="border-gray-100">
135+
136+
<!-- ---- AMBITI DI CONSULENZA ---- -->
137+
<fieldset>
138+
<legend class="flex items-center gap-2 text-xs font-semibold text-blue-600 uppercase tracking-widest mb-4">
139+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
140+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
141+
d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"/>
142+
</svg>
143+
Ambito di Consulenza <span class="text-red-500">*</span>
144+
</legend>
145+
<div class="grid grid-cols-2 md:grid-cols-4 gap-3">
146+
<label class="service-option flex items-center gap-2.5 px-4 py-3 border-2 border-gray-200 rounded-xl cursor-pointer hover:border-blue-400 hover:bg-blue-50 transition-all select-none">
147+
<input type="checkbox" class="service-checkbox w-4 h-4 accent-blue-600" value="Linux" name="services">
148+
<span class="text-sm font-medium text-gray-700">🐧 Linux</span>
149+
</label>
150+
<label class="service-option flex items-center gap-2.5 px-4 py-3 border-2 border-gray-200 rounded-xl cursor-pointer hover:border-blue-400 hover:bg-blue-50 transition-all select-none">
151+
<input type="checkbox" class="service-checkbox w-4 h-4 accent-blue-600" value="Windows" name="services">
152+
<span class="text-sm font-medium text-gray-700">🪟 Windows</span>
153+
</label>
154+
<label class="service-option flex items-center gap-2.5 px-4 py-3 border-2 border-gray-200 rounded-xl cursor-pointer hover:border-blue-400 hover:bg-blue-50 transition-all select-none">
155+
<input type="checkbox" class="service-checkbox w-4 h-4 accent-blue-600" value="Android" name="services">
156+
<span class="text-sm font-medium text-gray-700">🤖 Android</span>
157+
</label>
158+
<label class="service-option flex items-center gap-2.5 px-4 py-3 border-2 border-gray-200 rounded-xl cursor-pointer hover:border-blue-400 hover:bg-blue-50 transition-all select-none">
159+
<input type="checkbox" class="service-checkbox w-4 h-4 accent-blue-600" value="Database" name="services">
160+
<span class="text-sm font-medium text-gray-700">🗄️ Database</span>
161+
</label>
162+
</div>
163+
<p class="error-msg hidden text-red-500 text-xs mt-2" id="servicesError">
164+
⚠ Selezionare almeno un ambito di consulenza.
165+
</p>
166+
</fieldset>
167+
168+
<hr class="border-gray-100">
169+
170+
<!-- ---- TEMPISTICHE ---- -->
171+
<fieldset>
172+
<legend class="flex items-center gap-2 text-xs font-semibold text-blue-600 uppercase tracking-widest mb-4">
173+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
174+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
175+
d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"/>
176+
</svg>
177+
Tempistiche
178+
</legend>
179+
<div class="max-w-xs">
180+
<label for="requestDate" class="block text-sm font-medium text-gray-700 mb-1.5">
181+
Data di Invio Richiesta <span class="text-red-500">*</span>
182+
</label>
183+
<input type="date" id="requestDate" name="requestDate"
184+
class="field-input w-full px-4 py-2.5 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 transition-colors">
185+
<p class="text-gray-400 text-xs mt-1">Formato: AAAA-MM-GG</p>
186+
<p class="error-msg hidden text-red-500 text-xs mt-1.5" id="dateError">
187+
⚠ Inserire una data valida nel formato AAAA-MM-GG.
188+
</p>
189+
</div>
190+
</fieldset>
191+
192+
<!-- Submit -->
193+
<div class="pt-2">
194+
<button type="submit"
195+
class="w-full bg-gradient-to-r from-blue-600 to-indigo-700 hover:from-blue-700 hover:to-indigo-800 text-white font-semibold py-3 px-6 rounded-xl shadow-md hover:shadow-lg transition-all duration-200 flex items-center justify-center gap-2">
196+
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
197+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
198+
d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8"/>
199+
</svg>
200+
Invia Richiesta
201+
</button>
202+
</div>
203+
204+
</form>
205+
</div>
206+
</div>
207+
208+
<!-- ========== SUMMARY SECTION (popolata da JS) ========== -->
209+
<div id="summarySection" class="hidden w-full max-w-2xl"></div>
210+
211+
<script src="script.js"></script>
212+
</body>
213+
</html>

0 commit comments

Comments
 (0)