recator placement of code
This commit is contained in:
69
backend/utils/mailViews/forgotPassword.hbs
Normal file
69
backend/utils/mailViews/forgotPassword.hbs
Normal file
@@ -0,0 +1,69 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Password Reset</title>
|
||||
{{> styles}}
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
color: #333333;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f9fafb;
|
||||
}
|
||||
.email-container {
|
||||
max-width: 600px;
|
||||
margin: 40px auto;
|
||||
padding: 20px;
|
||||
background-color: #ffffff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
|
||||
}
|
||||
h2 {
|
||||
color: #1a1a1a;
|
||||
}
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 12px 24px;
|
||||
margin: 20px 0;
|
||||
font-size: 16px;
|
||||
color: #ffffff;
|
||||
background-color: #4f46e5;
|
||||
text-decoration: none;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.footer {
|
||||
font-size: 13px;
|
||||
color: #666666;
|
||||
margin-top: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="email-container">
|
||||
<h2>Password Reset Request</h2>
|
||||
<p>Hi {{username}},</p>
|
||||
|
||||
<p>We received a request to reset the password for your account ({{email}}). If this was you, you can create a new password by clicking the button below:</p>
|
||||
|
||||
<p style="text-align:center;">
|
||||
<a href="{{url}}" class="btn">Reset Your Password</a>
|
||||
</p>
|
||||
|
||||
<p>If the button above doesn’t work, copy and paste the following link into your web browser:</p>
|
||||
<p style="word-break: break-all; color:#4f46e5;">{{url}}</p>
|
||||
|
||||
<p><strong>Note:</strong> This link will expire in <b>{{expiry}}</b> for your security.</p>
|
||||
|
||||
<p>If you did not request a password reset, you can safely ignore this email — your account will remain secure.</p>
|
||||
|
||||
<p>Thanks,<br/>The LST Team</p>
|
||||
|
||||
<div class="footer">
|
||||
<p>You are receiving this email because a password reset was requested for your account.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user