mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
resolve conflicts
This commit is contained in:
commit
0ee42f76c3
84 changed files with 1475 additions and 205 deletions
|
@ -38,6 +38,17 @@ angular.module('portainer.docker').controller('KubernetesResourcePoolsDatatableC
|
|||
return !ctrl.isSystemNamespace(item) || (ctrl.settings.showSystem && ctrl.isAdmin);
|
||||
};
|
||||
|
||||
this.namespaceStatusColor = function (status) {
|
||||
switch (status.toLowerCase()) {
|
||||
case 'active':
|
||||
return 'success';
|
||||
case 'terminating':
|
||||
return 'danger';
|
||||
default:
|
||||
return 'primary';
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Do not allow system namespaces to be selected
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue