freealberta/influence/app/templates/email/response-verification.html

156 lines
4.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verify Response Submission</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
.container {
background-color: #ffffff;
border-radius: 8px;
padding: 30px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header {
text-align: center;
padding-bottom: 20px;
border-bottom: 2px solid #3498db;
margin-bottom: 30px;
}
.header h1 {
color: #2c3e50;
margin: 0;
font-size: 24px;
}
.content {
margin-bottom: 30px;
}
.info-box {
background-color: #f8f9fa;
border-left: 4px solid #3498db;
padding: 15px;
margin: 20px 0;
}
.info-box strong {
display: block;
color: #2c3e50;
margin-bottom: 5px;
}
.button-container {
text-align: center;
margin: 30px 0;
}
.button {
display: inline-block;
padding: 12px 30px;
margin: 10px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
font-size: 16px;
}
.verify-button {
background-color: #27ae60;
color: #ffffff;
}
.verify-button:hover {
background-color: #229954;
}
.report-button {
background-color: #e74c3c;
color: #ffffff;
}
.report-button:hover {
background-color: #c0392b;
}
.response-preview {
background-color: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 4px;
padding: 15px;
margin: 20px 0;
white-space: pre-wrap;
font-size: 14px;
}
.footer {
text-align: center;
padding-top: 20px;
border-top: 1px solid #dee2e6;
margin-top: 30px;
font-size: 12px;
color: #7f8c8d;
}
.warning {
background-color: #fff3cd;
border: 1px solid #ffc107;
border-radius: 4px;
padding: 15px;
margin: 20px 0;
color: #856404;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>📧 Response Verification Request</h1>
</div>
<div class="content">
<p>Dear {{REPRESENTATIVE_NAME}},</p>
<p>A constituent has submitted a response they claim to have received from you through the <strong>{{APP_NAME}}</strong> platform.</p>
<div class="info-box">
<strong>Campaign:</strong> {{CAMPAIGN_TITLE}}
<br>
<strong>Response Type:</strong> {{RESPONSE_TYPE}}
<br>
<strong>Submitted:</strong> {{SUBMITTED_DATE}}
<br>
<strong>Submitted By:</strong> {{SUBMITTER_NAME}}
</div>
<div class="response-preview">
<strong>Response Content:</strong><br>
{{RESPONSE_TEXT}}
</div>
<div class="warning">
<strong>⚠️ Action Required</strong><br>
Please verify whether this response is authentic by clicking one of the buttons below.
</div>
<div class="button-container">
<a href="{{VERIFICATION_URL}}" class="button verify-button">
✓ Verify This Response
</a>
<a href="{{REPORT_URL}}" class="button report-button">
✗ Report as Invalid
</a>
</div>
<p><strong>Why verify?</strong> Verification helps maintain transparency and accountability in constituent communications. Verified responses appear with a special badge on the Response Wall.</p>
<p><strong>What happens if I report?</strong> Reported responses will be marked as disputed and may be hidden from public view while we investigate.</p>
</div>
<div class="footer">
<p>This email was sent by {{APP_NAME}}<br>
You received this because a constituent submitted a response attributed to you.<br>
Verification links expire in 30 days.</p>
<p><strong>Timestamp:</strong> {{TIMESTAMP}}</p>
</div>
</div>
</body>
</html>