-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
347 lines (340 loc) · 13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
<html lang="{IT">
<head>
<meta charset="utf-8" />
<meta
content="width=device-width, initial-scale=1, shrink-to-fit=no"
name="viewport"
/>
<meta content="noindex, nofollow" name="robots" />
<style>
.btnForCopy {
padding: 0.5em;
}
.btnForCopy span {
font-size: 15px;
padding: 0.5em;
}
.btnForCopy img {
width: 13px;
}
.alert {
position: relative;
padding: 1rem 1rem 1rem 4em;
margin-bottom: 1rem;
border: 1px solid #b1b1b3;
width: 50em !important;
}
.alert-success {
display: none;
background-position: 20px 10px;
background-repeat: no-repeat;
background-size: 32px 32px;
border-left: 8px solid #008758;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.1 7.9l.7.7-7.8 7.6-4.7-4.6.7-.7 4 3.9zM22 12A10 10 0 1 1 12 2a10 10 0 0 1 10 10zm-1 0a9 9 0 1 0-9 9 9 9 0 0 0 9-9z'%3E%3C/path%3E%3C/svg%3E");
}
.alertCopyOk {
position: absolute;
top: 3.5em;
left: 2.5em;
background-color: #fff;
}
.signature-box {
border: 1px solid #06c;
margin: 40px 0;
}
</style>
</head>
<body>
<table style="margin: 50px auto">
<tr>
<td
colspan="2"
style="
background: #f7f7f7;
color: #5f7991;
padding: 10px;
font-family: Arial;
font-size: 16px;
line-height: 32px;
"
>
<h1>Firma email</h1>
<p>
Copia la firma cliccando su uno dei pulsanti sotto e incollala nel
tuo Client di Posta e modifica i dati necessari.
</p>
<div
class="alert alert-success alertCopyOk"
id="alertCopyOk"
role="alert"
>
Firma inserita negli appunti correttamente!
</div>
</td>
</tr>
<tr style="height: 100px">
<td style="text-align: center">
<div id="DTDToCopy" class="signature-box">
<table cellpadding="0" cellspacing="0" id="DTD" width="50%">
<tr>
<td width="70"></td>
<td
colspan="2"
id="nameSurnameDTD"
style="
color: #0066cc;
font-family: Arial;
font-size: 16px;
line-height: 20px;
"
>
Nome Cognome
<br />
<span
id="role"
style="color: #5f7991; font-size: 13px; line-height: 16px"
>
Ruolo
</span>
<br />
<span
id="role"
style="color: #5f7991; font-size: 13px; line-height: 16px"
>
<b>Tel:</b> +39 02 0123456789
</span>
</td>
</tr>
<tr>
<td width="70"></td>
<td colspan="2" style="text-align: left">
<span
style="
display: block;
width: 53px;
border-bottom: 1px solid #0bd9d2;
height: 8px;
line-height: 8px;
"
> </span
>
</td>
</tr>
<tr>
<td
colspan="2"
style="
padding-top: 8px;
padding-bottom: 8px;
padding-left: 10px;
"
>
<img
alt="Logo DTD"
border="0"
src="https://teamdigitale.governo.it/assets/email-signatures-img/logo-dtd.png"
style="border: 0; height: auto; width: 360px"
width="360"
/>
</td>
</tr>
<tr>
<td width="70"></td>
<td colspan="2" style="text-align: left">
<span
style="
display: block;
width: 53px;
border-top: 1px solid #0bd9d2;
height: 8px;
line-height: 8px;
"
> </span
>
</td>
</tr>
<tr>
<td width="70"></td>
<td colspan="3" style="padding-bottom: 10px">
<a
href="https://innovazione.gov.it"
style="
font-family: Arial;
font-weight: bold;
font-size: 13px;
line-height: 21px;
color: #5f7991;
text-decoration: none;
"
target="_blank"
>innovazione.gov.it</a
>
</td>
</tr>
<tr>
<td width="70"></td>
<td style="padding-bottom: 20px">
<a
href="https://www.facebook.com/DipartimentoTrasformazioneDigitale/"
style="
display: inline-block;
width: 30px;
height: 30px;
text-decoration: none;
margin-right: 10px;
"
target="_blank"
>
<img
alt="Logo Facebook"
border="0"
src="https://teamdigitale.governo.it/assets/email-signatures-img/social-facebook.png"
style="border: 0; height: 30px; width: 30px"
width="30"
/>
</a>
<a
href="https://twitter.com/InnovazioneGov"
style="
display: inline-block;
width: 30px;
height: 30px;
text-decoration: none;
margin-right: 10px;
"
target="_blank"
>
<img
alt="Logo Twitter"
border="0"
src="https://teamdigitale.governo.it/assets/email-signatures-img/social-twitter.png"
style="border: 0; height: 30px; width: 30px"
width="30"
/>
</a>
<a
href="https://www.linkedin.com/company/dipartimentotrasformazionedigitale/"
style="
display: inline-block;
width: 30px;
height: 30px;
text-decoration: none;
margin-right: 10px;
"
target="_blank"
>
<img
alt="Logo LinkedIn"
border="0"
src="https://teamdigitale.governo.it/assets/email-signatures-img/social-linkedin.png"
style="border: 0; height: 30px; width: 30px"
width="30"
/>
</a>
</td>
</tr>
</table>
</div>
<button
class="btnForCopy"
data-clipboard-target="#DTDToCopy"
id="btnForCopy"
>
<span
>Clicca qui per copiare la firma del <b>DTD</b> negli
appunti</span
>
</button>
</td>
<!-- <td style="text-align:center;">
<div id="MITDToCopy" class="signature-box">
<table
cellpadding="0"
cellspacing="0"
id="MITD"
width="100%"
>
<tr>
<tr>
<td width="70"></td>
<td colspan="2" id="nameSurnameMITD" style="color:#0066CC;font-family:Arial;font-size:16px;line-height:20px;">
Nome Cognome
<br />
<span id="role" style="color:#5f7991;font-size:13px;line-height:16px;">
Ruolo
</span>
<br />
<span id="role" style="color:#5f7991;font-size:13px;line-height:16px;">
<b>Tel:</b> +39 02 0123456789
</span>
</td>
</tr>
<tr>
<td width="70"></td>
<td colspan="2" style="text-align:left;">
<span style="display:block;width:53px;border-bottom:1px solid #0bd9d2;height:8px;line-height:8px;"> </span>
</td>
</tr>
<tr>
<td colspan="2" style="padding-top:8px;padding-bottom:8px;padding-left:10px;">
<img alt="Logo MITD" border="0" src="https://teamdigitale.governo.it/assets/email-signatures-img/logo-mitd.png" style="border:0; height:auto; width:360px"
width="360">
</td>
</tr>
<tr>
<td width="70"></td>
<td colspan="2" style="text-align:left;">
<span style="display:block;width:53px;border-top:1px solid #0bd9d2;height:8px;line-height:8px;"> </span>
</td>
</tr>
<tr>
<td width="70"></td>
<td colspan="3" style="padding-bottom: 10px;">
<a href="https://innovazione.gov.it"
style="font-family:Arial; font-weight: bold; font-size:13px; line-height:21px; color:#5f7991; text-decoration:none;" target="_blank">innovazione.gov.it</a>
</td>
</tr>
<tr>
<td width="70"></td>
<td style="padding-bottom: 20px;">
<a href="https://www.facebook.com/DipartimentoTrasformazioneDigitale/"
style="display:inline-block; width:30px; height:30px; text-decoration:none; margin-right: 10px;" target="_blank">
<img alt="Logo Facebook" border="0" src="https://teamdigitale.governo.it/assets/email-signatures-img/social-facebook.png" style="border:0; height:30px; width:30px;" width="30">
</a>
<a href="https://twitter.com/InnovazioneGov"
style="display:inline-block; width:30px; height:30px; text-decoration:none; margin-right: 10px;" target="_blank">
<img alt="Logo Twitter" border="0" src="https://teamdigitale.governo.it/assets/email-signatures-img/social-twitter.png" style="border:0; height:30px; width:30px;" width="30">
</a>
<a href="https://www.linkedin.com/company/dipartimentotrasformazionedigitale/"
style="display:inline-block; width:30px; height:30px; text-decoration:none; margin-right: 10px;" target="_blank">
<img alt="Logo LinkedIn" border="0" src="https://teamdigitale.governo.it/assets/email-signatures-img/social-linkedin.png" style="border:0; height:30px; width:30px;" width="30">
</a>
</td>
</tr>
</tr>
</table>
</div>
<button class="btnForCopy" data-clipboard-target="#MITDToCopy" id="btnForCopyMITD">
<span>Clicca qui per copiare la firma del <b>MITD</b> negli appunti</span>
</button>
</td> -->
</tr>
</table>
<script src="./clipboard.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", () => {
const ok = function () {
document.getElementById("alertCopyOk").style.display = "block";
setTimeout(function () {
document.getElementById("alertCopyOk").style.display = "none";
}, 3000);
};
const no = function (e) {
console.log("Si è verificato un errore.", e);
};
new ClipboardJS("#btnForCopy").on("success", ok).on("error", no);
new ClipboardJS("#btnForCopyMITD").on("success", ok).on("error", no);
});
</script>
</body>
</html>