diff --git a/common/css/main.css b/common/css/main.css index c38f566e8cf9a3..1d72620a14d594 100644 --- a/common/css/main.css +++ b/common/css/main.css @@ -106,6 +106,10 @@ font-size: 85%; } +.input-append label { + font-size: inherit !important; +} + .large { font-size: 120%; } diff --git a/panels/hits/editor.html b/panels/hits/editor.html index b1549c4b9ba679..9d7fa903269d74 100644 --- a/panels/hits/editor.html +++ b/panels/hits/editor.html @@ -1,36 +1,29 @@
-
- -
-
- -
-
- - -
- -
-
Chart Options
-
-
+
- + +
+
+ +
-
-
+
- + +
+
+ +
- +
- +
- +
Queries
diff --git a/panels/hits/module.html b/panels/hits/module.html index 33bdc083c58504..7a6df45f4fef02 100644 --- a/panels/hits/module.html +++ b/panels/hits/module.html @@ -1,42 +1,42 @@ -
- -

{{hits}}

- +
- - - +
{{query.label}}{{query.data[0][1]}}
+ +
{{query.label}}{{query.data[0][1]}}
-
-
{{query.label}} ({{query.data[0][1]}}) +
+
{{query.label}} ({{query.data[0][1]}})

+
-
-
- -

{{hits}}

+
+ +
- - - +
{{query.label}}{{query.data[0][1]}}
+ +
{{query.label}}{{query.data[0][1]}}
-
-
{{query.label}} ({{query.data[0][1]}}) +
+
{{query.label}} ({{query.data[0][1]}})

+
{{hits}}
+ + {{query.label}} ({{query.hits}})
\ No newline at end of file diff --git a/panels/hits/module.js b/panels/hits/module.js index 64b2d5dc7c2b29..879beb309ab43d 100644 --- a/panels/hits/module.js +++ b/panels/hits/module.js @@ -98,7 +98,6 @@ angular.module('kibana.hits', []) i++; }); - $scope.$emit('render'); if(_segment < $scope.panel.index.length-1) $scope.get_data(_segment+1,query_id) @@ -200,6 +199,10 @@ angular.module('kibana.hits', []) colors: ['#86B22D','#BF6730','#1D7373','#BFB930','#BF3030','#77207D'] }); + // Compensate for the height of the legend. Gross + elem.height( + (scope.panel.height || scope.row.height).replace('px','') - $("#"+scope.$id+"-legend").height()) + // Work around for missing legend at initialization if(!scope.$$phase) scope.$apply() diff --git a/panels/pie/editor.html b/panels/pie/editor.html index a3059a243a29f1..4a9b1d1f4b96c3 100644 --- a/panels/pie/editor.html +++ b/panels/pie/editor.html @@ -1,28 +1,32 @@
-
-
+
+
+ + +
+
-
Field
+
-
+
-
Query
+
-
-
Length
+
+
-
+
-
Exclude Terms(s) (comma seperated)
+
@@ -30,16 +34,20 @@
Exclude Terms(s) (comma seperated)
-
+
+
+ + +
-
Goal
+
-
+
-
Query
+
@@ -54,15 +62,12 @@
Query
-
- -
-
- - +
+ +
Panel Spy
diff --git a/panels/pie/module.html b/panels/pie/module.html index 3a78b2b9dfd599..a8ca59bf55baa2 100644 --- a/panels/pie/module.html +++ b/panels/pie/module.html @@ -3,10 +3,14 @@ -
+
{{query.label}} ({{query.data[0][1]}})

+ +
+
{{query.label}} ({{query.data[0][1]}}) +
\ No newline at end of file diff --git a/panels/pie/module.js b/panels/pie/module.js index 709363ca192f40..0c3e8d5502f768 100644 --- a/panels/pie/module.js +++ b/panels/pie/module.js @@ -12,7 +12,7 @@ angular.module('kibana.pie', []) labels : true, mode : "terms", group : "default", - default_field : '_all', + default_field : 'DEFAULT', spyable : true, } _.defaults($scope.panel,_d) @@ -122,7 +122,7 @@ angular.module('kibana.pie', []) var complete = results.hits.total; var remaining = $scope.panel.query.goal - complete; $scope.data = [ - { label : 'Complete', data : complete, color: '#51A351' }, + { label : 'Complete', data : complete, color: '#86B22D' }, { data : remaining, color: '#EEE'}] $scope.$emit('render'); }); diff --git a/panels/stringquery/module.js b/panels/stringquery/module.js index dac83338e84fcf..ca34045a83d358 100644 --- a/panels/stringquery/module.js +++ b/panels/stringquery/module.js @@ -34,7 +34,7 @@ angular.module('kibana.stringquery', []) $scope.panel.query = new Array($scope.panel.query) $scope.panel.query.push("") } - } + } $scope.set_multi = function(multi) { $scope.panel.query = multi ?