Phase 1-14 complete: - Unified Express.js API (TypeScript, Prisma ORM, PostgreSQL 16) - React Admin GUI (Vite + Ant Design + Zustand) - JWT auth with refresh tokens - Influence: Campaigns, Representatives, Responses, Email Queue - Map: Locations, Cuts, Shifts, Canvassing System - NAR data import infrastructure (2025 format) - Listmonk newsletter integration - Landing page builder (GrapesJS) - MkDocs + Code Server integration - Volunteer portal with GPS tracking - Monitoring stack (Prometheus, Grafana, Alertmanager) - Pangolin tunnel integration Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
168 lines
5.2 KiB
HTML
168 lines
5.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Verify Representative Response - {{CAMPAIGN_TITLE}}</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 #2563eb;
|
|
padding-bottom: 20px;
|
|
}
|
|
.logo {
|
|
color: #2563eb;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
}
|
|
.campaign-badge {
|
|
background: linear-gradient(135deg, #2563eb, #1d4ed8);
|
|
color: white;
|
|
padding: 8px 16px;
|
|
border-radius: 20px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
}
|
|
.content {
|
|
background-color: white;
|
|
padding: 25px;
|
|
border-radius: 6px;
|
|
margin-bottom: 20px;
|
|
border-left: 4px solid #2563eb;
|
|
}
|
|
.response-type {
|
|
display: inline-block;
|
|
background: #dbeafe;
|
|
color: #1e40af;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
}
|
|
.response-text {
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
color: #2c3e50;
|
|
background: #f8fafc;
|
|
padding: 16px;
|
|
border-radius: 6px;
|
|
border: 1px solid #e2e8f0;
|
|
margin: 12px 0;
|
|
}
|
|
.info-section {
|
|
background-color: #eff6ff;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
margin: 20px 0;
|
|
border: 1px solid #bfdbfe;
|
|
}
|
|
.info-item {
|
|
margin: 8px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.info-label {
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
width: 120px;
|
|
color: #1e40af;
|
|
}
|
|
.info-value {
|
|
color: #2c3e50;
|
|
}
|
|
.cta-section {
|
|
text-align: center;
|
|
margin: 30px 0;
|
|
}
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 14px 32px;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
margin: 8px;
|
|
}
|
|
.btn-verify {
|
|
background: linear-gradient(135deg, #16a34a, #15803d);
|
|
color: white;
|
|
}
|
|
.btn-report {
|
|
background: linear-gradient(135deg, #dc2626, #b91c1c);
|
|
color: white;
|
|
}
|
|
.footer {
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: #6c757d;
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #e9ecef;
|
|
}
|
|
.app-branding {
|
|
color: #2563eb;
|
|
font-weight: bold;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<div class="logo">{{ORGANIZATION_NAME}}</div>
|
|
<div class="campaign-badge">{{CAMPAIGN_TITLE}}</div>
|
|
<p style="margin: 10px 0 0 0; color: #6c757d;">Response Verification Request</p>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<p>A constituent has submitted a response attributed to you as part of the "<strong>{{CAMPAIGN_TITLE}}</strong>" campaign. Please review the details below and verify or report this response.</p>
|
|
|
|
<div class="response-type">{{RESPONSE_TYPE}}</div>
|
|
|
|
<div class="response-text">
|
|
{{RESPONSE_TEXT}}
|
|
</div>
|
|
|
|
<div class="info-section">
|
|
<h4 style="margin: 0 0 10px 0; color: #1e40af;">Submission Details:</h4>
|
|
<div class="info-item">
|
|
<span class="info-label">Submitted:</span>
|
|
<span class="info-value">{{SUBMITTED_DATE}}</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">Submitted By:</span>
|
|
<span class="info-value">{{SUBMITTER_NAME}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="cta-section">
|
|
<p style="margin-bottom: 20px; color: #4b5563;">Did you provide this response?</p>
|
|
<a href="{{VERIFICATION_URL}}" class="btn btn-verify">Verify This Response</a>
|
|
<a href="{{REPORT_URL}}" class="btn btn-report">Report as Invalid</a>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>This verification was sent via <span class="app-branding">{{ORGANIZATION_NAME}}</span> at {{TIMESTAMP}}</p>
|
|
<p>If you did not expect this email, you can safely ignore it or click "Report as Invalid" to flag the submission.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|