diff --git a/client/css/post-detail-view.styl b/client/css/post-detail-view.styl new file mode 100644 index 0000000..32e7497 --- /dev/null +++ b/client/css/post-detail-view.styl @@ -0,0 +1,33 @@ +#post + width: 100% + max-width: 40em + h1 + margin-top: 0 + form + width: 100% + .buttons i + margin-right: 0.5em + .post-merge + .left-post-container + width: 47% + float: left + .right-post-container + width: 47% + float: right + input[type=text] + width: 8em + margin-top: -2px + .post-mirror + margin-bottom: 1em + &:after + display: block + height: 1px + content: ' ' + clear: both + .post-thumbnail .thumbnail + width: 100% + height: 9em + .target-post .thumbnail + margin-right: 0.35em + .target-post, .target-post-content + margin: 1em 0 diff --git a/client/css/post-view.styl b/client/css/post-main-view.styl similarity index 100% rename from client/css/post-view.styl rename to client/css/post-main-view.styl diff --git a/client/html/post_detail.tpl b/client/html/post_detail.tpl new file mode 100644 index 0000000..5e04ab2 --- /dev/null +++ b/client/html/post_detail.tpl @@ -0,0 +1,12 @@ +
+

Post #<%- ctx.post.id %>

+ +
+
diff --git a/client/html/post_edit_sidebar.tpl b/client/html/post_edit_sidebar.tpl index 9b08891..d36a0e4 100644 --- a/client/html/post_edit_sidebar.tpl +++ b/client/html/post_edit_sidebar.tpl @@ -84,12 +84,15 @@ <% } %> - <% if (ctx.canFeaturePosts || ctx.canDeletePosts) { %> + <% if (ctx.canFeaturePosts || ctx.canDeletePosts || ctx.canMergePosts) { %>