diff --git a/backend/backend.py b/backend/backend.py index 34194426..417c5eaf 100644 --- a/backend/backend.py +++ b/backend/backend.py @@ -130,7 +130,7 @@ def import_page(): if len(url): remaining_urls.append(url) - messages.append({'class': 'ok', 'message': "{} imported, {} skipped.".format(good, len(remaining_urls))}) + messages.append({'class': 'ok', 'message': "{} Imported, {} Skipped.".format(good, len(remaining_urls))}) launch_checks() @@ -138,6 +138,7 @@ def import_page(): messages=messages, remaining="\n".join(remaining_urls) ) + messages = [] return output diff --git a/backend/static/css/styles.css b/backend/static/css/styles.css index a9fb36be..abc1d12b 100644 --- a/backend/static/css/styles.css +++ b/backend/static/css/styles.css @@ -165,3 +165,11 @@ color: #fff; background: rgb(200, 200, 200); /* this is a green */ } + +.messages { + padding: 1em; + background: rgba(255,255,255,.2); + border-radius: 10px; + color: #fff; + font-weight: bold; + } \ No newline at end of file diff --git a/backend/templates/base.html b/backend/templates/base.html index 6368ab03..08d5b5a6 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -17,10 +17,10 @@