responsive email verification

This commit is contained in:
Maria Ozamiz
2021-03-26 09:40:47 +01:00
parent 1399e9ac6e
commit 0251ce034e

View File

@@ -1,168 +1,682 @@
<!DOCTYPE html>
<html lang="en">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
>
<head>
<meta charset="UTF-8" />
<title> </title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<!--<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG />
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix {
width: 100% !important;
}
</style>
<![endif]-->
<!--[if !mso]><!-->
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap"
rel="stylesheet"
type="text/css"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap"
rel="stylesheet"
type="text/css"
/>
<title>Interés en copra de producto</title>
<style>
.body {
color: #374493;
font-family: 'Poppins', sans-serif;
background-color: #8cead8;
box-sizing: border-box;
}
.mail {
margin: 50px auto;
width: 60%;
padding: 30px;
background-color: white;
border-radius: 5px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
<style type="text/css">
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap);
</style>
<!--<![endif]-->
<style type="text/css">
@media only screen and (min-width: 480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
.header {
display: flex;
flex-direction: column;
align-content: center;
}
.latienda-logo {
max-width: 300px;
margin: auto;
}
.title {
font-size: 1.5rem;
text-align: center;
margin-top: 60px;
padding-bottom: 5px;
display: flex;
flex-direction: column;
}
.main {
display: flex;
flex-direction: column;
align-content: center;
padding: 0 30px 30px 30px;
}
.product-data {
display: flex;
flex-direction: column;
align-items: center;
max-width: 400px;
margin: auto;
margin-bottom: 20px;
font-weight: 400;
}
.text {
text-align: justify;
font-size: 1.2rem;
padding: 3px;
margin-top: 40px;
max-width: 300px;
hyphens: auto;
.mj-column-per-50 {
width: 50% !important;
max-width: 50%;
}
}
</style>
<style type="text/css">
@media only screen and (max-width: 480px) {
table.mj-full-width-mobile {
width: 100% !important;
}
.coop-name {
font-weight: 700;
}
.product-image {
max-width: 250px;
margin-bottom: 5px;
}
.product-link {
margin-bottom: 5px;
}
.product-price {
font-weight: 700;
}
.coop-info {
max-width: fit-content;
margin-bottom: 50px;
}
.coop-data {
font-size: 1.2rem;
margin-top: 20px;
font-family: 'Noto Sans', sans-serif;
align-self: left;
}
.coop-image {
max-width: 120px;
margin: auto;
margin-bottom: 5px;
}
.name {
font-size: 1.2rem;
font-weight: 700;
display: inline;
}
.value {
margin: 0;
display: inline;
font-weight: 400;
}
@media all and (min-width:780px) {
.mail {
width: 40%;
}
}
@media all and (max-width: 780px) {
.title {
font-size: 1.2rem;
}
.text {
font-size: 1rem;
}
h2 {
font-size: 1.2rem;
}
.value, .name {
font-size: 1rem;
td.mj-full-width-mobile {
width: auto !important;
}
}
</style>
</head>
<body class="body">
<div class="mail">
<header class="header">
<a href="https://latienda.coop/" target="_blank">
<img
src="https://latienda.coop/_nuxt/img/latienda-logo.3e53761.svg"
alt=""
class="latienda-logo"
/>
</a>
<h1 class="title">
<span>Confirmación de</span>
<span>solicitud enviada</span>
</h1>
</header>
<main class="main">
<p class="text">
Hola {{ user.full_name }},
Por favor, verifica tu registro en LaTiendaCOOP haciendo click en el siguiente enlace:
http://{{ domain }}{% url 'activate_user' uidb64=uid token=token %}
</p>
</main>
<footer class="footer">
<span>2021 La Tienda.Coop</span>
</footer>
<body style="background-color: #8cead8">
<div style="background-color: #8cead8">
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div
style="
background: #ffffff;
background-color: #ffffff;
margin: 0px auto;
max-width: 600px;
"
>
<table
align="center"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="
background: #ffffff;
background-color: #ffffff;
width: 100%;
"
>
<tbody>
<tr>
<td
style="
direction: ltr;
font-size: 0px;
padding: 20px 0;
padding-bottom: 20px;
padding-top: 20px;
text-align: center;
"
>
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
<div
class="mj-column-per-100 mj-outlook-group-fix"
style="
font-size: 0px;
text-align: left;
direction: ltr;
display: inline-block;
vertical-align: top;
width: 100%;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
>
<tr>
<td
align="center"
style="
font-size: 0px;
padding: 10px 25px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;
word-break: break-word;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="
border-collapse: collapse;
border-spacing: 0px;
"
>
<tbody>
<tr>
<td
style="
width: 250px;
"
>
<a
href="https://latienda.coop/"
target="_blank"
>
<img
alt=""
height="auto"
width="25"
align="left"
src="https://latienda.coop/_nuxt/img/latienda-logo.3e53761.svg"
style="
border: none;
display: block;
outline: none;
text-decoration: none;
height: auto;
width: 100%;
font-size: 13px;
"
/>
</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div
style="
background: #ffffff;
background-color: #ffffff;
margin: 0px auto;
max-width: 600px;
"
>
<table
align="center"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="
background: #ffffff;
background-color: #ffffff;
width: 100%;
"
>
<tbody>
<tr>
<td
style="
direction: ltr;
font-size: 0px;
padding: 20px 0;
padding-bottom: 0px;
padding-top: 0;
text-align: center;
"
>
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
<div
class="mj-column-per-100 mj-outlook-group-fix"
style="
font-size: 0px;
text-align: left;
direction: ltr;
display: inline-block;
vertical-align: top;
width: 100%;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
>
<tr>
<td
align="center"
style="
font-size: 0px;
padding: 10px 25px;
padding-top: 28px;
padding-right: 25px;
padding-bottom: 18px;
padding-left: 25px;
word-break: break-word;
"
>
<div
style="
font-family: Poppins,
Arial, sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 1;
text-align: center;
color: #374493;
"
>
Verifica tu registro
</div>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div
style="
background: #ffffff;
background-color: #ffffff;
margin: 0px auto;
max-width: 600px;
"
>
<table
align="center"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="
background: #ffffff;
background-color: #ffffff;
width: 100%;
"
>
<tbody>
<tr>
<td
style="
direction: ltr;
font-size: 0px;
padding: 20px 0;
padding-bottom: 5px;
padding-top: 0;
text-align: center;
"
>
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
<div
class="mj-column-per-100 mj-outlook-group-fix"
style="
font-size: 0px;
text-align: left;
direction: ltr;
display: inline-block;
vertical-align: top;
width: 100%;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
>
<tr>
<td
align="center"
style="
font-size: 0px;
padding: 10px 25px;
padding-right: 0px;
padding-left: 0px;
word-break: break-word;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="
border-collapse: collapse;
border-spacing: 0px;
"
>
<tbody>
<tr>
<td
style="
width: 250px;
"
></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr></tr>
<tr>
<td
align="center"
width="50"
style="
font-size: 0px;
padding: 10px 25px;
padding-top: 28px;
padding-right: 25px;
padding-bottom: 28px;
padding-left: 25px;
word-break: break-word;
"
>
<p
style="
font-family: Noto Sans,
sans-serif;
font-size: 17px;
line-height: 1.5;
text-align: center;
color: #374493;
margin: 0 50px;
"
>
Hola {{ user.full_name }},
<br />
Por favor, verifica tu
registro en LaTiendaCOOP
haciendo click en el
siguiente enlace:
<br />
http://{{ domain }}{% url
'activate_user' uidb64=uid
token=token %}
</p>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div
style="
background: #ffffff;
background-color: #ffffff;
margin: 0px auto;
max-width: 600px;
"
>
<table
align="center"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="
background: #ffffff;
background-color: #ffffff;
width: 100%;
"
>
<tbody>
<tr>
<td
style="
direction: ltr;
font-size: 0px;
padding: 20px 0;
padding-bottom: 15px;
text-align: center;
"
>
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:300px;"
>
<![endif]-->
<div
class="mj-column-per-50 mj-outlook-group-fix"
style="
font-size: 0px;
text-align: left;
direction: ltr;
display: inline-block;
vertical-align: top;
width: 100%;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<!--[if mso | IE]>
</td>
</tr>
</table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div
style="
background: #ffffff;
background-color: #ffffff;
margin: 0px auto;
max-width: 600px;
"
>
<table
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
style="vertical-align: top"
width="100%"
>
<tr>
<td
align="center"
style="
font-size: 0px;
padding: 10px 25px;
padding-top: 20px;
padding-right: 25px;
padding-bottom: 20px;
padding-left: 25px;
word-break: break-word;
"
>
<div
style="
font-family: Poppins;
font-size: 15px;
line-height: 1;
text-align: center;
color: #374493;
"
>
2021 La Tienda.coop
</div>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</div>
</body>
</html>
</html>