115 lines
3.4 KiB
HTML
115 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Password Reset</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: #f4f4f4;
|
|
}
|
|
.container {
|
|
background-color: #ffffff;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
padding-bottom: 20px;
|
|
border-bottom: 2px solid #FF9800;
|
|
}
|
|
h1 {
|
|
color: #FF9800;
|
|
margin: 0;
|
|
}
|
|
.content {
|
|
margin: 30px 0;
|
|
}
|
|
.button {
|
|
display: inline-block;
|
|
padding: 12px 30px;
|
|
background-color: #FF9800;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
}
|
|
.button:hover {
|
|
background-color: #F57C00;
|
|
}
|
|
.link-container {
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
}
|
|
.footer {
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #ddd;
|
|
font-size: 12px;
|
|
color: #666;
|
|
text-align: center;
|
|
}
|
|
.code {
|
|
background-color: #f5f5f5;
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
word-break: break-all;
|
|
font-family: monospace;
|
|
}
|
|
.warning {
|
|
background-color: #fff3cd;
|
|
border-left: 4px solid #FF9800;
|
|
padding: 12px;
|
|
margin: 20px 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>Password Reset 🔐</h1>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<p>Hi{% if user.first_name %} {{ user.first_name }}{% endif %},</p>
|
|
|
|
<p>We received a request to reset your password. Click the button below to choose a new password:</p>
|
|
|
|
<div class="link-container">
|
|
<a href="{{ protocol }}://{{ domain }}/{{ url }}" class="button">Reset Password</a>
|
|
</div>
|
|
|
|
<p>Or copy and paste this link into your browser:</p>
|
|
<div class="code">
|
|
{{ protocol }}://{{ domain }}/{{ url }}
|
|
</div>
|
|
|
|
<div class="warning">
|
|
<strong>⚠️ Security Note:</strong> This password reset link will expire in 1 hour. If you didn't request a password reset, please ignore this email and your password will remain unchanged.
|
|
</div>
|
|
|
|
<p>For security reasons, we recommend that you:</p>
|
|
<ul>
|
|
<li>Choose a strong, unique password</li>
|
|
<li>Don't reuse passwords from other sites</li>
|
|
<li>Enable two-factor authentication if available</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>This is an automated message, please do not reply to this email.</p>
|
|
<p>© {{ site_name }} - All rights reserved</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|