Add System Configuration Page
Parses json file and writes entites to page.
Change-Id: I486070deb48e0b447c904542148dbc3721f1facf
diff --git a/static/js/bmcApp.js b/static/js/bmcApp.js
index 1812261..fb641ab 100644
--- a/static/js/bmcApp.js
+++ b/static/js/bmcApp.js
@@ -128,6 +128,9 @@
.state('sensor',
{url : '/sensor', templateUrl : 'static/partial-sensor.html'})
+ .state('systemconfig',
+ {url: '/systemconfig', templateUrl : 'static/partial-systemconfig.html'})
+
.state(
'fwupdate',
{url : '/fwupdate', templateUrl : 'static/partial-fwupdate.html'})
diff --git a/static/js/systemConfigController.js b/static/js/systemConfigController.js
new file mode 100644
index 0000000..d32f6ce
--- /dev/null
+++ b/static/js/systemConfigController.js
@@ -0,0 +1,11 @@
+angular.module('bmcApp')
+ .controller(
+ 'systemConfigController', [
+ '$scope', '$http',
+ function($scope, $http) {
+ $http.get('/intel/system_config').then(function(response) {
+ $scope.configuration = response.data;
+ });
+ }
+ ]
+ );