diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..b9c3f88 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,55 @@ +body { + font-family: Arial, sans-serif; + padding: 20px; + } + + table { + border-collapse: collapse; + width: 100%; + } + + th, + td { + border: 1px solid #ddd; + padding: 8px; + text-align: left; + } + + th { + background-color: #f2f2f2; + } + + a { + margin-right: 10px; + } + + form { + max-width: 600px; + margin: 0 auto; + } + + label { + display: block; + margin-top: 15px; + } + + input[type="text"], + input[type="password"], + textarea { + width: 100%; + padding: 8px; + } + + button { + margin-top: 15px; + padding: 10px 20px; + } + + .flash { + background-color: #f8d7da; + color: #721c24; + padding: 10px; + margin-bottom: 10px; + text-align: center; + } + \ No newline at end of file diff --git a/templates/admin_index.html b/templates/admin_index.html index a03b4e3..83ded8e 100644 --- a/templates/admin_index.html +++ b/templates/admin_index.html @@ -4,30 +4,29 @@ Admin Center - Subscribers - +

Subscribers

-

Send Update Email

- {% if emails %} - - - - - {% for email in emails %} - - - - {% endfor %} -
Email Address
{{ email }}
- {% else %} -

No subscribers found.

- {% endif %} +

Send Update Email

+ + {% if emails %} + + + + + + + + {% for email in emails %} + + + + {% endfor %} + +
Email Address
{{ email }}
+ {% else %} +

No subscribers found.

+ {% endif %} - \ No newline at end of file + diff --git a/templates/login.html b/templates/login.html index d110448..97fefdd 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,26 +1,21 @@ + - - + + Admin Login - + +

Admin Login

{% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} -
{{ message }}
- {% endfor %} - {% endif %} + {% if messages %} + {% for category, message in messages %} +
{{ message }}
+ {% endfor %} + {% endif %} {% endwith %}
@@ -30,4 +25,5 @@
- \ No newline at end of file + + diff --git a/templates/send_update.html b/templates/send_update.html index a6d24b6..0df7078 100644 --- a/templates/send_update.html +++ b/templates/send_update.html @@ -1,31 +1,21 @@ + - + Admin Center - Send Update - + +

Send Update Email

{% with messages = get_flashed_messages() %} - {% if messages %} - {% for message in messages %} -
{{ message }}
- {% endfor %} - {% endif %} + {% if messages %} + {% for message in messages %} +
{{ message }}
+ {% endfor %} + {% endif %} {% endwith %}
@@ -42,4 +32,5 @@ Logout

+