Enhances user experience with dark‑mode detection, responsive layout, and streamlined role selection workflow
85 lines
2.0 KiB
HTML
85 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f3f4f6;
|
|
}
|
|
.email-wrapper {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 24px 16px;
|
|
}
|
|
.email-header {
|
|
background: linear-gradient(135deg, #2563eb, #3b82f6);
|
|
padding: 32px 24px;
|
|
border-radius: 12px 12px 0 0;
|
|
text-align: center;
|
|
}
|
|
.email-header h1 {
|
|
color: #ffffff;
|
|
margin: 0;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
}
|
|
.email-body {
|
|
background-color: #ffffff;
|
|
padding: 32px 24px;
|
|
border-radius: 0 0 12px 12px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.email-footer {
|
|
text-align: center;
|
|
padding: 24px;
|
|
color: #9ca3af;
|
|
font-size: 12px;
|
|
}
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 12px 24px;
|
|
background-color: #2563eb;
|
|
color: #ffffff !important;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
margin: 16px 0;
|
|
}
|
|
.btn:hover {
|
|
background-color: #1d4ed8;
|
|
}
|
|
.text-muted {
|
|
color: #6b7280;
|
|
font-size: 14px;
|
|
}
|
|
.text-sm {
|
|
font-size: 13px;
|
|
}
|
|
hr {
|
|
border: none;
|
|
border-top: 1px solid #e5e7eb;
|
|
margin: 20px 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="email-wrapper">
|
|
<div class="email-header">
|
|
<h1>{{ site_name|default:"Project Management" }}</h1>
|
|
</div>
|
|
<div class="email-body">
|
|
{% block email_content %}{% endblock %}
|
|
</div>
|
|
<div class="email-footer">
|
|
<p>This is an automated notification from {{ site_name|default:"Project Management" }}.</p>
|
|
<p>You are receiving this because you are a member of the project.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|