136 lines
3.8 KiB
HTML
136 lines
3.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Message from Constituent</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.container {
|
|
background-color: #f9f9f9;
|
|
border-radius: 8px;
|
|
padding: 30px;
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
border-bottom: 2px solid #2196f3;
|
|
padding-bottom: 20px;
|
|
}
|
|
.logo {
|
|
color: #2196f3;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
}
|
|
.content {
|
|
background-color: white;
|
|
padding: 25px;
|
|
border-radius: 6px;
|
|
margin-bottom: 20px;
|
|
border-left: 4px solid #2196f3;
|
|
}
|
|
.message-body {
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
margin: 20px 0;
|
|
color: #2c3e50;
|
|
}
|
|
.message-body p {
|
|
margin: 0 0 1em 0;
|
|
}
|
|
.message-body p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.message-body ul,
|
|
.message-body ol {
|
|
margin: 1em 0;
|
|
padding-left: 1.5em;
|
|
}
|
|
.message-body li {
|
|
margin-bottom: 0.5em;
|
|
line-height: 1.5;
|
|
}
|
|
.message-body ul li {
|
|
list-style-type: disc;
|
|
}
|
|
.message-body ol li {
|
|
list-style-type: decimal;
|
|
}
|
|
.sender-info {
|
|
background-color: #f8f9fa;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
margin: 20px 0;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
.info-item {
|
|
margin: 8px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.info-label {
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
width: 120px;
|
|
color: #495057;
|
|
}
|
|
.info-value {
|
|
color: #2c3e50;
|
|
}
|
|
.footer {
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: #6c757d;
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #e9ecef;
|
|
}
|
|
.app-branding {
|
|
color: #2196f3;
|
|
font-weight: bold;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="content">
|
|
<div class="message-body">
|
|
<p>Dear {{RECIPIENT_NAME}},</p>
|
|
|
|
{{MESSAGE}}
|
|
|
|
<p>Sincerely,<br>
|
|
{{SENDER_NAME}}<br>
|
|
{{POSTAL_CODE}}</p>
|
|
</div>
|
|
|
|
<div class="sender-info">
|
|
<h4 style="margin: 0 0 10px 0; color: #495057;">Constituent Information:</h4>
|
|
<div class="info-item">
|
|
<span class="info-label">Name:</span>
|
|
<span class="info-value">{{SENDER_NAME}}</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">Email:</span>
|
|
<span class="info-value">{{SENDER_EMAIL}}</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">Postal Code:</span>
|
|
<span class="info-value">{{POSTAL_CODE}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>This message was sent via the <span class="app-branding">{{APP_NAME}}</span> at {{TIMESTAMP}}</p>
|
|
<p>This platform enables constituents to communicate directly with their elected representatives.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |