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:
parent
f3a5251fd4
commit
a7619b06ba
8 changed files with 208 additions and 12 deletions
19
app/components/docker/dockerController.js
Normal file
19
app/components/docker/dockerController.js
Normal 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;
|
||||
});
|
||||
}]);
|
Loading…
Add table
Add a link
Reference in a new issue