83 lines
2.4 KiB
HTML
83 lines
2.4 KiB
HTML
{% autoescape off %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<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;
|
|
}
|
|
.container {
|
|
background-color: #f9f9f9;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
padding: 25px;
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
.logo {
|
|
max-width: 100px;
|
|
margin-bottom: 15px;
|
|
}
|
|
h1 {
|
|
color: #4285f4;
|
|
font-size: 24px;
|
|
margin: 0;
|
|
}
|
|
.content {
|
|
margin-bottom: 30px;
|
|
}
|
|
.reset-code {
|
|
background-color: #f0f0f0;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
letter-spacing: 5px;
|
|
margin: 20px 0;
|
|
color: #4285f4;
|
|
}
|
|
.footer {
|
|
font-size: 12px;
|
|
color: #777;
|
|
text-align: center;
|
|
margin-top: 30px;
|
|
border-top: 1px solid #ddd;
|
|
padding-top: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>Password Reset</h1>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<p>Hello,</p>
|
|
<p>We received a request to reset your password for your Student Management System account. If you did not make this request, please ignore this email.</p>
|
|
<p>To reset your password, use the following code:</p>
|
|
<div class="reset-code">{{ reset_code }}</div>
|
|
<p>This code will expire in 5 minutes.</p>
|
|
<p>If you have any questions, please contact the system administrator.</p>
|
|
<p>Thank you,<br>Student Management System Team</p>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>This email was sent to you because someone requested a password reset for your account.</p>
|
|
<p>© {% now "Y" %} Student Management System. All rights reserved.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
{% endautoescape %} |