Ed Tanous | 904063f | 2017-03-02 16:48:24 -0800 | [diff] [blame] | 1 | angular.module('bmcApp').controller('versionController', function($scope, Restangular) { |
| 2 | |
| 3 | var system_status = Restangular.one('systeminfo').get().then(function(system_status) { |
| 4 | $scope.system_status = system_status; |
| 5 | }); |
| 6 | |
| 7 | $scope.host_power_on= true; |
| 8 | $scope.rmm_module_installed= true; |
| 9 | $scope.bmc_available= true; |
| 10 | $scope.bmc_build_date= new Date(2016, 0, 1, 2, 3, 4, 567); |
| 11 | $scope.bios_build_number = "D0191"; |
| 12 | $scope.bmc_build_number = "96.37"; |
| 13 | $scope.bmc_build_extended = "e04989f7"; |
| 14 | $scope.bmc_backup_build_number = "96.37"; |
| 15 | $scope.bmc_backup_build_extended = "e04989f7"; |
| 16 | }); |