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
c41577c0
Commit
c41577c0
authored
May 02, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #62 from rashidkpc/master
Issue #61
parents
a34e1dcb
a43e9252
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
config.js
+2
-2
panels/table/module.html
+8
-3
No files found.
config.js
View file @
c41577c0
...
...
@@ -14,8 +14,8 @@ var config = new Settings(
{
elasticsearch
:
'http://localhost:9200'
,
kibana_index
:
"kibana-int"
,
modules
:
[
'histogram'
,
'map'
,
'
map2'
,
'
pie'
,
'table'
,
'stringquery'
,
'sort'
,
modules
:
[
'histogram'
,
'map'
,
'pie'
,
'table'
,
'stringquery'
,
'sort'
,
'timepicker'
,
'text'
,
'fields'
,
'hits'
,
'dashcontrol'
,
'column'
,
'parallelcoordinates'
],
'column'
],
}
);
panels/table/module.html
View file @
c41577c0
...
...
@@ -21,13 +21,18 @@
<div
class=
"small"
ng-show=
"panel.fields.length == 0"
>
No columns configured. You may want to add a
<strong>
fields panel
</strong>
, or click the edit button in the top right of this panel to add some columns
</div>
<table
class=
"table-hover table table-condensed"
ng-style=
"panel.style"
>
<thead>
<th
style=
"white-space:nowrap"
ng-repeat=
"field in panel.fields"
>
<i
ng-show=
"!$first"
class=
"pointer link icon-caret-left"
ng-click=
"_.move(panel.fields,$index,$index-1)"
></i>
<span
class=
"pointer"
ng-click=
"set_sort(field)"
ng-show=
'panel.sortable'
>
{{field}}
<i
ng-show=
'field == panel.sort[0]'
class=
"pointer"
ng-class=
"{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"
></i>
</span>
<span
ng-show=
'!panel.sortable'
>
{{field}}
</span>
<i
ng-show=
'field == panel.sort[0]'
class=
"pointer link"
ng-class=
"{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"
></i>
</span>
<span
ng-show=
'!panel.sortable'
>
{{field}}
</span>
<i
ng-show=
"!$last"
class=
"pointer link icon-caret-right"
ng-click=
"_.move(panel.fields,$index,$index+1)"
></i>
</th>
</thead>
<tbody
ng-repeat=
"row in data.slice(panel.offset,panel.offset+panel.size)"
ng-class-odd=
"'odd'"
>
<tr
ng-click=
"toggle_details(row)"
>
...
...
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