Skip to content

Commit d47521f

Browse files
committed
Add the templates for sending emails from Cognito
1 parent 38c9212 commit d47521f

File tree

2 files changed

+243
-0
lines changed

2 files changed

+243
-0
lines changed
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6+
<meta content="telephone=no" name="format-detection"> <!-- need to add formatting for real phone numbers -->
7+
<meta name="viewport" content="width=device-width">
8+
<title>Print Marketplace - Your temporary password</title>
9+
10+
<style>
11+
@media only print {
12+
.logo__crown {
13+
display: none !important;
14+
}
15+
16+
.logo__text,
17+
.logo__dot {
18+
color: #000000 !important;
19+
}
20+
21+
.brand__banner {
22+
border-bottom: solid 1pt #000000 !important;
23+
background-color: unset !important;
24+
}
25+
}
26+
27+
body {
28+
margin: 0 !important;
29+
}
30+
31+
div[style*="margin: 16px 0"] {
32+
margin: 0 !important;
33+
}
34+
</style>
35+
36+
<!--[if gte mso 9]>
37+
<style>
38+
li {
39+
margin-left: 4px !important;
40+
}
41+
table {
42+
mso-table-lspace: 0pt;
43+
mso-table-rspace: 0pt;
44+
}
45+
</style>
46+
<![endif]-->
47+
48+
</head>
49+
50+
<body style="font-family: Helvetica, Arial, sans-serif;font-size: 16px;margin: 0;color:#0b0c0c;">
51+
52+
<span style="display: none;font-size: 1px;color: #fff; max-height: 0;" hidden>
53+
Welcome to the Print Marketplace . Your
54+
username is: {username} Your temporary password is: {####} NOTE: Your username is case-sensitive. Access the site at
55+
https://printmarketplace.gca.gov.uk. Kind regards, Customer Services Tea…
56+
</span>
57+
58+
<table role="presentation" class="content" align="center" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; max-width: 580px; width: 100%">
59+
<tr>
60+
<td width="10" height="10" valign="middle"></td>
61+
<td>
62+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse">
63+
<tr>
64+
<td height="24" width="100%" colspan="2"><br></td>
65+
</tr>
66+
<tr>
67+
<td>
68+
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse">
69+
<tr>
70+
<td style="padding: 0 5px 0 7px; border-left: solid 2px #005abb">
71+
<img src="https://static-logos.notifications.service.gov.uk/21b354e9-d3e9-4c0c-860c-13926341825e-government-commercial-agency.png" style="display: block; border: 0" height="27" alt="" aria-hidden="true">
72+
</td>
73+
<td width="100%" style="font-family: Helvetica, Arial, sans-serif; font-size: 18px; line-height: 23px;" valign="center">
74+
Government Commercial Agency
75+
</td>
76+
</tr>
77+
</table>
78+
</td>
79+
</tr>
80+
</table>
81+
</td>
82+
<td width="10" valign="middle" height="10"></td>
83+
</tr>
84+
</table>
85+
86+
<table role="presentation" class="content" align="center" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; max-width: 580px; width: 100%">
87+
<tr>
88+
<td height="30"><br></td>
89+
</tr>
90+
<tr>
91+
<td width="10" valign="middle"><br></td>
92+
<td style="font-family: Helvetica, Arial, sans-serif; font-size: 19px; line-height: 1.315789474; max-width: 560px;">
93+
<h2 style="Margin: 0 0 15px 0; padding: 10px 0 0 0; font-size: 27px; line-height: 35px; font-weight: bold; color: #0B0C0C;">
94+
Welcome to the Print Marketplace .
95+
</h2>
96+
<p style="Margin: 0 0 20px 0; font-size: 19px; line-height: 25px; color: #0B0C0C;">
97+
Your username is: {username}<br>
98+
Your temporary password is: {####}
99+
</p>
100+
<div style="Margin: 0 0 20px 0;">
101+
<blockquote style="Margin: 0; border-left: 10px solid #B1B4B6;padding: 15px 0 0.1px 15px; font-size: 19px; line-height: 25px;">
102+
<p style="Margin: 0 0 20px 0; font-size: 19px; line-height: 25px; color: #0B0C0C;">
103+
NOTE: Your username is case-sensitive.
104+
</p>
105+
</blockquote>
106+
</div>
107+
<p style="Margin: 0 0 20px 0; font-size: 19px; line-height: 25px; color: #0B0C0C;">
108+
Access the site at
109+
<a style="word-wrap: break-word; color: #1D70B8;" href="https://printmarketplace.gca.gov.uk">
110+
https://printmarketplace.gca.gov.uk
111+
</a>
112+
</p>
113+
<p style="Margin: 0 0 20px 0; font-size: 19px; line-height: 25px; color: #0B0C0C;">
114+
Kind regards,<br>
115+
Customer Services Team<br>
116+
Government Commercial Agency
117+
</p>
118+
</td>
119+
<td width="10" valign="middle"><br></td>
120+
</tr>
121+
<tr>
122+
<td height="30"><br></td>
123+
</tr>
124+
</table>
125+
126+
</body>
127+
128+
</html>
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6+
<meta content="telephone=no" name="format-detection"> <!-- need to add formatting for real phone numbers -->
7+
<meta name="viewport" content="width=device-width">
8+
<title>Government Commercial Agency Verification Code</title>
9+
10+
<style>
11+
@media only print {
12+
.logo__crown {
13+
display: none !important;
14+
}
15+
16+
.logo__text,
17+
.logo__dot {
18+
color: #000000 !important;
19+
}
20+
21+
.brand__banner {
22+
border-bottom: solid 1pt #000000 !important;
23+
background-color: unset !important;
24+
}
25+
}
26+
27+
body {
28+
margin: 0 !important;
29+
}
30+
31+
div[style*="margin: 16px 0"] {
32+
margin: 0 !important;
33+
}
34+
</style>
35+
36+
<!--[if gte mso 9]>
37+
<style>
38+
li {
39+
margin-left: 4px !important;
40+
}
41+
table {
42+
mso-table-lspace: 0pt;
43+
mso-table-rspace: 0pt;
44+
}
45+
</style>
46+
<![endif]-->
47+
48+
</head>
49+
50+
<body style="font-family: Helvetica, Arial, sans-serif;font-size: 16px;margin: 0;color:#0b0c0c;">
51+
52+
<span style="display: none;font-size: 1px;color: #fff; max-height: 0;" hidden>
53+
Hello, Your Government Commercial Agency verification code is: {####} You must use this code within 24 hours of receiving this email. Kind regards, Customer Services Team Government Commercial Agency…
54+
</span>
55+
56+
<table role="presentation" class="content" align="center" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; max-width: 580px; width: 100%">
57+
<tr>
58+
<td width="10" height="10" valign="middle"></td>
59+
<td>
60+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse">
61+
<tr>
62+
<td height="24" width="100%" colspan="2"><br></td>
63+
</tr>
64+
<tr>
65+
<td>
66+
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse">
67+
<tr>
68+
<td style="padding: 0 5px 0 7px; border-left: solid 2px #005abb">
69+
<img src="https://static-logos.notifications.service.gov.uk/21b354e9-d3e9-4c0c-860c-13926341825e-government-commercial-agency.png" style="display: block; border: 0" height="27" alt="" aria-hidden="true">
70+
</td>
71+
<td width="100%" style="font-family: Helvetica, Arial, sans-serif; font-size: 18px; line-height: 23px;" valign="center">
72+
Government Commercial Agency
73+
</td>
74+
</tr>
75+
</table>
76+
</td>
77+
</tr>
78+
</table>
79+
</td>
80+
<td width="10" valign="middle" height="10"></td>
81+
</tr>
82+
</table>
83+
84+
<table role="presentation" class="content" align="center" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; max-width: 580px; width: 100%">
85+
<tr>
86+
<td height="30"><br></td>
87+
</tr>
88+
<tr>
89+
<td width="10" valign="middle"><br></td>
90+
<td style="font-family: Helvetica, Arial, sans-serif; font-size: 19px; line-height: 1.315789474; max-width: 560px;">
91+
<p style="Margin: 0 0 20px 0; font-size: 19px; line-height: 25px; color: #0B0C0C;">
92+
Hello,
93+
</p>
94+
<p style="Margin: 0 0 20px 0; font-size: 19px; line-height: 25px; color: #0B0C0C;">
95+
Your Government Commercial Agency verification code is: {####}
96+
</p>
97+
<p style="Margin: 0 0 20px 0; font-size: 19px; line-height: 25px; color: #0B0C0C;">
98+
You must use this code within 24 hours of receiving this email.
99+
</p>
100+
<p style="Margin: 0 0 20px 0; font-size: 19px; line-height: 25px; color: #0B0C0C;">
101+
Kind regards,<br>
102+
Customer Services Team<br>
103+
Government Commercial Agency
104+
</p>
105+
</td>
106+
<td width="10" valign="middle"><br></td>
107+
</tr>
108+
<tr>
109+
<td height="30"><br></td>
110+
</tr>
111+
</table>
112+
113+
</body>
114+
115+
</html>

0 commit comments

Comments
 (0)