1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 13:59:40 +02:00

configuration is now exposed in /config endpoint (#13)

This commit is contained in:
Anthony Lapenna 2016-06-16 17:27:07 +12:00 committed by GitHub
parent f3a5251fd4
commit a7619b06ba
8 changed files with 208 additions and 12 deletions

View file

@ -0,0 +1,19 @@
angular.module('docker', [])
.controller('DockerController', ['$scope', 'Info', 'Version', 'Settings',
function ($scope, Info, Version, Settings) {
$scope.info = {};
$scope.docker = {};
$scope.order = function(sortType) {
$scope.sortReverse = ($scope.sortType === sortType) ? !$scope.sortReverse : false;
$scope.sortType = sortType;
};
Version.get({}, function (d) {
$scope.docker = d;
});
Info.get({}, function (d) {
$scope.info = d;
});
}]);