Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d2d4809f
Commit
d2d4809f
authored
Jul 28, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added order option to terms table
parent
b498e197
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
common/img/kibana.png
+0
-0
panels/table/module.js
+0
-1
panels/terms/editor.html
+5
-1
panels/terms/module.js
+2
-0
No files found.
common/img/kibana.png
0 → 100644
View file @
d2d4809f
5.79 KB
panels/table/module.js
View file @
d2d4809f
...
@@ -211,7 +211,6 @@ angular.module('kibana.table', [])
...
@@ -211,7 +211,6 @@ angular.module('kibana.table', [])
$scope
.
all_fields
=
kbn
.
get_all_fields
(
_
.
pluck
(
$scope
.
data
,
'_source'
));
$scope
.
all_fields
=
kbn
.
get_all_fields
(
_
.
pluck
(
$scope
.
data
,
'_source'
));
fields
.
add_fields
(
$scope
.
all_fields
);
fields
.
add_fields
(
$scope
.
all_fields
);
console
.
log
(
fields
);
// If we're not sorting in reverse chrono order, query every index for
// If we're not sorting in reverse chrono order, query every index for
// size*pages results
// size*pages results
...
...
panels/terms/editor.html
View file @
d2d4809f
...
@@ -8,7 +8,11 @@
...
@@ -8,7 +8,11 @@
<label
class=
"small"
>
Length
</label>
<label
class=
"small"
>
Length
</label>
<input
class=
"input-small"
type=
"number"
ng-model=
"panel.size"
ng-change=
"set_refresh(true)"
>
<input
class=
"input-small"
type=
"number"
ng-model=
"panel.size"
ng-change=
"set_refresh(true)"
>
</div>
</div>
<div
class=
"span6"
>
<div
class=
"span3"
>
<label
class=
"small"
>
Order
</label>
<select
class=
"input-medium"
ng-model=
"panel.order"
ng-options=
"f for f in ['count','term','reverse_count','reverse_term']"
ng-change=
"set_refresh(true)"
></select></span>
</div>
<div
class=
"span4"
>
<label
class=
"small"
>
Exclude Terms(s) (comma seperated)
</label>
<label
class=
"small"
>
Exclude Terms(s) (comma seperated)
</label>
<input
array-join
type=
"text"
ng-model=
'panel.exclude'
></input>
<input
array-join
type=
"text"
ng-model=
'panel.exclude'
></input>
</div>
</div>
...
...
panels/terms/module.js
View file @
d2d4809f
...
@@ -38,6 +38,7 @@ angular.module('kibana.terms', [])
...
@@ -38,6 +38,7 @@ angular.module('kibana.terms', [])
missing
:
true
,
missing
:
true
,
other
:
true
,
other
:
true
,
size
:
10
,
size
:
10
,
order
:
'count'
,
style
:
{
"font-size"
:
'10pt'
},
style
:
{
"font-size"
:
'10pt'
},
donut
:
false
,
donut
:
false
,
tilt
:
false
,
tilt
:
false
,
...
@@ -83,6 +84,7 @@ angular.module('kibana.terms', [])
...
@@ -83,6 +84,7 @@ angular.module('kibana.terms', [])
.
facet
(
$scope
.
ejs
.
TermsFacet
(
'terms'
)
.
facet
(
$scope
.
ejs
.
TermsFacet
(
'terms'
)
.
field
(
$scope
.
panel
.
field
)
.
field
(
$scope
.
panel
.
field
)
.
size
(
$scope
.
panel
.
size
)
.
size
(
$scope
.
panel
.
size
)
.
order
(
$scope
.
panel
.
order
)
.
exclude
(
$scope
.
panel
.
exclude
)
.
exclude
(
$scope
.
panel
.
exclude
)
.
facetFilter
(
$scope
.
ejs
.
QueryFilter
(
.
facetFilter
(
$scope
.
ejs
.
QueryFilter
(
$scope
.
ejs
.
FilteredQuery
(
$scope
.
ejs
.
FilteredQuery
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment