diff --git a/apps/dhp-mdstore-manager/src/main/resources/templates/inspector.html b/apps/dhp-mdstore-manager/src/main/resources/templates/inspector.html index 0b89e5f4..a3acf5cf 100644 --- a/apps/dhp-mdstore-manager/src/main/resources/templates/inspector.html +++ b/apps/dhp-mdstore-manager/src/main/resources/templates/inspector.html @@ -62,6 +62,14 @@

Metadata Inspector

+
+
+ + +
+

@@ -184,6 +192,7 @@ $scope.records = []; $scope.versionId = versionId(); $scope.limit = limit(); + $scope.zeppelinTemplates = []; $scope.reload = function() { showSpinner(); @@ -199,9 +208,17 @@ alert('ERROR: ' + res.data.message); }); }; + + $scope.obtainZeppelinTemplates = function() { + $http.get('../../zeppelin/templates?' + $.now()).then(function successCallback(res) { + $scope.zeppelinTemplates = res.data; + }, function errorCallback(res) { + alert('ERROR: ' + res.data.message); + }); + }; $scope.reload(); - + $scope.obtainZeppelinTemplates(); });