Added panelMeta object for extra panel details, moved add panel button, tweaked editors

This commit is contained in:
Rashid Khan
2013-07-25 21:27:37 -07:00
parent 34f8c88c28
commit 13fc14ffa9
25 changed files with 144 additions and 112 deletions
+6 -4
View File
@@ -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
};