1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

feat(ui): new dashboard view (#75)

This commit is contained in:
Anthony Lapenna 2016-07-14 10:58:39 +12:00 committed by GitHub
parent 00b2c92e39
commit c8a5b82c89
4 changed files with 206 additions and 98 deletions

View file

@ -130,6 +130,12 @@ angular.module('dockerui.filters', [])
return _.split(container.Names[0], '/')[2];
};
})
.filter('swarmversion', function () {
'use strict';
return function (text) {
return _.split(text, '/')[1];
};
})
.filter('swarmhostname', function () {
'use strict';
return function (container) {