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