|
|
@@ -1059,10 +1059,11 @@ $(document).ready(function() {
|
|
|
if (hasChildren) {
|
|
|
html.push('<a href="javascript:void(0);" class="cd-auth-target-toggle mr-1" data-tree-id="' + node.tree_id + '">');
|
|
|
html.push('<i class="fa ' + (self._authTargetExpanded[node.tree_id] ? 'fa-minus-square-o' : 'fa-plus-square-o') + '"></i></a>');
|
|
|
- html.push('<i class="fa fa-folder-open text-warning mr-1 cd-auth-target-folder" data-tree-id="' + node.tree_id + '"></i>');
|
|
|
+ html.push('<img class="mr-1 cd-auth-target-folder" data-tree-id="' + node.tree_id +
|
|
|
+ '" src="/public/images/filesjs-tree-open.png" width="18" height="18" alt="">');
|
|
|
} else {
|
|
|
html.push('<span class="d-inline-block mr-1" style="width:12px;"></span>');
|
|
|
- html.push('<i class="fa fa-file-o text-primary mr-1"></i>');
|
|
|
+ html.push('<img class="mr-1" src="/public/images/filesjs-tree-leaf.png" width="18" height="18" alt="">');
|
|
|
}
|
|
|
html.push(self._escapeAuthUserHtml(node.name) + '</td></tr>');
|
|
|
});
|
|
|
@@ -1096,8 +1097,9 @@ $(document).ready(function() {
|
|
|
.toggleClass('fa-minus-square-o', expanded)
|
|
|
.toggleClass('fa-plus-square-o', !expanded);
|
|
|
$('#cd-auth-target-list .cd-auth-target-folder[data-tree-id="' + node.tree_id + '"]')
|
|
|
- .toggleClass('fa-folder-open', expanded)
|
|
|
- .toggleClass('fa-folder', !expanded);
|
|
|
+ .attr('src', expanded
|
|
|
+ ? '/public/images/filesjs-tree-open.png'
|
|
|
+ : '/public/images/filesjs-tree-closed.png');
|
|
|
});
|
|
|
}
|
|
|
|