fix connedit > collection > checkbox position

This commit is contained in:
marijus 2014-10-12 14:31:51 +02:00
parent 4bf758cc5b
commit 030175bde6
2 changed files with 15 additions and 7 deletions

View File

@ -81,10 +81,16 @@
/* group */
input.group-edit-checkbox {
margin: unset;
}
a.group-edit-link {
z-index: 1;
}
.group-edit-icon {
opacity: 0;
z-index: 1;
}
li:hover .group-edit-icon {

View File

@ -5,14 +5,16 @@
{{foreach $groups as $group}}
<li>
{{if $group.cid}}
<a class="pull-right group-edit-link">
<input type="checkbox"
class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action"
class="{{if $group.selected}}ticked{{else}}unticked {{/if}} group-edit-checkbox"
onclick="contactgroupChangeMember('{{$group.id}}','{{$group.enc_cid}}');return true;"
{{if $group.ismember}}checked="checked"{{/if}}
/>
</a>
{{/if}}
{{if $group.edit}}
<a class="pull-right group-edit-icon" href="{{$group.edit.href}}" title="{{$edittext}}"><i class="icon-pencil"></i></a>
<a class="pull-right group-edit-link" href="{{$group.edit.href}}" title="{{$edittext}}"><i class="group-edit-icon icon-pencil"></i></a>
{{/if}}
<a{{if $group.selected}} class="group-selected"{{/if}} href="{{$group.href}}">{{$group.text}}</a>
</li>