- Implemented `send_subscription_confirmation` function to send a confirmation email upon subscription. - Added a default HTML template for the confirmation email in settings. - Updated the newsletter management page to handle subscription and unsubscription actions. - Created new templates for embedding contact and newsletter forms. - Added styles for the new templates and unified CSS styles across the application. - Updated tests to reflect changes in the newsletter management API endpoints.
39 lines
1.0 KiB
HTML
39 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Unsubscription Confirmed</title>
|
|
<link rel="stylesheet" href="/static/css/styles.css" />
|
|
<style>
|
|
.confirmation-container {
|
|
text-align: center;
|
|
}
|
|
.icon {
|
|
font-size: 48px;
|
|
color: #28a745;
|
|
margin-bottom: 20px;
|
|
}
|
|
.back-link {
|
|
margin-top: 30px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="confirmation-container">
|
|
<div class="icon">✓</div>
|
|
<h1>Unsubscription Confirmed</h1>
|
|
<p>
|
|
You have been successfully unsubscribed from our newsletter. We're sorry
|
|
to see you go, but you can always subscribe again if you change your
|
|
mind.
|
|
</p>
|
|
<p>
|
|
If you unsubscribed by mistake or have any questions, please feel free
|
|
to contact us.
|
|
</p>
|
|
<a href="/" class="back-link">Return to Homepage</a>
|
|
</div>
|
|
</body>
|
|
</html>
|