Files
SerpentRace/SerpentRace_Backend/dist/Templates/password-reset.html
T

204 lines
6.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SerpentRace - Password Reset Request</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
.email-container {
background-color: #ffffff;
padding: 40px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header {
text-align: center;
margin-bottom: 30px;
border-bottom: 2px solid #FF9800;
padding-bottom: 20px;
}
.logo {
font-size: 28px;
font-weight: bold;
color: #E65100;
margin-bottom: 10px;
}
.subtitle {
color: #666;
font-size: 16px;
}
.content {
margin-bottom: 30px;
}
.greeting {
font-size: 18px;
margin-bottom: 20px;
color: #E65100;
}
.message {
font-size: 16px;
margin-bottom: 25px;
line-height: 1.8;
}
.reset-button {
display: inline-block;
background-color: #FF9800;
color: white !important;
padding: 15px 30px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
font-size: 16px;
margin: 20px 0;
transition: background-color 0.3s;
}
.reset-button:hover {
background-color: #F57C00;
}
.button-container {
text-align: center;
margin: 30px 0;
}
.alternative-link {
background-color: #f9f9f9;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
border-left: 4px solid #FF9800;
}
.alternative-link p {
margin: 5px 0;
font-size: 14px;
}
.token-display {
background-color: #f0f0f0;
padding: 10px;
border-radius: 4px;
font-family: monospace;
font-size: 14px;
word-break: break-all;
margin: 10px 0;
}
.footer {
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #eee;
font-size: 14px;
color: #666;
text-align: center;
}
.warning {
background-color: #ffebee;
border: 1px solid #ffcdd2;
color: #c62828;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
.support-info {
background-color: #e3f2fd;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
.security-tip {
background-color: #e8f5e8;
border: 1px solid #c8e6c9;
color: #2e7d32;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
</style>
</head>
<body>
<div class="email-container">
<div class="header">
<div class="logo">🐍 {{ companyName }}</div>
<div class="subtitle">Password Reset Request</div>
</div>
<div class="content">
<div class="greeting">
Hello {{ userName }}! 🔐
</div>
<div class="message">
We received a request to reset your password for your {{ companyName }} account.
<br><br>
If you made this request, click the button below to reset your password:
</div>
<div class="button-container">
<a href="{{ resetUrl }}" class="reset-button">
🔒 Reset My Password
</a>
</div>
<div class="alternative-link">
<p><strong>Can't click the button?</strong> Copy and paste this link into your browser:</p>
<p style="word-break: break-all; color: #FF9800;">{{ resetUrl }}</p>
</div>
<div class="alternative-link">
<p><strong>Reset Token:</strong></p>
<div class="token-display">{{ resetToken }}</div>
<p style="font-size: 12px; color: #666;">You can also use this token manually if needed.</p>
</div>
<div class="warning">
<strong>🚨 Important Security Information:</strong>
<br>
• This password reset link will expire in 1 hour for your security
• If you didn't request a password reset, please ignore this email and your password will remain unchanged
• Never share your reset token with anyone
• {{ companyName }} will never ask for your password via email
</div>
<div class="security-tip">
<strong>💡 Security Tips for your new password:</strong>
<br>
• Use at least 8 characters
• Include uppercase and lowercase letters
• Add numbers and special characters
• Don't reuse passwords from other accounts
• Consider using a password manager
</div>
<div class="message">
<strong>Didn't request this reset?</strong>
<br>
If you didn't request a password reset, your account is still secure. You can safely ignore this email.
However, if you're concerned about unauthorized access, please contact our support team immediately.
</div>
</div>
<div class="support-info">
<p><strong>Need help or have security concerns?</strong></p>
<p>Contact our support team immediately at
<a href="mailto:{{ supportEmail }}" style="color: #FF9800;">{{ supportEmail }}</a></p>
<p style="font-size: 12px; margin-top: 10px;">
For your security, we may ask you to verify your identity when contacting support.
</p>
</div>
<div class="footer">
<p>This email was sent by {{ companyName }} Security Team</p>
<p>This is an automated message, please do not reply to this email.</p>
<p style="margin-top: 15px; font-size: 12px;">
© 2025 {{ companyName }}. All rights reserved.
</p>
</div>
</div>
</body>
</html>