diff --git a/scribeengine/controllers/admin.py b/scribeengine/controllers/admin.py index ff599d7..975e545 100644 --- a/scribeengine/controllers/admin.py +++ b/scribeengine/controllers/admin.py @@ -165,5 +165,6 @@ class AdminController(BaseController): def logout(self): del session[u'REMOTE_USER'] session.save() + h.flash.set_message(u'You have logged out successfully.', u'success') h.redirect_to('/') diff --git a/scribeengine/public/styles/style.css b/scribeengine/public/styles/style.css index 0b0f76f..d6fbe3d 100644 --- a/scribeengine/public/styles/style.css +++ b/scribeengine/public/styles/style.css @@ -418,8 +418,7 @@ fieldset { } #message { - margin-top: 1.8em; - /*padding: 0.3em 0.5em;*/ + margin-bottom: 1.8em; } #message p { diff --git a/scribeengine/templates/admin/login.mako b/scribeengine/templates/admin/login.mako index 2817dfc..6ef1e70 100644 --- a/scribeengine/templates/admin/login.mako +++ b/scribeengine/templates/admin/login.mako @@ -1,7 +1,7 @@ <%inherit file="/base.mako"/> + <%include file="/flash.mako"/>