mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
Add labels to container start and display.
This commit is contained in:
parent
25a4607ad6
commit
640c0b39c1
6 changed files with 104 additions and 8 deletions
|
@ -51,7 +51,7 @@ angular.module('dockerui.filters', [])
|
|||
'use strict';
|
||||
return function (state) {
|
||||
if (state === undefined) {
|
||||
return '';
|
||||
return 'label-default';
|
||||
}
|
||||
|
||||
if (state.Ghost && state.Running) {
|
||||
|
@ -60,7 +60,7 @@ angular.module('dockerui.filters', [])
|
|||
if (state.Running) {
|
||||
return 'label-success';
|
||||
}
|
||||
return '';
|
||||
return 'label-default';
|
||||
};
|
||||
})
|
||||
.filter('humansize', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue