diff --git a/src/main/webapp/public/scripts/services/services.js b/src/main/webapp/public/scripts/services/services.js
index 3b787bb33d1..79aa80bba92 100644
--- a/src/main/webapp/public/scripts/services/services.js
+++ b/src/main/webapp/public/scripts/services/services.js
@@ -71,7 +71,7 @@ angular.module('springBootAdmin.services', ['ngResource'])
.service('ApplicationDetails', ['$http', function($http) {
this.getInfo = function(app) {
return $http.get(app.url + '/info').success(function(response) {
- app.info = angular.toJson(response, true);
+ app.info = response;
});
}
this.getMetrics = function(app) {
@@ -82,8 +82,6 @@ angular.module('springBootAdmin.services', ['ngResource'])
this.getEnv = function(app) {
return $http.get(app.url + '/env').success(function(response) {
app.env = response;
- app.env.systemProp = angular.toJson(app.env['systemProperties'], true);
- app.env.systemEnv = angular.toJson(app.env['systemEnvironment'], true);
});
}
this.getProps = function(app) {
@@ -93,7 +91,7 @@ angular.module('springBootAdmin.services', ['ngResource'])
if (attr.indexOf('[') != -1 && attr.indexOf('.properties]') != -1) {
var prop = new Object();
prop.key = attr;
- prop.value = angular.toJson(response[attr], true);
+ prop.value = response[attr];
app.props.push(prop);
}
}
diff --git a/src/main/webapp/public/views/apps/details/env.html b/src/main/webapp/public/views/apps/details/env.html
index 71b07fdce7d..a9c723e69f1 100644
--- a/src/main/webapp/public/views/apps/details/env.html
+++ b/src/main/webapp/public/views/apps/details/env.html
@@ -1,16 +1,21 @@
- | Profiles |
- System Properties |
- System Environment |
+ Environment |
+ Key |
+ Value |
-
- | {{ application.env.profiles }} |
- {{ application.env.systemProp }} |
- {{ application.env.systemEnv }} |
+
+ | {{envkey}} |
+
+
+
+ |   |
+ {{propkey}} |
+ {{propvalue}} |
+
diff --git a/src/main/webapp/public/views/apps/details/infos.html b/src/main/webapp/public/views/apps/details/infos.html
index c4c8dcb104c..e55d907b8d4 100644
--- a/src/main/webapp/public/views/apps/details/infos.html
+++ b/src/main/webapp/public/views/apps/details/infos.html
@@ -1,14 +1,21 @@
- | Info JSON |
+ Info JSON |
-
- |
- {{ application.info }}
- |
+
+
+ | {{infokey}} |
+
+
+
+ |   |
+ {{propkey}} |
+ {{propvalue}} |
+
+
diff --git a/src/main/webapp/public/views/apps/details/props.html b/src/main/webapp/public/views/apps/details/props.html
index 635f693600f..13a03ad3566 100644
--- a/src/main/webapp/public/views/apps/details/props.html
+++ b/src/main/webapp/public/views/apps/details/props.html
@@ -2,13 +2,19 @@
| Resource |
- Properties |
+ Property-Key |
+ Property-Value |
-
- | {{ prop.key }} |
- {{ prop.value }} |
+
+ | {{ prop.key }} |
+
+ |   |
+ {{propkey}} |
+ {{propvalue}} |
+
+