diff --git a/templates/admin_index.html b/templates/admin_index.html index c4620af..bf57258 100644 --- a/templates/admin_index.html +++ b/templates/admin_index.html @@ -1,44 +1,53 @@ - - - - - - Admin Center - Subscribers - - - +{% extends "base.html" %} +{% block title %}Dashboard{% endblock %} +{% block content %} + -

Subscribers

-

- Send Update Email| - Logout -

+
+
+
Total Subscribers
+
{{ counts.total_subscribers }}
+
+
+
Newsletters Sent
+
{{ counts.total_newsletters }}
+
+
+
Sent Today
+
{{ counts.sent_today }}
+
+
- {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} -
{{ message }}
- {% endfor %} - {% endif %} - {% endwith %} - - {% if emails %} - - - - - - - - {% for email in emails %} - - - - {% endfor %} - + {% if emails %} +
+
+
Email Address
{{ email }}
+ + + + + + + {% for email in emails %} + + + + {% endfor %} +
Email Address
{{ email }}
- {% else %} -

No subscribers found.

- {% endif %} - - + + + {% else %} +
+

No subscribers found.

+
+ {% endif %} +{% endblock %} \ No newline at end of file