aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-10 12:46:20 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-10 12:46:20 +0200
commit1554b5a2eea889284ed2e13111d72029dfc96963 (patch)
tree58b4f1d0dc729653ca9f7c65f3f53ab63bc61f77 /view
parent7eb614c8aafc2f830479e1026e6a4924bda657cb (diff)
downloadvolse-hubzilla-1554b5a2eea889284ed2e13111d72029dfc96963.tar.gz
volse-hubzilla-1554b5a2eea889284ed2e13111d72029dfc96963.tar.bz2
volse-hubzilla-1554b5a2eea889284ed2e13111d72029dfc96963.zip
add generic content wrapper to post/webpage editor and make editpost render correctly
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css4
-rwxr-xr-xview/tpl/edpost_head.tpl22
2 files changed, 14 insertions, 12 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 5b65226ca..b2d52c8a6 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1594,8 +1594,8 @@ img.mail-list-sender-photo {
}
.jothidden > input {
- border: 1px solid $bgcolour;
- background-color: $bgcolour;
+ border: 1px solid transparent;
+ background-color: transparent;
}
.jothidden > input:hover,
.jothidden > input:focus {
diff --git a/view/tpl/edpost_head.tpl b/view/tpl/edpost_head.tpl
index 20e597909..3be40e978 100755
--- a/view/tpl/edpost_head.tpl
+++ b/view/tpl/edpost_head.tpl
@@ -1,12 +1,14 @@
-<div class="section-title-wrapper">
- {{if $delete}}
- <div class="pull-right">
- <a href="item/drop/{{$id}}" id="delete-btn" class="btn btn-xs btn-danger" onclick="return confirmDelete();"><i class="icon-trash"></i>&nbsp;{{$delete}}</a>
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ {{if $delete}}
+ <div class="pull-right">
+ <a href="item/drop/{{$id}}" id="delete-btn" class="btn btn-xs btn-danger" onclick="return confirmDelete();"><i class="icon-trash"></i>&nbsp;{{$delete}}</a>
+ </div>
+ {{/if}}
+ <h2>{{$title}}</h2>
+ <div class="clear"></div>
+ </div>
+ <div id="webpage-editor" class="section-content-tools-wrapper">
+ {{$editor}}
</div>
- {{/if}}
- <h2>{{$title}}</h2>
- <div class="clear"></div>
-</div>
-<div id="webpage-editor" class="section-content-tools-wrapper">
- {{$editor}}
</div>