117 lines
3.2 KiB
HTML
117 lines
3.2 KiB
HTML
{% load static %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ subject }}</title>
|
|
<style>
|
|
/* Define your custom colors */
|
|
:root {
|
|
--kaauh-teal: #00636e;
|
|
--kaauh-teal-dark: #004a53;
|
|
}
|
|
|
|
/* General Styling */
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f4f4f4;
|
|
font-family: Arial, sans-serif;
|
|
color: #333333;
|
|
}
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 20px auto;
|
|
background-color: #ffffff;
|
|
border: 1px solid #dddddd;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* Soft shadow */
|
|
}
|
|
|
|
/* Header Section */
|
|
.header {
|
|
background-color: #00636e; /* --kaauh-teal */
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
.logo {
|
|
max-width: 80px;
|
|
height: auto;
|
|
border: 2px solid #ffffff; /* White border to make it pop */
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Content Section */
|
|
.content {
|
|
padding: 30px;
|
|
line-height: 1.6;
|
|
}
|
|
h2 {
|
|
color: #004a53; /* --kaauh-teal-dark for headings */
|
|
}
|
|
|
|
/* Button/Call to Action */
|
|
.button-container {
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
}
|
|
.button {
|
|
display: inline-block;
|
|
padding: 12px 25px;
|
|
background-color: #00636e; /* --kaauh-teal */
|
|
color: #ffffff !important;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
/* Simple hover simulation for supporting clients */
|
|
border-bottom: 4px solid #004a53;
|
|
}
|
|
|
|
/* Footer Section */
|
|
.footer {
|
|
background-color: #f0f0f0;
|
|
padding: 20px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: #777777;
|
|
border-top: 2px solid #00636e;
|
|
}
|
|
.footer a {
|
|
color: #00636e; /* --kaauh-teal for links */
|
|
text-decoration: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<img src="{{ logo_url }}" alt="Your Organization Logo" class="logo">
|
|
</div>
|
|
|
|
<div class="content">
|
|
{% block content %}
|
|
<h2>Hello {{ user_name }},</h2>
|
|
|
|
<p>{{ email_message|safe }}</p>
|
|
|
|
{% if cta_link %}
|
|
<div class="button-container">
|
|
<a href="{{ cta_link }}" class="button">{{ cta_text|default:"Click to Proceed" }}</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<p>If you have any questions, please reply to this email.</p>
|
|
|
|
<p>Thank you,</p>
|
|
<p>King Abdullah bin Abdulaziz University Hospital</p>
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>© {% now "Y" %} Tenhal. All rights reserved.</p>
|
|
<p><a href="{{ profile_link }}">Manage Preferences</a></p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |