freealberta/map/app/templates/email/shift-details.html

157 lines
5.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Shift Details - {{SHIFT_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;
}
.logo {
color: #a02c8d;
font-size: 24px;
font-weight: bold;
}
.content {
background-color: white;
padding: 20px;
border-radius: 6px;
margin-bottom: 20px;
}
.shift-details-box {
background-color: #f8f9fa;
padding: 20px;
border-radius: 4px;
margin: 20px 0;
border: 1px solid #ddd;
}
.detail-row {
margin: 12px 0;
display: flex;
align-items: flex-start;
}
.detail-icon {
width: 30px;
font-size: 16px;
margin-right: 10px;
text-align: center;
}
.detail-label {
font-weight: bold;
min-width: 80px;
margin-right: 10px;
}
.detail-value {
color: #2c3e50;
flex: 1;
}
.description-section {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #eee;
}
.footer {
text-align: center;
font-size: 12px;
color: #666;
margin-top: 30px;
}
.highlight {
background-color: #fff3cd;
padding: 15px;
border-left: 4px solid #ffc107;
margin: 15px 0;
}
.status-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 12px;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
}
.status-open {
background-color: #d4edda;
color: #155724;
}
.status-full {
background-color: #fff3cd;
color: #856404;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="logo">{{APP_NAME}}</div>
</div>
<div class="content">
<h2>Shift Details: {{SHIFT_TITLE}}</h2>
<p>Hello {{USER_NAME}},</p>
<p>Here are the details for your upcoming volunteer shift:</p>
<div class="shift-details-box">
<div class="detail-row">
<span class="detail-icon">📅</span>
<span class="detail-label">Date:</span>
<span class="detail-value">{{SHIFT_DATE}}</span>
</div>
<div class="detail-row">
<span class="detail-icon"></span>
<span class="detail-label">Time:</span>
<span class="detail-value">{{SHIFT_START_TIME}} - {{SHIFT_END_TIME}}</span>
</div>
<div class="detail-row">
<span class="detail-icon">📍</span>
<span class="detail-label">Location:</span>
<span class="detail-value">{{SHIFT_LOCATION}}</span>
</div>
<div class="detail-row">
<span class="detail-icon">👥</span>
<span class="detail-label">Volunteers:</span>
<span class="detail-value">{{CURRENT_VOLUNTEERS}}/{{MAX_VOLUNTEERS}} signed up</span>
</div>
<div class="detail-row">
<span class="detail-icon">📊</span>
<span class="detail-label">Status:</span>
<span class="detail-value">
<span class="status-badge status-{{SHIFT_STATUS_CLASS}}">{{SHIFT_STATUS}}</span>
</span>
</div>
</div>
<div class="description-section" id="description-section"{{DESCRIPTION_DISPLAY_STYLE}}>
<h3>Additional Information:</h3>
<p>{{SHIFT_DESCRIPTION}}</p>
</div>
<div class="highlight">
<p><strong>Important:</strong> Please arrive 10-15 minutes early and wear weather appropriate wear. If you need to cancel, please do so as early as possible to allow other volunteers to sign up.</p>
</div>
<p>Questions? Contact your shift coordinator or administrator.</p>
<p>Thank you for volunteering!</p>
</div>
<div class="footer">
<p>This email was sent from {{APP_NAME}} at {{TIMESTAMP}}</p>
<p>Volunteer shift management system</p>
</div>
</div>
</body>
</html>