-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kerwin
committed
Apr 16, 2023
1 parent
77c8a32
commit f0f1cfb
Showing
20 changed files
with
360 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
144 changes: 144 additions & 0 deletions
144
service/src/utils/templates/mail.resetpassword.template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<html> | ||
|
||
<head> </head> | ||
|
||
<body> | ||
<div class="page flex-col"> | ||
<div class="box_3 flex-col" style=" | ||
display: flex; | ||
position: relative; | ||
width: 100%; | ||
height: 206px; | ||
background: #ef859d2e; | ||
top: 0; | ||
left: 0; | ||
justify-content: center; | ||
"> | ||
<div class="section_1 flex-col" style=" | ||
background-image: url("https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.jpg"); | ||
position: absolute; | ||
width: 152px; | ||
height: 152px; | ||
display: flex; | ||
top: 130px; | ||
background-size: cover; | ||
border-radius: 50%; | ||
margin: 10px; | ||
"></div> | ||
</div> | ||
<div class="box_4 flex-col" style=" | ||
margin-top: 92px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
"> | ||
<div class="text-group_5 flex-col justify-between" style=" | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
margin: 0 20px; | ||
"> | ||
<span class="text_1" style=" | ||
font-size: 26px; | ||
font-family: PingFang-SC-Bold, PingFang-SC; | ||
font-weight: bold; | ||
color: #000000; | ||
line-height: 37px; | ||
text-align: center; | ||
"> | ||
<target="_blank" style="text-decoration: none; color: #0088cc;">${SITE_TITLE}</a> 重置密码 | ||
</span> | ||
|
||
<div class="box_2 flex-row" style=" | ||
margin: 0 20px; | ||
min-height: 128px; | ||
background: #F7F7F7; | ||
border-radius: 12px; | ||
margin-top: 34px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
padding: 32px 16px; | ||
width: calc(100% - 40px); | ||
"> | ||
|
||
<div class="text-wrapper_4 flex-col justify-between" style=" | ||
display: flex; | ||
flex-direction: column; | ||
margin-left: 30px; | ||
margin-bottom: 16px; | ||
"> | ||
<hr> | ||
<span class="text_3" style=" font-family: Arial, sans-serif; font-size: 16px; color: #333;"> | ||
<h1 style="color: #0088cc;"> | ||
感谢您使用 | ||
<a target="_blank" style="text-decoration: none; color: #0088cc;">${SITE_TITLE}</a>, | ||
您的重置密码链接为(12小时内有效): | ||
</span> | ||
</div> | ||
<hr style=" | ||
display: flex; | ||
position: relative; | ||
border: 1px dashed #ef859d2e; | ||
box-sizing: content-box; | ||
height: 0px; | ||
overflow: visible; | ||
width: 100%; | ||
"> | ||
<div class="text-wrapper_4 flex-col justify-between" style=" | ||
display: flex; | ||
flex-direction: column; | ||
margin-left: 30px; | ||
"> | ||
<hr> | ||
</h1> | ||
<p style="margin-top: 20px;"> | ||
请点击以下按钮进行重置密码: | ||
<span class="text_4" style=" | ||
margin-top: 6px; | ||
margin-right: 22px; | ||
font-size: 16px; | ||
font-family: PingFangSC-Regular, PingFang SC; | ||
font-weight: 400; | ||
color: #000000; | ||
line-height: 22px; | ||
"></span> | ||
</div> | ||
|
||
<a target="_blank" class="text-wrapper_2 flex-col" style=" | ||
min-width: 106px; | ||
height: 38px; | ||
background: #ef859d38; | ||
border-radius: 32px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
text-decoration: none; | ||
margin: auto; | ||
margin-top: 32px; | ||
" href="${VERIFY_URL}"> | ||
<span class="text_5" style=" | ||
color: #DB214B; | ||
">重置密码</span> | ||
</a> | ||
</div> | ||
<div class="text-group_6 flex-col justify-between" style=" | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
margin-top: 34px; | ||
"> | ||
<span class="text_6" style=" | ||
height: 17px; | ||
font-size: 12px; | ||
font-family: PingFangSC-Regular, PingFang SC; | ||
font-weight: 400; | ||
color: #00000045; | ||
line-height: 17px; | ||
">此邮件由服务器自动发出,直接回复无效。</span> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.