51 lines
2.7 KiB
HTML
Executable File
51 lines
2.7 KiB
HTML
Executable File
<div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
|
|
<kc-tabs-group-list></kc-tabs-group-list>
|
|
|
|
<table class="table table-striped table-bordered" id="group-table" style="margin-bottom: 0">
|
|
<thead>
|
|
<tr>
|
|
<th class="kc-table-actions" colspan="5">
|
|
<div class="form-inline">
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<input type="text" autofocus placeholder="{{:: 'search.placeholder' | translate}}" ng-model="searchCriteria" class="form-control search" onkeydown="if (event.keyCode == 13) document.getElementById('groupSearch').click()">
|
|
<div class="input-group-addon">
|
|
<i class="fa fa-search" id="groupSearch" ng-click="searchGroup()"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<button id="viewAllGroups" class="btn btn-default" ng-click="clearSearch()">{{:: 'view-all-groups' | translate}}</button>
|
|
<div class="pull-right" data-ng-show="access.manageUsers">
|
|
<div class="form-inline">
|
|
<button id="createGroup" class="btn btn-default" ng-click="createGroup(tree.currentNode)">{{:: 'new' | translate}}</button>
|
|
<button id="editGroup" ng-disabled="isDisabled()" class="btn btn-default" ng-click="edit(tree.currentNode)">{{:: 'edit' | translate}}</button>
|
|
<button id="cutGroup" ng-disabled="isDisabled()" class="btn btn-default" ng-click="cut(tree.currentNode)">{{:: 'cut' | translate}}</button>
|
|
<button id="pasteGroup" ng-disabled="!cutNode" class="btn btn-default" ng-click="paste(tree.currentNode)">{{:: 'paste' | translate}}</button>
|
|
<button id="removeGroup" ng-disabled="isDisabled()" class="btn btn-default" ng-click="remove(tree.currentNode)">{{:: 'delete' | translate}}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<div tree-id="tree"
|
|
angular-treeview="true"
|
|
tree-model="groupList"
|
|
node-id="id"
|
|
node-label="name"
|
|
node-children="subGroups" >
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div style="margin-bottom: 50px">
|
|
<kc-paging current-page="currentPage" number-of-pages="numberOfPages" current-page-input="currentPageInput"></kc-paging>
|
|
</div>
|
|
</div>
|
|
|
|
<kc-menu></kc-menu>
|