mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 13:31:22 -05:00
- Created a base email template (base.html) for consistent styling across all emails. - Added moderation approval email template (moderation_approved.html) to notify users of approved submissions. - Added moderation rejection email template (moderation_rejected.html) to inform users of required changes for their submissions. - Created password reset email template (password_reset.html) for users requesting to reset their passwords. - Developed a welcome email template (welcome.html) to greet new users and provide account details and tips for using ThrillWiki.
48 lines
1.7 KiB
HTML
48 lines
1.7 KiB
HTML
{% extends "emails/base.html" %}
|
|
|
|
{% block title %}Reset Your Password - ThrillWiki{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Password Reset Request</h2>
|
|
|
|
<p>Hello {{ user.first_name|default:user.email }},</p>
|
|
|
|
<p>We received a request to reset the password for your ThrillWiki account.</p>
|
|
|
|
<div class="info-box">
|
|
<p><strong>Account:</strong> {{ user.email }}</p>
|
|
<p><strong>Request time:</strong> {{ request_time|date:"F d, Y g:i A" }}</p>
|
|
</div>
|
|
|
|
<p>Click the button below to reset your password:</p>
|
|
|
|
<div style="text-align: center; margin: 30px 0;">
|
|
<a href="{{ reset_url }}" class="button">Reset Password</a>
|
|
</div>
|
|
|
|
<p style="font-size: 14px; color: #666;">
|
|
Or copy and paste this link into your browser:<br>
|
|
<code style="background: #f5f5f5; padding: 5px 10px; display: inline-block; margin-top: 5px; border-radius: 4px; word-break: break-all;">{{ reset_url }}</code>
|
|
</p>
|
|
|
|
<div class="warning-box">
|
|
<p><strong>⚠️ Security Notice:</strong></p>
|
|
<ul style="margin: 10px 0; padding-left: 20px;">
|
|
<li>This link will expire in <strong>{{ expiry_hours }} hours</strong></li>
|
|
<li>This link can only be used once</li>
|
|
<li>If you didn't request this reset, you can safely ignore this email</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h3>Didn't request this?</h3>
|
|
<p>If you didn't request a password reset, your account may be at risk. Please:</p>
|
|
<ol style="margin: 10px 0; padding-left: 20px;">
|
|
<li>Log in to your account immediately</li>
|
|
<li>Change your password as a precaution</li>
|
|
<li>Contact our support team if you notice any suspicious activity</li>
|
|
</ol>
|
|
|
|
<p style="margin-top: 30px;">Stay safe!</p>
|
|
<p><strong>The ThrillWiki Team</strong></p>
|
|
{% endblock %}
|