about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--uploader/authorisation.py2
-rw-r--r--uploader/static/css/styles.css6
2 files changed, 7 insertions, 1 deletions
diff --git a/uploader/authorisation.py b/uploader/authorisation.py
index ee8fe97..bd3454c 100644
--- a/uploader/authorisation.py
+++ b/uploader/authorisation.py
@@ -18,7 +18,7 @@ def require_login(function):
         """Check that the user is logged in and their token is valid."""
         def __clear_session__(_no_token):
             session.clear_session_info()
-            flash("You need to be logged in.", "alert-danger")
+            flash("You need to be logged in.", "alert-danger big-alert")
             return redirect("/")
 
         return session.user_token().either(
diff --git a/uploader/static/css/styles.css b/uploader/static/css/styles.css
index 7bd51a9..ef8725e 100644
--- a/uploader/static/css/styles.css
+++ b/uploader/static/css/styles.css
@@ -168,3 +168,9 @@ form .form-control {
 .sidebar-content .card-text table tbody td:nth-child(1) {
     font-weight: bolder;
 }
+
+.big-alert {
+    line-height: 1.5em;
+    padding: 0.5em 0 0.5em 3em;
+    margin-top: 0.2em;
+}