Noel-Teens's picture
email invite implemented
25039bc
Raw History Blame Contribute Delete
2.39 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>You're invited to join PMS</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.header {
background-color: #f8f9fa;
padding: 20px;
text-align: center;
border-radius: 8px 8px 0 0;
}
.content {
background-color: #ffffff;
padding: 30px;
border: 1px solid #e9ecef;
}
.footer {
background-color: #f8f9fa;
padding: 15px;
text-align: center;
border-radius: 0 0 8px 8px;
font-size: 12px;
color: #6c757d;
}
.btn {
display: inline-block;
padding: 12px 30px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
margin: 20px 0;
}
.btn:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="header">
<h1>Welcome to Project Management System</h1>
</div>
<div class="content">
<h2>You've been invited!</h2>
<p>Hello,</p>
<p>{% if inviter %}{{ inviter }}{% else %}An administrator{% endif %} has invited you to join the Project Management System (PMS).</p>
<p>To complete your registration and create your account, please click the button below:</p>
<div style="text-align: center;">
<a href="{{ invite_link }}" class="btn">Accept Invitation</a>
</div>
<p><strong>Important:</strong> This invitation will expire in 48 hours. If you don't accept the invitation within this time, you'll need to request a new one.</p>
<p>If you didn't expect this invitation or believe you received it in error, please ignore this email.</p>
<p>Best regards,<br>
The NeuroStack Team</p>
</div>
<div class="footer">
<p>This is an automated message. Please do not reply to this email.</p>
</div>
</body>
</html>