From: Michael Tremer Date: Fri, 28 Sep 2018 15:12:35 +0000 (+0100) Subject: CSS: Increase width of border of buttons X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe40c0fa74c27fd6d1f95dbcaf8e5d84b6719e8c;p=ipfire.org.git CSS: Increase width of border of buttons Signed-off-by: Michael Tremer --- diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index 8a6b9edd..f3e9a718 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -89,4 +89,4 @@ $input-btn-padding-x: 1rem; $input-btn-padding-y: .5rem; // Buttons -$btn-border-width: 2px; +$btn-border-width: 3px; diff --git a/src/web/blog.py b/src/web/blog.py index 5660a8c2..86f8bfe0 100644 --- a/src/web/blog.py +++ b/src/web/blog.py @@ -72,6 +72,8 @@ class PublishHandler(base.BaseHandler): if post.is_published(): raise tornado.web.HTTPError(400, "Post is already published") + # XXX Check that we are only publishing our own posts + # Publish the post with self.db.transaction(): post.publish()