Ed Tanous | 1ccd57c | 2017-03-21 13:15:58 -0700 | [diff] [blame] | 1 | angular.module('bmcApp').controller('versionController', [ |
Ed Tanous | 4758d5b | 2017-06-06 15:28:13 -0700 | [diff] [blame^] | 2 | '$scope', '$http', |
| 3 | function($scope, $http) { |
Ed Tanous | 904063f | 2017-03-02 16:48:24 -0800 | [diff] [blame] | 4 | |
Ed Tanous | 4758d5b | 2017-06-06 15:28:13 -0700 | [diff] [blame^] | 5 | var systeminfo = $http.get("/systeminfo").then(function(systeminfo){ |
Ed Tanous | c4771fb | 2017-03-13 13:39:49 -0700 | [diff] [blame] | 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 | }); |
Ed Tanous | 1ccd57c | 2017-03-21 13:15:58 -0700 | [diff] [blame] | 16 | }]); |