Skip to content

Commit d3cf81d

Browse files
committed
fix: improve default templates
Thanks to @AmaLuci
1 parent 8f70f46 commit d3cf81d

File tree

3 files changed

+60
-62
lines changed

3 files changed

+60
-62
lines changed
Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,62 @@
1-
<!DOCTYPE html>
21
<html>
32
<head>
43
<meta charset="UTF-8">
5-
<title>Password Expiration Notice</title>
4+
<title>Password expiration notice</title>
65
<style>
76
body {
87
font-family: Arial, sans-serif;
98
background-color: #f4f4f4;
109
margin: 0;
1110
padding: 0;
11+
display: flex;
12+
justify-content: center;
13+
align-items: center;
14+
height: 100vh;
1215
}
1316
.container {
1417
width: 100%;
1518
max-width: 600px;
16-
margin: 0 auto;
17-
background-color: #ffffff;
18-
padding: 20px;
19-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
20-
}
21-
.header {
22-
background-color: #007bff;
23-
color: #ffffff;
24-
padding: 10px 0;
19+
padding: 4rem 2.5rem;
20+
border-radius: 0.75rem;
21+
background: #FFF;
22+
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.06), 0px 4px 6px 0px rgba(0, 0, 0, 0.10);
2523
text-align: center;
2624
}
27-
.content {
28-
padding: 20px;
29-
text-align: center;
25+
.header {
26+
padding: 1.5rem 1rem;
27+
border-radius: 0.375rem;
28+
background: #F3F4F6;
3029
}
3130
.button {
3231
display: inline-block;
33-
padding: 10px 20px;
34-
margin-top: 20px;
35-
background-color: #007bff;
36-
color: #ffffff;
32+
padding: 0.5rem 0.75rem;
33+
border-radius: 0.375rem;
34+
background: #1D4ED8;
35+
color: white;
3736
text-decoration: none;
38-
border-radius: 5px;
37+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
38+
transition: background-color 0.3s ease;
39+
margin-top: 1rem;
40+
}
41+
.button:hover {
42+
background: #1E40AF;
3943
}
4044
.footer {
41-
margin-top: 20px;
4245
font-size: 12px;
43-
color: #888888;
44-
text-align: center;
46+
color: #4B5563;
47+
margin-top: 1.5rem;
4548
}
4649
</style>
4750
</head>
4851
<body>
4952
<div class="container">
5053
<div class="header">
51-
<h1>Password Expiration Notice</h1>
52-
</div>
53-
<div class="content">
54-
<p>Dear $name ($user),</p>
55-
<p>Your password is expiring in <strong>$days days</strong>. To ensure the security of your account, please change your password before it expires.</p>
56-
<a href="$portal_url" class="button">Change Password</a>
57-
</div>
58-
<div class="footer">
59-
<p>If you have any questions, please contact the administrator.</p>
54+
<h1>Password expiration notice</h1>
6055
</div>
56+
<p>Dear $name ($user),</p>
57+
<p>your password is expiring in <strong>$days days</strong>. To ensure the security of your account, please change your password before it expires.</p>
58+
<a href="$portal_url" class="button">Change password</a>
59+
<p class="footer">For assistance or further inquiries, please reach out to your administrator.</p>
6160
</div>
6261
</body>
6362
</html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Password in scadenza
1+
Scadenza password
Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,50 @@
1-
<!DOCTYPE html>
21
<html>
32
<head>
43
<meta charset="UTF-8">
5-
<title>Avviso scadenza password</title>
4+
<title>Avviso di scadenza password</title>
65
<style>
76
body {
87
font-family: Arial, sans-serif;
98
background-color: #f4f4f4;
109
margin: 0;
1110
padding: 0;
11+
display: flex;
12+
justify-content: center;
13+
align-items: center;
14+
height: 100vh;
1215
}
1316
.container {
1417
width: 100%;
1518
max-width: 600px;
16-
margin: 0 auto;
17-
background-color: #ffffff;
18-
padding: 20px;
19-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
20-
}
21-
.header {
22-
background-color: #007bff;
23-
color: #ffffff;
24-
padding: 10px 0;
19+
padding: 4rem 2.5rem;
20+
border-radius: 0.75rem;
21+
background: #FFF;
22+
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.06), 0px 4px 6px 0px rgba(0, 0, 0, 0.10);
2523
text-align: center;
2624
}
27-
.content {
28-
padding: 20px;
29-
text-align: center;
25+
.header {
26+
padding: 1.5rem 1rem;
27+
border-radius: 0.375rem;
28+
background: #F3F4F6;
3029
}
3130
.button {
3231
display: inline-block;
33-
padding: 10px 20px;
34-
margin-top: 20px;
35-
background-color: #007bff;
36-
color: #ffffff;
32+
padding: 0.5rem 0.75rem;
33+
border-radius: 0.375rem;
34+
background: #1D4ED8;
35+
color: white;
3736
text-decoration: none;
38-
border-radius: 5px;
37+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
38+
transition: background-color 0.3s ease;
39+
margin-top: 1rem;
40+
}
41+
.button:hover {
42+
background: #1E40AF;
3943
}
4044
.footer {
41-
margin-top: 20px;
4245
font-size: 12px;
43-
color: #888888;
44-
text-align: center;
46+
color: #4B5563;
47+
margin-top: 1.5rem;
4548
}
4649
</style>
4750
</head>
@@ -50,14 +53,10 @@
5053
<div class="header">
5154
<h1>Avviso di scadenza password</h1>
5255
</div>
53-
<div class="content">
54-
<p>Gentile $name ($user),</p>
55-
<p>la tua password scadrà tra <strong>$days giorni</strong>. Per garantire la sicurezza del tuo account, ti preghiamo di cambiare la password prima della scadenza.</p>
56-
<a href="$portal_url" class="button">Cambia Password</a>
57-
</div>
58-
<div class="footer">
59-
<p>Se hai domande, contatta l'amministratore.</p>
60-
</div>
56+
<p>Gentile $name ($user),</p>
57+
<p>la tua password scadrà tra <strong>$days giorni</strong>. Per garantire la sicurezza del tuo account, ti invitiamo a cambiarla prima della scadenza.</p>
58+
<a href="$portal_url" class="button">Cambia password</a>
59+
<p class="footer">Per assistenza o ulteriori informazioni, contatta l'amministratore.</p>
6160
</div>
6261
</body>
6362
</html>

0 commit comments

Comments
 (0)