179 lines
5.2 KiB
HTML
179 lines
5.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>{% block title %}{{ company_name|default:"IGNY8" }}{% endblock %}</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333333;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f5f5f5;
|
|
}
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
padding: 30px 20px;
|
|
background-color: #0c1e35;
|
|
border-radius: 12px 12px 0 0;
|
|
}
|
|
.header img {
|
|
max-height: 40px;
|
|
width: auto;
|
|
}
|
|
.header .logo-text {
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
}
|
|
.content {
|
|
background-color: #ffffff;
|
|
padding: 40px 30px;
|
|
}
|
|
.footer {
|
|
text-align: center;
|
|
padding: 24px 20px;
|
|
background-color: #f8fafc;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
border-radius: 0 0 12px 12px;
|
|
}
|
|
.footer a {
|
|
color: #3b82f6;
|
|
text-decoration: none;
|
|
}
|
|
.footer a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.button {
|
|
display: inline-block;
|
|
padding: 14px 32px;
|
|
background-color: #3b82f6;
|
|
color: #ffffff !important;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
margin: 20px 0;
|
|
}
|
|
.button:hover {
|
|
background-color: #2563eb;
|
|
}
|
|
.button-secondary {
|
|
background-color: #64748b;
|
|
}
|
|
.button-secondary:hover {
|
|
background-color: #475569;
|
|
}
|
|
.info-box {
|
|
background-color: #eff6ff;
|
|
border-left: 4px solid #3b82f6;
|
|
padding: 16px 20px;
|
|
margin: 20px 0;
|
|
border-radius: 0 8px 8px 0;
|
|
}
|
|
.warning-box {
|
|
background-color: #fef3c7;
|
|
border-left: 4px solid #f59e0b;
|
|
padding: 16px 20px;
|
|
margin: 20px 0;
|
|
border-radius: 0 8px 8px 0;
|
|
}
|
|
.success-box {
|
|
background-color: #dcfce7;
|
|
border-left: 4px solid #22c55e;
|
|
padding: 16px 20px;
|
|
margin: 20px 0;
|
|
border-radius: 0 8px 8px 0;
|
|
}
|
|
.error-box {
|
|
background-color: #fee2e2;
|
|
border-left: 4px solid #ef4444;
|
|
padding: 16px 20px;
|
|
margin: 20px 0;
|
|
border-radius: 0 8px 8px 0;
|
|
}
|
|
h1, h2, h3 {
|
|
color: #0f172a;
|
|
margin-top: 0;
|
|
}
|
|
h1 {
|
|
font-size: 24px;
|
|
}
|
|
h2 {
|
|
font-size: 20px;
|
|
}
|
|
a {
|
|
color: #3b82f6;
|
|
}
|
|
.details-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 20px 0;
|
|
}
|
|
.details-table td {
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
.details-table td:first-child {
|
|
color: #64748b;
|
|
width: 40%;
|
|
font-size: 14px;
|
|
}
|
|
.details-table td:last-child {
|
|
font-weight: 500;
|
|
color: #0f172a;
|
|
}
|
|
.divider {
|
|
height: 1px;
|
|
background-color: #e2e8f0;
|
|
margin: 24px 0;
|
|
}
|
|
.text-muted {
|
|
color: #64748b;
|
|
font-size: 14px;
|
|
}
|
|
.text-small {
|
|
font-size: 12px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<a href="{{ frontend_url }}">
|
|
{% if logo_url %}
|
|
<img src="{{ logo_url }}" alt="{{ company_name|default:'IGNY8' }}" />
|
|
{% else %}
|
|
<span class="logo-text">{{ company_name|default:"IGNY8" }}</span>
|
|
{% endif %}
|
|
</a>
|
|
</div>
|
|
<div class="content">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
<div class="footer">
|
|
{% if company_address %}
|
|
<p style="margin-bottom: 12px;">{{ company_address }}</p>
|
|
{% endif %}
|
|
<p style="margin-bottom: 8px;">
|
|
<a href="{{ frontend_url }}/privacy">Privacy Policy</a> |
|
|
<a href="{{ frontend_url }}/terms">Terms of Service</a>{% if unsubscribe_url %} |
|
|
<a href="{{ unsubscribe_url }}">Email Preferences</a>{% endif %}
|
|
</p>
|
|
<p style="color: #94a3b8; margin-top: 16px;">
|
|
© {{ current_year|default:"2026" }} {{ company_name|default:"IGNY8" }}. All rights reserved.
|
|
</p>
|
|
{% if recipient_email %}<p style="color: #94a3b8; font-size: 11px; margin-top: 8px;">This email was sent to {{ recipient_email }}</p>{% endif %}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|