From a34e967ca60414d48e91f88a957a93f6f5447ade Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Thu, 9 May 2013 07:13:38 -0700 Subject: [PATCH] options to disable table headers and paging controls --- common/css/main.css | 4 ++++ panels/histogram/module.html | 7 ++++--- panels/table/editor.html | 16 +++++++++++----- panels/table/module.html | 6 +++--- panels/table/module.js | 4 +++- 5 files changed, 25 insertions(+), 12 deletions(-) diff --git a/common/css/main.css b/common/css/main.css index 3dad01af61c..5d8ad777f2c 100644 --- a/common/css/main.css +++ b/common/css/main.css @@ -151,3 +151,7 @@ background-color: #A60000; } +.faded { + opacity: 0.2; +} + diff --git a/panels/histogram/module.html b/panels/histogram/module.html index 8f0745cd866..eb96ada8a8e 100644 --- a/panels/histogram/module.html +++ b/panels/histogram/module.html @@ -5,12 +5,13 @@
Zoom In - Zoom Out - | + Zoom Out | +
{{series.label}} ({{series.hits}})
-
per {{panel.interval}} | ({{hits}} total) + + per {{panel.interval}} | ({{hits}} total)
diff --git a/panels/table/editor.html b/panels/table/editor.html index f724fcaf895..e039eaf6a3b 100644 --- a/panels/table/editor.html +++ b/panels/table/editor.html @@ -20,10 +20,13 @@ {{field}} -
Sorting
+
Options
-
Enable
+
Header
+
+
+
Sorting
Sort
@@ -31,12 +34,15 @@
-
-
Paging and Appearence
-
Font Size
+
+
Page Control
+
+
+
Paging
+
Per Page
diff --git a/panels/table/module.html b/panels/table/module.html index 6a70e0b1ac2..ad8062e29c4 100644 --- a/panels/table/module.html +++ b/panels/table/module.html @@ -5,7 +5,7 @@
-
+
@@ -20,7 +20,7 @@
No columns configured. You may want to add a fields panel, or click the edit button in the top right of this panel to add some columns
- +
@@ -59,7 +59,7 @@
-
+
>
diff --git a/panels/table/module.js b/panels/table/module.js index 672361f9956..70c6b281dca 100644 --- a/panels/table/module.js +++ b/panels/table/module.js @@ -40,7 +40,9 @@ angular.module('kibana.table', []) style : {'font-size': '9pt'}, fields : [], sortable: true, - spyable: true, + header : true, + paging : true, + spyable: true } _.defaults($scope.panel,_d)