Files
hotgo/server/resource/template/email/code.html
2023-02-08 20:29:34 +08:00

217 lines
7.5 KiB
Go

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>验证码邮件</title>
<style>
html,
body {
margin: 0 auto !important;
padding: 0 !important;
width: 100% !important;
font-family: sans-serif;
line-height: 1.4;
-webkit-font-smoothing: antialiased;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
* {
-ms-text-size-adjust: 100%;
}
table,
td {
mso-table-lspace: 0 !important;
mso-table-rspace: 0 !important;
}
img {
display: block;
border: none;
max-width: 100%;
-ms-interpolation-mode: bicubic;
}
a {
text-decoration: none;
}
</style>
</head>
<body
leftmargin="0"
marginwidth="0"
topmargin="0"
marginheight="0"
offset="0"
width="100%"
style="margin: 0; padding: 0 !important; mso-line-height-rule: exactly"
>
<table
role="presentation"
align="center"
valign="top"
border="0"
cellpadding="0"
cellspacing="0"
height="100%"
width="100%"
style="border-spacing: 0;
border-collapse: collapse;
vertical-align: top;
padding: 0;
margin: 0;
width: 100%;
text-align: center;"
>
<tr>
<td align="center" valign="top">
<table
role="presentation"
align="center"
border="0"
cellpadding="0"
cellspacing="0"
width="600"
bgcolor="#ffffff"
style="max-width: 600px;
border-spacing: 0;
border-collapse: collapse;
vertical-align: top;
padding: 0;
margin: 0;
width: 100%;
background: #ffffff;"
>
<tr>
<td height=40" style="height:40px"></td>
</tr>
<tr>
<td align="center" valign="top">
<table
role="presentation"
align="center"
border="0"
cellpadding="0"
cellspacing="0"
width="440"
style="max-width: 440px;
border-spacing: 0;
border-collapse: collapse;
vertical-align: top;
padding: 0;
margin: 0;
width: 100%;
text-align: center;"
>
<tr>
<td align="center">
<img
src="@{.logo}"
width="170"
style="border: none; display: block; max-width: 170px; width: 100%"
alt="logo">
</td>
</tr>
<tr>
<td height="40" style="height:40px"></td>
</tr>
<tr>
<td>
<h1
style="font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
color: #010E28;
font-weight: bold;
margin: 0 0 5px;
padding: 0"
>
这是你发送的验证码吗?
</h1>
</td>
</tr>
<tr>
<td height="15" style="height: 15px"></td>
</tr>
<tr>
<td>
<p
style="font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
color: #5B6987;
margin: 0;
padding: 0;
line-height: 20px;"
>
@{.os} <br />
@{.cityLabel} (estimated) <br />
IP 地址: @{.ip}
</p>
</td>
</tr>
<tr>
<td height="30" style="height: 30px"></td>
</tr>
<tr>
<td>
<p
style="font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
color: #5B6987;
margin: 0;
padding: 0;
line-height: 20px;
font-weight: bold;"
>
如果是,请输入验证码:
</p>
</td>
</tr>
<tr>
<td height="20" style="height: 20px"></td>
</tr>
<tr>
<td>
<p
style="font-family: Arial, Helvetica, sans-serif;
font-size: 35px;
color: #010E28;
margin: 0;
padding: 0;
line-height: 20px;
font-weight: bold;"
>
@{.code}
</p>
</td>
</tr>
<tr>
<td height="20" style="height: 20px"> </td>
</tr>
<tr>
<td>
<p
style="font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
color: #5B6987;
margin: 0;
padding: 0;
line-height: 20px;
font-weight: bold;"
>
该验证码@{.expires}分钟内有效,请不要告诉于他人!
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="40" style="height:40px"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>