37 lines
963 B
HTML
37 lines
963 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 - Send Update</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Send Update Email</h1>
|
|
<p>
|
|
<a href="{{ url_for('index') }}">Back to Subscribers List</a> |
|
|
<a href="{{ url_for('logout') }}">Logout</a>
|
|
</p>
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
{% for message in messages %}
|
|
<div class="flash">{{ message }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
<form action="{{ url_for('send_update') }}" method="POST">
|
|
<label for="subject">Subject:</label>
|
|
<input type="text" name="subject" required>
|
|
|
|
<label for="body">Body (HTML allowed):</label>
|
|
<textarea name="body" rows="10" required></textarea>
|
|
|
|
<button type="submit">Send Update</button>
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|