Files
Roster/Roster2/email_template.html
T
2025-06-28 01:12:46 -05:00

33 lines
741 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
table { border-collapse: collapse; font-family: sans-serif; width: 100%; }
th, td { border: 1px solid #ccc; padding: 6px; text-align: left; }
th { background-color: #f0f0f0; }
</style>
</head>
<body>
{% for role, people in assignments.items() %}
<h3>{{ role }}</h3>
<table>
<thead>
<tr>
<th>Date</th>
<th>Assigned</th>
</tr>
</thead>
<tbody>
{% for i in range(dates|length) %}
<tr>
<td>{{ dates[i] }}</td>
<td>{{ people[i] if i < people|length else '' }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}
</body>
</html>