first version of send mail with dummy backend and confirm action
This commit is contained in:
408
cntmanage/templates/email/mail.html
Normal file
408
cntmanage/templates/email/mail.html
Normal file
@@ -0,0 +1,408 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
>
|
||||
<head>
|
||||
<!--[if gte mso 9]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG />
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="x-apple-disable-message-reformatting" />
|
||||
<!--[if !mso]><!-->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<!--<![endif]-->
|
||||
|
||||
<style type="text/css">
|
||||
@media only screen and (min-width: 520px) {
|
||||
.u-row {
|
||||
width: 500px !important;
|
||||
}
|
||||
|
||||
.u-row .u-col {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.u-row .u-col-100 {
|
||||
width: 500px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 520px) {
|
||||
.u-row-container {
|
||||
max-width: 100% !important;
|
||||
padding-left: 0px !important;
|
||||
padding-right: 0px !important;
|
||||
}
|
||||
|
||||
.u-row {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.u-row .u-col {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
min-width: 320px !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
.u-row .u-col > div {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
table,
|
||||
td,
|
||||
tr {
|
||||
border-collapse: collapse;
|
||||
vertical-align: top;
|
||||
}
|
||||
.ie-container table,
|
||||
.mso-container table {
|
||||
table-layout: fixed;
|
||||
}
|
||||
* {
|
||||
line-height: inherit;
|
||||
}
|
||||
a[x-apple-data-detectors="true"] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
table,
|
||||
td {
|
||||
color: #000000;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body
|
||||
class="clean-body u_body"
|
||||
style="
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
background-color: #f7f8f9;
|
||||
color: #000000;
|
||||
"
|
||||
>
|
||||
<!--[if IE]><div class="ie-container"><![endif]-->
|
||||
<!--[if mso]><div class="mso-container"><![endif]-->
|
||||
<table
|
||||
role="presentation"
|
||||
id="u_body"
|
||||
style="
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
border-spacing: 0;
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
vertical-align: top;
|
||||
min-width: 320px;
|
||||
margin: 0 auto;
|
||||
background-color: #f7f8f9;
|
||||
width: 100%;
|
||||
"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
>
|
||||
<tbody>
|
||||
<tr style="vertical-align: top">
|
||||
<td
|
||||
style="
|
||||
word-break: break-word;
|
||||
border-collapse: collapse !important;
|
||||
vertical-align: top;
|
||||
"
|
||||
>
|
||||
<!--[if (mso)|(IE)]><table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #F7F8F9;"><![endif]-->
|
||||
|
||||
<div
|
||||
class="u-row-container"
|
||||
style="padding: 0px; background-color: transparent"
|
||||
>
|
||||
<div
|
||||
class="u-row"
|
||||
style="
|
||||
margin: 0 auto;
|
||||
min-width: 320px;
|
||||
max-width: 500px;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-word;
|
||||
background-color: transparent;
|
||||
"
|
||||
>
|
||||
<div
|
||||
style="
|
||||
border-collapse: collapse;
|
||||
display: table;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: transparent;
|
||||
"
|
||||
>
|
||||
<!--[if (mso)|(IE)]><table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table role="presentation" cellpadding="0" cellspacing="0" border="0" style="width:500px;"><tr style="background-color: transparent;"><![endif]-->
|
||||
|
||||
<!--[if (mso)|(IE)]><td align="center" width="500" style="width: 500px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;" valign="top"><![endif]-->
|
||||
<div
|
||||
class="u-col u-col-100"
|
||||
style="
|
||||
max-width: 320px;
|
||||
min-width: 500px;
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
"
|
||||
>
|
||||
<div
|
||||
style="
|
||||
height: 100%;
|
||||
width: 100% !important;
|
||||
border-radius: 0px;
|
||||
-webkit-border-radius: 0px;
|
||||
-moz-border-radius: 0px;
|
||||
"
|
||||
>
|
||||
<!--[if (!mso)&(!IE)]><!--><div
|
||||
style="
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
padding: 0px;
|
||||
border-top: 0px solid transparent;
|
||||
border-left: 0px solid transparent;
|
||||
border-right: 0px solid transparent;
|
||||
border-bottom: 0px solid transparent;
|
||||
border-radius: 0px;
|
||||
-webkit-border-radius: 0px;
|
||||
-moz-border-radius: 0px;
|
||||
"
|
||||
><!--<![endif]-->
|
||||
<table
|
||||
style="font-family: arial, helvetica, sans-serif"
|
||||
role="presentation"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
width="100%"
|
||||
border="0"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
padding: 10px;
|
||||
font-family: arial, helvetica, sans-serif;
|
||||
"
|
||||
align="left"
|
||||
>
|
||||
<table
|
||||
role="presentation"
|
||||
width="100%"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
border="0"
|
||||
>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
padding-right: 0px;
|
||||
padding-left: 0px;
|
||||
"
|
||||
align="center"
|
||||
>
|
||||
<a
|
||||
href="https://www.cantorair.it"
|
||||
target="_blank"
|
||||
style="
|
||||
color: rgb(0, 0, 238);
|
||||
text-decoration: underline;
|
||||
line-height: inherit;
|
||||
"
|
||||
><img
|
||||
align="center"
|
||||
border="0"
|
||||
src="cid:logo_image"
|
||||
alt="Cantor Air Logo"
|
||||
title=""
|
||||
style="
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
clear: both;
|
||||
display: inline-block !important;
|
||||
border: none;
|
||||
height: auto;
|
||||
float: none;
|
||||
width: 50%;
|
||||
max-width: 240px;
|
||||
"
|
||||
width="240"
|
||||
/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table
|
||||
style="font-family: arial, helvetica, sans-serif"
|
||||
role="presentation"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
width="100%"
|
||||
border="0"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
padding: 10px;
|
||||
font-family: arial, helvetica, sans-serif;
|
||||
"
|
||||
align="left"
|
||||
>
|
||||
<!--[if mso]><table role="presentation" width="100%"><tr><td><![endif]-->
|
||||
<h1
|
||||
style="
|
||||
margin: 0px;
|
||||
line-height: 140%;
|
||||
text-align: center;
|
||||
word-wrap: break-word;
|
||||
font-size: 22px;
|
||||
font-weight: 400;
|
||||
"
|
||||
>
|
||||
<span
|
||||
>✈️ Welcome to CantorAir Flight Scheduler
|
||||
✈️</span
|
||||
>
|
||||
</h1>
|
||||
<!--[if mso]></td></tr></table><![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table
|
||||
style="font-family: arial, helvetica, sans-serif"
|
||||
role="presentation"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
width="100%"
|
||||
border="0"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
padding: 10px;
|
||||
font-family: arial, helvetica, sans-serif;
|
||||
"
|
||||
align="left"
|
||||
>
|
||||
<div
|
||||
style="
|
||||
font-size: 14px;
|
||||
line-height: 140%;
|
||||
text-align: left;
|
||||
word-wrap: break-word;
|
||||
"
|
||||
>
|
||||
<p
|
||||
style="
|
||||
text-align: center;
|
||||
line-height: inherit;
|
||||
margin: 0px;
|
||||
"
|
||||
>
|
||||
<span
|
||||
>You can access the flight scheduler
|
||||
website with this link: </span
|
||||
><br /><a href="https://cms.etss.it/user"
|
||||
><span>https://cms.etss.it</span></a
|
||||
>
|
||||
</p>
|
||||
<p style="text-align: center"><br /></p>
|
||||
<p dir="ltr" style="text-align: center">
|
||||
<span style="font-weight: bold"
|
||||
>Your access credentials:</span
|
||||
>
|
||||
</p>
|
||||
<p dir="ltr" style="text-align: center">
|
||||
<br /><span>Username: {{username}}</span
|
||||
><br /><span>Password: {{password}}</span>
|
||||
</p>
|
||||
<p dir="ltr" style="text-align: center">
|
||||
<br />
|
||||
</p>
|
||||
<p dir="ltr" style="text-align: center">
|
||||
<span
|
||||
>Flight Scheduling is available from </span
|
||||
><br /><span style="font-weight: bold"
|
||||
>Monday to Tuesday until 15.00</span
|
||||
>
|
||||
</p>
|
||||
<p style="text-align: center">
|
||||
<br /><span>_______________________</span>
|
||||
</p>
|
||||
<p dir="ltr" style="text-align: center">
|
||||
<span style="font-style: italic">Team</span
|
||||
><br /><span style="font-weight: bold"
|
||||
>CANTOR AIR IT.ATO.0004</span
|
||||
>
|
||||
</p>
|
||||
<p dir="ltr" style="text-align: center">
|
||||
<span> Email: </span
|
||||
><a
|
||||
href="mailto:info@cantorair.it"
|
||||
target="_blank"
|
||||
style="line-height: 115%"
|
||||
><span>info@cantorair.it</span></a
|
||||
><br /><span>Phone: +39 035 520035</span
|
||||
><br /><span>_______________________</span>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!--[if (!mso)&(!IE)]><!-->
|
||||
</div>
|
||||
<!--<![endif]-->
|
||||
</div>
|
||||
</div>
|
||||
<!--[if (mso)|(IE)]></td><![endif]-->
|
||||
<!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--[if (mso)|(IE)]></td></tr></table><![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!--[if mso]></div><![endif]-->
|
||||
<!--[if IE]></div><![endif]-->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user