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 @@
| Email Address | -
|---|
| {{ email }} | -
No subscribers found.
- {% endif %} + + + {% if emails %} +| Email Address | +
|---|
| {{ email }} | +
No subscribers found.
+ {% endif %} -