Added panelMeta object for extra panel details, moved add panel button, tweaked editors
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
|
||||
## query
|
||||
|
||||
An experimental panel for the query service
|
||||
|
||||
### Parameters
|
||||
* label :: The label to stick over the field
|
||||
* query :: A string or an array of querys. String if multi is off, array if it is on
|
||||
@@ -18,13 +16,17 @@
|
||||
angular.module('kibana.query', [])
|
||||
.controller('query', function($scope, querySrv, $rootScope) {
|
||||
|
||||
$scope.panelMeta = {
|
||||
status : "Stable",
|
||||
description : "Manage all of the queries on the dashboard. You almost certainly need one of "+
|
||||
"these somewhere. This panel allows you to add, remove, label, pin and color queries"
|
||||
};
|
||||
|
||||
// Set and populate defaults
|
||||
var _d = {
|
||||
status : "Beta",
|
||||
label : "Search",
|
||||
query : "*",
|
||||
pinned : true,
|
||||
group : "default",
|
||||
history : [],
|
||||
remember: 10 // max: 100, angular strap can't take a variable for items param
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user