Updated inspector template

This commit is contained in:
Rashid Khan
2013-07-30 14:58:45 -07:00
parent f574374aab
commit 2e85fbecb1
19 changed files with 4808 additions and 46 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
</style>
<span ng-show="panel.spyable" style="position:absolute;right:0px;top:0px" class='panelextra pointer'>
<i bs-modal="'partials/modal.html'" class="icon-eye-open"></i>
<i bs-modal="'partials/inspector.html'" class="icon-eye-open"></i>
</span>
<div class="row-fluid">
+1 -7
View File
@@ -226,13 +226,7 @@ angular.module('kibana.table', [])
};
$scope.populate_modal = function(request) {
$scope.modal = {
title: "Table Inspector",
body : "<h5>Last Elasticsearch Query</h5><pre>"+
'curl -XGET '+config.elasticsearch+'/'+dashboard.indices+"/_search?pretty -d'\n"+
angular.toJson(JSON.parse(request.toString()),true)+
"'</pre>",
};
$scope.inspector = angular.toJson(JSON.parse(request.toString()),true);
};
$scope.without_kibana = function (row) {