|
|
@ -68,6 +68,16 @@ angular.module('dockerui.filters', [])
|
|
|
|
var name = container.Names[0];
|
|
|
|
var name = container.Names[0];
|
|
|
|
return name.substring(1, name.length);
|
|
|
|
return name.substring(1, name.length);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.filter('repotag', function() {
|
|
|
|
|
|
|
|
return function(image) {
|
|
|
|
|
|
|
|
if (image.RepoTags && image.RepoTags.length > 0) {
|
|
|
|
|
|
|
|
var tag = image.RepoTags[0];
|
|
|
|
|
|
|
|
if (tag == '<none>:<none>') { tag = ''; }
|
|
|
|
|
|
|
|
return tag;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return '';
|
|
|
|
|
|
|
|
};
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.filter('getdate', function() {
|
|
|
|
.filter('getdate', function() {
|
|
|
|
return function(data) {
|
|
|
|
return function(data) {
|
|
|
|