aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-02-26 15:09:46 +0100
committerMario Vavti <mario@mariovavti.com>2018-02-26 15:09:46 +0100
commitee5fd8a0bddde6aab6ce63c2ee48350999d7070d (patch)
tree98dfef9b1a768d6abcb1ecddf3448029f92dc40e
parent032cbca6511cd0e0bbd5d6a41993a7a3734efc37 (diff)
downloadvolse-hubzilla-ee5fd8a0bddde6aab6ce63c2ee48350999d7070d.tar.gz
volse-hubzilla-ee5fd8a0bddde6aab6ce63c2ee48350999d7070d.tar.bz2
volse-hubzilla-ee5fd8a0bddde6aab6ce63c2ee48350999d7070d.zip
fix minor issue with custom acl selector
-rw-r--r--view/js/acl.js2
-rw-r--r--view/theme/redbasic/css/style.css2
-rwxr-xr-xview/tpl/acl_selector.tpl2
3 files changed, 4 insertions, 2 deletions
diff --git a/view/js/acl.js b/view/js/acl.js
index e3183e8ca..a5fae19bc 100644
--- a/view/js/acl.js
+++ b/view/js/acl.js
@@ -399,7 +399,7 @@ ACL.prototype.get = function(start, count, search) {
ACL.prototype.populate = function(data) {
$(data.items).each(function(){
- html = "<div class='list-group-item clearfix {4} {7} {5}' id='{2}{3}'>"+that.item_tpl+"</div>";
+ html = "<div class='list-group-item clearfix acl-list-item {4} {7} {5}' id='{2}{3}'>"+that.item_tpl+"</div>";
html = html.format(this.photo, this.name, this.type, this.xid, '', this.self, this.link, this.taggable);
if (this.uids !== undefined) {
that.group_uids[this.xid] = this.uids;
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 818ee2a64..dfd03707f 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -848,10 +848,12 @@ div.jGrowl div.jGrowl-notification {
.acl-list-item.grouphide {
border: 1px solid red;
+ z-index: 2;
}
.acl-list-item.groupshow {
border: 1px solid green;
+ z-index: 2;
}
.acl-list-item.taggable {
diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl
index c8196ee78..d42fb1c3b 100755
--- a/view/tpl/acl_selector.tpl
+++ b/view/tpl/acl_selector.tpl
@@ -37,7 +37,7 @@
</div>
</div>
- <div class="acl-list-item list-group-item" rel="acl-template" style="display:none">
+ <div class="list-group-item acl-list-item" rel="acl-template" style="display:none">
<div class="acl-item-header">
<img class="menu-img-3" data-src="{0}">
<span class="contactname">{1}</span>