]> git.ipfire.org Git - ipfire.org.git/commitdiff
CSS: Increase width of border of buttons
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Sep 2018 15:12:35 +0000 (16:12 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Sep 2018 15:12:35 +0000 (16:12 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scss/_variables.scss
src/web/blog.py

index 8a6b9eddb27d2631437e42fc943c1c6155f29e1b..f3e9a7180d32a759940777029042c73b6dce6632 100644 (file)
@@ -89,4 +89,4 @@ $input-btn-padding-x:         1rem;
 $input-btn-padding-y:          .5rem;
 
 // Buttons
-$btn-border-width:                     2px;
+$btn-border-width:                     3px;
index 5660a8c20e92d1dfd3a2cbf3653f635fad1ae19a..86f8bfe0028c835092333fc1859a6cde3204c5c8 100644 (file)
@@ -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()