admin-panel/templates/admin_index.html
Blake Ridgway fe8e8c7e64 (style): Refactor HTML templates and add CSS
Refactored HTML templates for improved strucutre and clarity
Moved styles to a separate CSS file for better maintainablilty
2025-04-03 11:49:40 -05:00

32 lines
858 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Center - Subscribers</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<h1>Subscribers</h1>
<p><a href="{{ url_for('send_update') }}">Send Update Email</a></p>
{% if emails %}
<table>
<thead>
<tr>
<th>Email Address</th>
</tr>
</thead>
<tbody>
{% for email in emails %}
<tr>
<td>{{ email }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>No subscribers found.</p>
{% endif %}
</body>
</html>