HH/templates/organizations/emails/staff_credentials.html
2026-01-12 12:19:19 +03:00

147 lines
4.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your PX360 Account Credentials</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 30px;
text-align: center;
border-radius: 10px 10px 0 0;
}
.header h1 {
margin: 0;
font-size: 28px;
}
.content {
background: #f9f9f9;
padding: 30px;
border: 1px solid #ddd;
border-top: none;
border-radius: 0 0 10px 10px;
}
.credentials-box {
background: white;
border: 2px solid #667eea;
border-radius: 8px;
padding: 20px;
margin: 20px 0;
}
.credentials-box h3 {
margin-top: 0;
color: #667eea;
}
.credential-item {
margin: 15px 0;
}
.credential-label {
font-weight: bold;
color: #555;
display: block;
margin-bottom: 5px;
}
.credential-value {
font-size: 18px;
color: #333;
padding: 10px;
background: #f0f0f0;
border-radius: 5px;
display: inline-block;
font-family: monospace;
}
.button {
display: inline-block;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 12px 30px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
margin: 20px 0;
}
.button:hover {
opacity: 0.9;
}
.warning {
background: #fff3cd;
border: 1px solid #ffc107;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
.warning p {
margin: 0;
color: #856404;
}
.footer {
text-align: center;
margin-top: 30px;
color: #777;
font-size: 12px;
}
.greeting {
font-size: 18px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="header">
<h1>Welcome to PX360</h1>
</div>
<div class="content">
<p class="greeting">Dear {{ staff.get_full_name }},</p>
<p>Your PX360 account has been created successfully. Below are your login credentials:</p>
<div class="credentials-box">
<h3>Your Account Details</h3>
<div class="credential-item">
<span class="credential-label">Username:</span>
<span class="credential-value">{{ user.username }}</span>
</div>
<div class="credential-item">
<span class="credential-label">Password:</span>
<span class="credential-value">{{ password }}</span>
</div>
<div class="credential-item">
<span class="credential-label">Email:</span>
<span class="credential-value">{{ staff.email }}</span>
</div>
</div>
<div class="warning">
<p><strong>⚠️ Security Notice:</strong> Please change your password after your first login for security purposes.</p>
</div>
<div style="text-align: center;">
<a href="{{ login_url }}" class="button">Login to PX360</a>
</div>
<p>If you have any questions or need assistance, please contact your system administrator.</p>
<p>Best regards,<br>The PX360 Team</p>
</div>
<div class="footer">
<p>This is an automated message. Please do not reply to this email.</p>
<p>&copy; {% now "Y" %} PX360. All rights reserved.</p>
</div>
</body>
</html>