Initial commit
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
@{
|
||||
ViewData["Title"] = "Email Preferences Updated";
|
||||
Layout = null;
|
||||
var alreadyDone = (bool)(ViewBag.AlreadyUnsubscribed ?? false);
|
||||
var name = (string?)ViewBag.CompanyName;
|
||||
}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"]</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/lib/bootstrap-icons/font/bootstrap-icons.css" />
|
||||
<style>
|
||||
body { background: #f8f9fa; }
|
||||
.card { max-width: 540px; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="d-flex align-items-center justify-content-center min-vh-100">
|
||||
<div class="card border-0 shadow-sm mx-auto p-4 text-center">
|
||||
<div class="mb-3">
|
||||
<i class="bi bi-envelope-x text-success" style="font-size: 3rem;"></i>
|
||||
</div>
|
||||
<h2 class="h4 mb-3">
|
||||
@(alreadyDone ? "Already Unsubscribed" : "You've Been Unsubscribed")
|
||||
</h2>
|
||||
@if (!string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
<p class="text-muted">Account: <strong>@name</strong></p>
|
||||
}
|
||||
@if (alreadyDone)
|
||||
{
|
||||
<p class="text-muted">
|
||||
This account is already opted out of platform announcement emails.
|
||||
No further action is needed.
|
||||
</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p class="text-muted">
|
||||
You've been successfully removed from Powder Coating Logix platform
|
||||
announcement and broadcast emails.
|
||||
</p>
|
||||
<p class="text-muted small">
|
||||
You will still receive transactional emails (password resets, billing receipts).
|
||||
If you change your mind, contact <a href="mailto:support@powdercoatinglogix.com">support@powdercoatinglogix.com</a>.
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,51 @@
|
||||
@{
|
||||
ViewData["Title"] = "Email Preferences Updated";
|
||||
Layout = null; // Standalone page — no sidebar, no nav
|
||||
var alreadyDone = (bool)(ViewBag.AlreadyUnsubscribed ?? false);
|
||||
var name = (string?)ViewBag.CustomerName;
|
||||
}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"]</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/lib/bootstrap-icons/font/bootstrap-icons.css" />
|
||||
<style>
|
||||
body { background: #f8f9fa; }
|
||||
.card { max-width: 540px; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="d-flex align-items-center justify-content-center min-vh-100">
|
||||
<div class="card border-0 shadow-sm mx-auto p-4 text-center">
|
||||
<div class="mb-3">
|
||||
<i class="bi bi-envelope-x text-success" style="font-size: 3rem;"></i>
|
||||
</div>
|
||||
<h2 class="h4 mb-3">
|
||||
@(alreadyDone ? "Already Unsubscribed" : "You've Been Unsubscribed")
|
||||
</h2>
|
||||
@if (!string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
<p class="text-muted">Hi <strong>@name</strong>,</p>
|
||||
}
|
||||
@if (alreadyDone)
|
||||
{
|
||||
<p class="text-muted">
|
||||
Your email address is already opted out of notifications.
|
||||
No further action is needed.
|
||||
</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p class="text-muted">
|
||||
You've been successfully removed from our email notification list.
|
||||
You will no longer receive job status updates or quote notifications by email.
|
||||
</p>
|
||||
<p class="text-muted small">
|
||||
If you change your mind, contact us and we'll re-enable email notifications for you.
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,30 @@
|
||||
@{
|
||||
ViewData["Title"] = "Invalid Unsubscribe Link";
|
||||
Layout = null;
|
||||
}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"]</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/lib/bootstrap-icons/font/bootstrap-icons.css" />
|
||||
<style>
|
||||
body { background: #f8f9fa; }
|
||||
.card { max-width: 540px; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="d-flex align-items-center justify-content-center min-vh-100">
|
||||
<div class="card border-0 shadow-sm mx-auto p-4 text-center">
|
||||
<div class="mb-3">
|
||||
<i class="bi bi-exclamation-triangle text-warning" style="font-size: 3rem;"></i>
|
||||
</div>
|
||||
<h2 class="h4 mb-3">Invalid or Expired Link</h2>
|
||||
<p class="text-muted">
|
||||
This unsubscribe link is invalid or has already been used.
|
||||
If you'd like to update your notification preferences, please contact us directly.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user