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
a43e9252
Commit
a43e9252
authored
May 02, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added move buttons to table header
parent
a793637f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
panels/table/module.html
+8
-3
No files found.
panels/table/module.html
View file @
a43e9252
...
...
@@ -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