2015-02-13 12:57:23 +00:00
|
|
|
angular.module('info', [])
|
2015-12-21 02:23:17 +00:00
|
|
|
.controller('InfoController', ['$scope', 'Info', 'Version', 'Settings',
|
|
|
|
function ($scope, Info, Version, Settings) {
|
2015-08-25 05:59:54 +00:00
|
|
|
$scope.info = {};
|
|
|
|
$scope.docker = {};
|
|
|
|
$scope.endpoint = Settings.endpoint;
|
2014-11-29 04:19:24 +00:00
|
|
|
|
2015-12-21 02:23:17 +00:00
|
|
|
Version.get({}, function (d) {
|
2015-08-25 05:59:54 +00:00
|
|
|
$scope.docker = d;
|
|
|
|
});
|
2015-12-21 02:23:17 +00:00
|
|
|
Info.get({}, function (d) {
|
2015-08-25 05:59:54 +00:00
|
|
|
$scope.info = d;
|
|
|
|
});
|
|
|
|
}]);
|