mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(ux): always display search bar in datatables (#2034)
This commit is contained in:
parent
b6792461a4
commit
cdf79c731b
76 changed files with 66 additions and 244 deletions
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add container
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add container
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.azure').component('containergroupsDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<containergroups-datatable
|
<containergroups-datatable
|
||||||
title-text="Containers" title-icon="fa-server"
|
title-text="Containers" title-icon="fa-server"
|
||||||
dataset="containerGroups" table-key="containergroups"
|
dataset="containerGroups" table-key="containergroups"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
remove-action="deleteAction"
|
remove-action="deleteAction"
|
||||||
></containergroups-datatable>
|
></containergroups-datatable>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add config
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add config
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.docker').component('configsDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showOwnershipColumn: '<',
|
showOwnershipColumn: '<',
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,13 +5,8 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.docker').component('containerProcessesDatatable', {
|
||||||
headerset: '<',
|
headerset: '<',
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<'
|
||||||
showTextFilter: '<'
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
<div class="settings">
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.columnVisibility.state.open }" uib-dropdown dropdown-append-to-body auto-close="disabled" is-open="$ctrl.columnVisibility.state.open">
|
<span class="setting" ng-class="{ 'setting-active': $ctrl.columnVisibility.state.open }" uib-dropdown dropdown-append-to-body auto-close="disabled" is-open="$ctrl.columnVisibility.state.open">
|
||||||
<span uib-dropdown-toggle ><i class="fa fa-columns space-right" aria-hidden="true"></i>Columns</span>
|
<span uib-dropdown-toggle ><i class="fa fa-columns space-right" aria-hidden="true"></i>Columns</span>
|
||||||
<div class="dropdown-menu dropdown-menu-right" uib-dropdown-menu>
|
<div class="dropdown-menu dropdown-menu-right" uib-dropdown-menu>
|
||||||
|
@ -110,7 +107,7 @@
|
||||||
no-paused-items-selected="$ctrl.state.noPausedItemsSelected"
|
no-paused-items-selected="$ctrl.state.noPausedItemsSelected"
|
||||||
show-add-action="$ctrl.showAddAction"
|
show-add-action="$ctrl.showAddAction"
|
||||||
></containers-datatable-actions>
|
></containers-datatable-actions>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.docker').component('containersDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showOwnershipColumn: '<',
|
showOwnershipColumn: '<',
|
||||||
showHostColumn: '<',
|
showHostColumn: '<',
|
||||||
showAddAction: '<'
|
showAddAction: '<'
|
||||||
|
|
|
@ -141,13 +141,6 @@ function (PaginationService, DatatableService, EndpointProvider) {
|
||||||
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.updateDisplayTextFilter = function() {
|
|
||||||
this.state.displayTextFilter = !this.state.displayTextFilter;
|
|
||||||
if (!this.state.displayTextFilter) {
|
|
||||||
delete this.state.textFilter;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.applyFilters = function(value, index, array) {
|
this.applyFilters = function(value, index, array) {
|
||||||
var container = value;
|
var container = value;
|
||||||
var filters = ctrl.filters;
|
var filters = ctrl.filters;
|
||||||
|
|
|
@ -5,13 +5,8 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,7 +7,6 @@ angular.module('portainer.docker').component('eventsDatatable', {
|
||||||
dataset: '<',
|
dataset: '<',
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<'
|
||||||
showTextFilter: '<'
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
|
@ -29,7 +24,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Build a new image
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Build a new image
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.docker').component('imagesDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showHostColumn: '<',
|
showHostColumn: '<',
|
||||||
removeAction: '<',
|
removeAction: '<',
|
||||||
forceRemoveAction: '<'
|
forceRemoveAction: '<'
|
||||||
|
|
|
@ -52,13 +52,6 @@ function (PaginationService, DatatableService) {
|
||||||
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.updateDisplayTextFilter = function() {
|
|
||||||
this.state.displayTextFilter = !this.state.displayTextFilter;
|
|
||||||
if (!this.state.displayTextFilter) {
|
|
||||||
delete this.state.textFilter;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.applyFilters = function(value, index, array) {
|
this.applyFilters = function(value, index, array) {
|
||||||
var image = value;
|
var image = value;
|
||||||
var filters = ctrl.filters;
|
var filters = ctrl.filters;
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add network
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add network
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.docker').component('networksDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showOwnershipColumn: '<',
|
showOwnershipColumn: '<',
|
||||||
showHostColumn: '<',
|
showHostColumn: '<',
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
|
|
|
@ -5,13 +5,8 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,7 +7,6 @@ angular.module('portainer.docker').component('nodeTasksDatatable', {
|
||||||
dataset: '<',
|
dataset: '<',
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<'
|
||||||
showTextFilter: '<'
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,13 +5,8 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.docker').component('nodesDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showIpAddressColumn: '<',
|
showIpAddressColumn: '<',
|
||||||
accessToNodeDetails: '<'
|
accessToNodeDetails: '<'
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add secret
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add secret
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.docker').component('secretsDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showOwnershipColumn: '<',
|
showOwnershipColumn: '<',
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<services-datatable-actions
|
<services-datatable-actions
|
||||||
selected-items="$ctrl.state.selectedItems"
|
selected-items="$ctrl.state.selectedItems"
|
||||||
|
@ -17,7 +12,7 @@
|
||||||
show-add-action="$ctrl.showAddAction"
|
show-add-action="$ctrl.showAddAction"
|
||||||
show-update-action="$ctrl.showUpdateAction"
|
show-update-action="$ctrl.showUpdateAction"
|
||||||
></services-datatable-actions>
|
></services-datatable-actions>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,7 +10,6 @@ angular.module('portainer.docker').component('servicesDatatable', {
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
nodes: '<',
|
nodes: '<',
|
||||||
agentProxy: '<',
|
agentProxy: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showOwnershipColumn: '<',
|
showOwnershipColumn: '<',
|
||||||
showUpdateAction: '<',
|
showUpdateAction: '<',
|
||||||
showAddAction: '<',
|
showAddAction: '<',
|
||||||
|
|
|
@ -54,13 +54,6 @@ function (PaginationService, DatatableService, EndpointProvider) {
|
||||||
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.updateDisplayTextFilter = function() {
|
|
||||||
this.state.displayTextFilter = !this.state.displayTextFilter;
|
|
||||||
if (!this.state.displayTextFilter) {
|
|
||||||
delete this.state.textFilter;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.expandItem = function(item, expanded) {
|
this.expandItem = function(item, expanded) {
|
||||||
item.Expanded = expanded;
|
item.Expanded = expanded;
|
||||||
if (item.Expanded) {
|
if (item.Expanded) {
|
||||||
|
|
|
@ -5,13 +5,8 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,7 +9,6 @@ angular.module('portainer.docker').component('tasksDatatable', {
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
nodes: '<',
|
nodes: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showSlotColumn: '<',
|
showSlotColumn: '<',
|
||||||
showLogsButton: '<',
|
showLogsButton: '<',
|
||||||
agentProxy: '<'
|
agentProxy: '<'
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add volume
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add volume
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.docker').component('volumesDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showOwnershipColumn: '<',
|
showOwnershipColumn: '<',
|
||||||
showHostColumn: '<',
|
showHostColumn: '<',
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
|
|
|
@ -52,13 +52,6 @@ function (PaginationService, DatatableService) {
|
||||||
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.updateDisplayTextFilter = function() {
|
|
||||||
this.state.displayTextFilter = !this.state.displayTextFilter;
|
|
||||||
if (!this.state.displayTextFilter) {
|
|
||||||
delete this.state.textFilter;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.applyFilters = function(value, index, array) {
|
this.applyFilters = function(value, index, array) {
|
||||||
var volume = value;
|
var volume = value;
|
||||||
var filters = ctrl.filters;
|
var filters = ctrl.filters;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<configs-datatable
|
<configs-datatable
|
||||||
title-text="Configs" title-icon="fa-file-code"
|
title-text="Configs" title-icon="fa-file-code"
|
||||||
dataset="configs" table-key="configs"
|
dataset="configs" table-key="configs"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
show-ownership-column="applicationState.application.authentication"
|
show-ownership-column="applicationState.application.authentication"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></configs-datatable>
|
></configs-datatable>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<containers-datatable
|
<containers-datatable
|
||||||
title-text="Containers" title-icon="fa-server"
|
title-text="Containers" title-icon="fa-server"
|
||||||
dataset="containers" table-key="containers"
|
dataset="containers" table-key="containers"
|
||||||
order-by="Status" show-text-filter="true"
|
order-by="Status"
|
||||||
show-ownership-column="applicationState.application.authentication"
|
show-ownership-column="applicationState.application.authentication"
|
||||||
show-host-column="applicationState.endpoint.mode.agentProxy"
|
show-host-column="applicationState.endpoint.mode.agentProxy"
|
||||||
show-add-action="true"
|
show-add-action="true"
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
title-text="Processes" title-icon="fa-tasks"
|
title-text="Processes" title-icon="fa-tasks"
|
||||||
dataset="processInfo.Processes" headerset="processInfo.Titles"
|
dataset="processInfo.Processes" headerset="processInfo.Titles"
|
||||||
table-key="container-processes"
|
table-key="container-processes"
|
||||||
show-text-filter="true"
|
|
||||||
></container-processes>
|
></container-processes>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
title-text="Events" title-icon="fa-history"
|
title-text="Events" title-icon="fa-history"
|
||||||
dataset="events" table-key="events"
|
dataset="events" table-key="events"
|
||||||
order-by="Time" reverse-order="true"
|
order-by="Time" reverse-order="true"
|
||||||
show-text-filter="true"
|
|
||||||
></events-datatable>
|
></events-datatable>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
<images-datatable
|
<images-datatable
|
||||||
title-text="Images" title-icon="fa-clone"
|
title-text="Images" title-icon="fa-clone"
|
||||||
dataset="images" table-key="images"
|
dataset="images" table-key="images"
|
||||||
order-by="RepoTags" show-text-filter="true"
|
order-by="RepoTags"
|
||||||
show-host-column="applicationState.endpoint.mode.agentProxy"
|
show-host-column="applicationState.endpoint.mode.agentProxy"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
force-remove-action="confirmRemovalAction"
|
force-remove-action="confirmRemovalAction"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<networks-datatable
|
<networks-datatable
|
||||||
title-text="Networks" title-icon="fa-sitemap"
|
title-text="Networks" title-icon="fa-sitemap"
|
||||||
dataset="networks" table-key="networks"
|
dataset="networks" table-key="networks"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
show-ownership-column="applicationState.application.authentication"
|
show-ownership-column="applicationState.application.authentication"
|
||||||
show-host-column="applicationState.endpoint.mode.agentProxy"
|
show-host-column="applicationState.endpoint.mode.agentProxy"
|
||||||
|
|
|
@ -237,7 +237,7 @@
|
||||||
title-text="Tasks" title-icon="fa-tasks"
|
title-text="Tasks" title-icon="fa-tasks"
|
||||||
dataset="tasks" table-key="node-tasks"
|
dataset="tasks" table-key="node-tasks"
|
||||||
order-by="Updated" reverse-order="true"
|
order-by="Updated" reverse-order="true"
|
||||||
show-text-filter="true"
|
|
||||||
></node-tasks-datatable>
|
></node-tasks-datatable>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<secrets-datatable
|
<secrets-datatable
|
||||||
title-text="Secrets" title-icon="fa-user-secret"
|
title-text="Secrets" title-icon="fa-user-secret"
|
||||||
dataset="secrets" table-key="secrets"
|
dataset="secrets" table-key="secrets"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
show-ownership-column="applicationState.application.authentication"
|
show-ownership-column="applicationState.application.authentication"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></secrets-datatable>
|
></secrets-datatable>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
dataset="tasks" table-key="service-tasks"
|
dataset="tasks" table-key="service-tasks"
|
||||||
order-by="Updated" reverse-order="true"
|
order-by="Updated" reverse-order="true"
|
||||||
nodes="nodes"
|
nodes="nodes"
|
||||||
show-text-filter="true"
|
|
||||||
show-slot-column="service.Mode !== 'global'"
|
show-slot-column="service.Mode !== 'global'"
|
||||||
show-logs-button="applicationState.endpoint.apiVersion >= 1.30"
|
show-logs-button="applicationState.endpoint.apiVersion >= 1.30"
|
||||||
agent-proxy="applicationState.endpoint.mode.agentProxy"
|
agent-proxy="applicationState.endpoint.mode.agentProxy"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<services-datatable
|
<services-datatable
|
||||||
title-text="Services" title-icon="fa-list-alt"
|
title-text="Services" title-icon="fa-list-alt"
|
||||||
dataset="services" table-key="services"
|
dataset="services" table-key="services"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
nodes="nodes"
|
nodes="nodes"
|
||||||
agent-proxy="applicationState.endpoint.mode.agentProxy"
|
agent-proxy="applicationState.endpoint.mode.agentProxy"
|
||||||
show-ownership-column="applicationState.application.authentication"
|
show-ownership-column="applicationState.application.authentication"
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<nodes-datatable
|
<nodes-datatable
|
||||||
title-text="Nodes" title-icon="fa-hdd"
|
title-text="Nodes" title-icon="fa-hdd"
|
||||||
dataset="nodes" table-key="nodes"
|
dataset="nodes" table-key="nodes"
|
||||||
order-by="Hostname" show-text-filter="true"
|
order-by="Hostname"
|
||||||
show-ip-address-column="applicationState.endpoint.apiVersion >= 1.25"
|
show-ip-address-column="applicationState.endpoint.apiVersion >= 1.25"
|
||||||
access-to-node-details="!applicationState.application.authentication || isAdmin"
|
access-to-node-details="!applicationState.application.authentication || isAdmin"
|
||||||
></nodes-datatable>
|
></nodes-datatable>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<volumes-datatable
|
<volumes-datatable
|
||||||
title-text="Volumes" title-icon="fa-cubes"
|
title-text="Volumes" title-icon="fa-cubes"
|
||||||
dataset="volumes" table-key="volumes"
|
dataset="volumes" table-key="volumes"
|
||||||
order-by="Id" show-text-filter="true"
|
order-by="Id"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
show-ownership-column="applicationState.application.authentication"
|
show-ownership-column="applicationState.application.authentication"
|
||||||
show-host-column="applicationState.endpoint.mode.agentProxy"
|
show-host-column="applicationState.endpoint.mode.agentProxy"
|
||||||
|
|
|
@ -5,13 +5,8 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,7 +7,6 @@ angular.module('extension.storidge').component('storidgeClusterEventsDatatable',
|
||||||
dataset: '<',
|
dataset: '<',
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<'
|
||||||
showTextFilter: '<'
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,13 +5,8 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,7 +7,6 @@ angular.module('extension.storidge').component('storidgeNodesDatatable', {
|
||||||
dataset: '<',
|
dataset: '<',
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<'
|
||||||
showTextFilter: '<'
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -17,7 +12,7 @@
|
||||||
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('extension.storidge').component('storidgeProfilesDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
<storidge-nodes-datatable
|
<storidge-nodes-datatable
|
||||||
title-text="Storage nodes" title-icon="fa-object-group"
|
title-text="Storage nodes" title-icon="fa-object-group"
|
||||||
dataset="clusterNodes" table-key="storidge_nodes"
|
dataset="clusterNodes" table-key="storidge_nodes"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
></storidge-nodes-datatable>
|
></storidge-nodes-datatable>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -116,7 +116,7 @@
|
||||||
<storidge-cluster-events-datatable
|
<storidge-cluster-events-datatable
|
||||||
title-text="Cluster events" title-icon="fa-history"
|
title-text="Cluster events" title-icon="fa-history"
|
||||||
dataset="events" table-key="storidge_cluster_events"
|
dataset="events" table-key="storidge_cluster_events"
|
||||||
order-by="Time" show-text-filter="true" reverse-order="true"
|
order-by="Time" reverse-order="true"
|
||||||
></storidge-cluster-events-datatable>
|
></storidge-cluster-events-datatable>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<storidge-profiles-datatable
|
<storidge-profiles-datatable
|
||||||
title-text="Profiles" title-icon="fa-sticky-note"
|
title-text="Profiles" title-icon="fa-sticky-note"
|
||||||
dataset="profiles" table-key="storidge_profiles"
|
dataset="profiles" table-key="storidge_profiles"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></storidge-profiles-datatable>
|
></storidge-profiles-datatable>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar" ng-if="$ctrl.endpointManagement">
|
<div class="actionBar" ng-if="$ctrl.endpointManagement">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add endpoint
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add endpoint
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.app').component('endpointsDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
endpointManagement: '<',
|
endpointManagement: '<',
|
||||||
accessManagement: '<',
|
accessManagement: '<',
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
|
|
|
@ -41,13 +41,6 @@ function (PaginationService, DatatableService) {
|
||||||
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.updateDisplayTextFilter = function() {
|
|
||||||
this.state.displayTextFilter = !this.state.displayTextFilter;
|
|
||||||
if (!this.state.displayTextFilter) {
|
|
||||||
delete this.state.textFilter;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.$onInit = function() {
|
this.$onInit = function() {
|
||||||
setDefaults(this);
|
setDefaults(this);
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add group
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add group
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.app').component('groupsDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
accessManagement: '<',
|
accessManagement: '<',
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add registry
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add registry
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.app').component('registriesDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
accessManagement: '<',
|
accessManagement: '<',
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -20,7 +15,7 @@
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add stack
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add stack
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.app').component('stacksDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
showOwnershipColumn: '<',
|
showOwnershipColumn: '<',
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,13 +41,6 @@ function (PaginationService, DatatableService) {
|
||||||
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
PaginationService.setPaginationLimit(this.tableKey, this.state.paginatedItemLimit);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.updateDisplayTextFilter = function() {
|
|
||||||
this.state.displayTextFilter = !this.state.displayTextFilter;
|
|
||||||
if (!this.state.displayTextFilter) {
|
|
||||||
delete this.state.textFilter;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.$onInit = function() {
|
this.$onInit = function() {
|
||||||
setDefaults(this);
|
setDefaults(this);
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -17,9 +12,9 @@
|
||||||
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search...">
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.app').component('tagsDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -17,9 +12,9 @@
|
||||||
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search...">
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.app').component('teamsDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
removeAction: '<'
|
removeAction: '<'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
<div class="toolBarTitle">
|
<div class="toolBarTitle">
|
||||||
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
<i class="fa" ng-class="$ctrl.titleIcon" aria-hidden="true" style="margin-right: 2px;"></i> {{ $ctrl.titleText }}
|
||||||
</div>
|
</div>
|
||||||
<div class="settings">
|
|
||||||
<span class="setting" ng-class="{ 'setting-active': $ctrl.state.displayTextFilter }" ng-click="$ctrl.updateDisplayTextFilter()" ng-if="$ctrl.showTextFilter">
|
|
||||||
<i class="fa fa-search" aria-hidden="true"></i> Search
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actionBar">
|
<div class="actionBar">
|
||||||
<button type="button" class="btn btn-sm btn-danger"
|
<button type="button" class="btn btn-sm btn-danger"
|
||||||
|
@ -17,9 +12,9 @@
|
||||||
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBar" ng-if="$ctrl.state.displayTextFilter">
|
<div class="searchBar">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
|
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search...">
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
|
|
|
@ -8,7 +8,6 @@ angular.module('portainer.app').component('usersDatatable', {
|
||||||
tableKey: '@',
|
tableKey: '@',
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
|
||||||
removeAction: '<',
|
removeAction: '<',
|
||||||
authenticationMethod: '<'
|
authenticationMethod: '<'
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<endpoints-datatable
|
<endpoints-datatable
|
||||||
title-text="Endpoints" title-icon="fa-plug"
|
title-text="Endpoints" title-icon="fa-plug"
|
||||||
dataset="endpoints" table-key="endpoints"
|
dataset="endpoints" table-key="endpoints"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
endpoint-management="applicationState.application.endpointManagement"
|
endpoint-management="applicationState.application.endpointManagement"
|
||||||
access-management="applicationState.application.authentication"
|
access-management="applicationState.application.authentication"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<groups-datatable
|
<groups-datatable
|
||||||
title-text="Endpoint groups" title-icon="fa-object-group"
|
title-text="Endpoint groups" title-icon="fa-object-group"
|
||||||
dataset="groups" table-key="groups"
|
dataset="groups" table-key="groups"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
access-management="applicationState.application.authentication"
|
access-management="applicationState.application.authentication"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></groups-datatable>
|
></groups-datatable>
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
<registries-datatable
|
<registries-datatable
|
||||||
title-text="Registries" title-icon="fa-database"
|
title-text="Registries" title-icon="fa-database"
|
||||||
dataset="registries" table-key="registries"
|
dataset="registries" table-key="registries"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
access-management="applicationState.application.authentication"
|
access-management="applicationState.application.authentication"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></registries-datatable>
|
></registries-datatable>
|
||||||
|
|
|
@ -171,7 +171,7 @@
|
||||||
<containers-datatable
|
<containers-datatable
|
||||||
title-text="Containers" title-icon="fa-server"
|
title-text="Containers" title-icon="fa-server"
|
||||||
dataset="containers" table-key="stack-containers"
|
dataset="containers" table-key="stack-containers"
|
||||||
order-by="Status" show-text-filter="true"
|
order-by="Status"
|
||||||
show-ownership-column="applicationState.application.authentication"
|
show-ownership-column="applicationState.application.authentication"
|
||||||
show-host-column="false"
|
show-host-column="false"
|
||||||
show-add-action="false"
|
show-add-action="false"
|
||||||
|
@ -184,7 +184,7 @@
|
||||||
<services-datatable
|
<services-datatable
|
||||||
title-text="Services" title-icon="fa-list-alt"
|
title-text="Services" title-icon="fa-list-alt"
|
||||||
dataset="services" table-key="stack-services"
|
dataset="services" table-key="stack-services"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
nodes="nodes"
|
nodes="nodes"
|
||||||
agent-proxy="applicationState.endpoint.mode.agentProxy"
|
agent-proxy="applicationState.endpoint.mode.agentProxy"
|
||||||
show-ownership-column="false"
|
show-ownership-column="false"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<stacks-datatable
|
<stacks-datatable
|
||||||
title-text="Stacks" title-icon="fa-th-list"
|
title-text="Stacks" title-icon="fa-th-list"
|
||||||
dataset="stacks" table-key="stacks"
|
dataset="stacks" table-key="stacks"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
show-ownership-column="applicationState.application.authentication"
|
show-ownership-column="applicationState.application.authentication"
|
||||||
></stacks-datatable>
|
></stacks-datatable>
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<tags-datatable
|
<tags-datatable
|
||||||
title-text="Tags" title-icon="fa-tags"
|
title-text="Tags" title-icon="fa-tags"
|
||||||
dataset="tags" table-key="tags"
|
dataset="tags" table-key="tags"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></tags-datatable>
|
></tags-datatable>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<label for="teamname" class="col-sm-1 control-label text-left">Name</label>
|
<label for="teamname" class="col-sm-1 control-label text-left">Name</label>
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" class="form-control" id="teamname" ng-model="formValues.Name" ng-change="checkNameValidity()" placeholder="e.g. development">
|
<input type="text" class="form-control" id="teamname" ng-model="formValues.Name" ng-change="checkNameValidity()" placeholder="e.g. development" auto-focus>
|
||||||
<span class="input-group-addon"><i ng-class="{true: 'fa fa-check green-icon', false: 'fa fa-times red-icon'}[state.validName]" aria-hidden="true"></i></span>
|
<span class="input-group-addon"><i ng-class="{true: 'fa fa-check green-icon', false: 'fa fa-times red-icon'}[state.validName]" aria-hidden="true"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
<teams-datatable
|
<teams-datatable
|
||||||
title-text="Teams" title-icon="fa-users"
|
title-text="Teams" title-icon="fa-users"
|
||||||
dataset="teams" table-key="teams"
|
dataset="teams" table-key="teams"
|
||||||
order-by="Name" show-text-filter="true"
|
order-by="Name"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></teams-datatable>
|
></teams-datatable>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</label>
|
</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" class="form-control" id="username" ng-model="formValues.Username" ng-change="checkUsernameValidity()" placeholder="e.g. jdoe">
|
<input type="text" class="form-control" id="username" ng-model="formValues.Username" ng-change="checkUsernameValidity()" placeholder="e.g. jdoe" auto-focus>
|
||||||
<span class="input-group-addon"><i ng-class="{true: 'fa fa-check green-icon', false: 'fa fa-times red-icon'}[state.validUsername]" aria-hidden="true"></i></span>
|
<span class="input-group-addon"><i ng-class="{true: 'fa fa-check green-icon', false: 'fa fa-times red-icon'}[state.validUsername]" aria-hidden="true"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
<users-datatable
|
<users-datatable
|
||||||
title-text="Users" title-icon="fa-user"
|
title-text="Users" title-icon="fa-user"
|
||||||
dataset="users" table-key="users"
|
dataset="users" table-key="users"
|
||||||
order-by="Username" show-text-filter="true"
|
order-by="Username"
|
||||||
authentication-method="AuthenticationMethod"
|
authentication-method="AuthenticationMethod"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></users-datatable>
|
></users-datatable>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue