portainer/app/components/footer/footerController.js

8 lines
313 B
JavaScript
Raw Normal View History

2014-11-12 17:04:04 +00:00
angular.module('footer', [])
2015-03-26 19:12:44 +00:00
.controller('FooterController', ['$scope', 'Settings', 'Docker', function($scope, Settings, Docker) {
2014-11-12 17:04:04 +00:00
$scope.template = 'app/components/footer/statusbar.html';
$scope.uiVersion = Settings.uiVersion;
2015-03-26 19:12:44 +00:00
Docker.get({}, function(d) { $scope.apiVersion = d.ApiVersion; });
2014-11-12 17:04:04 +00:00
}]);