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
bd214563
Commit
bd214563
authored
Oct 15, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added type-to-filter input to field list on table
parent
c52e4006
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/app/panels/table/module.html
+7
-4
No files found.
src/app/panels/table/module.html
View file @
bd214563
...
...
@@ -10,16 +10,19 @@
<div
ng-class=
"{'span3':panel.field_list}"
ng-show=
"panel.field_list"
>
<div
class=
"sidebar-nav"
>
<strong>
Fields
<i
class=
" icon-chevron-sign-left pointer "
ng-click=
"panel.field_list = !panel.field_list"
bs-tooltip=
"'Hide field list'"
ng-show=
"panel.field_list"
></i></strong><p>
<
span
class=
"small"
>
<
div
class=
"small"
>
<span
class=
"link"
ng-click=
"panel.all_fields = true;"
ng-class=
"{strong:panel.all_fields}"
>
All
</span>
/
<span
class=
"link"
ng-click=
"panel.all_fields = false;"
ng-class=
"{strong:!panel.all_fields}"
>
Current
</span>
</span>
</div>
<div><input
type=
"text"
class=
"input-medium"
placeholder=
"Type to filter..."
ng-model=
"fieldFilter"
></div>
<ul
class=
"unstyled"
style=
"{{panel.overflow}}:{{panel.height || row.height}};overflow-y:auto;overflow-x:hidden;"
>
<li
ng-style=
"panel.style"
ng-repeat=
"field in fields.list"
ng-show=
"panel.all_fields"
>
<li
ng-style=
"panel.style"
ng-repeat=
"field in fields.list
|filter:fieldFilter
"
ng-show=
"panel.all_fields"
>
<i
class=
"pointer"
ng-class=
"{'icon-check': _.contains(panel.fields,field),'icon-check-empty': !_.contains(panel.fields,field)}"
ng-click=
"toggle_field(field)"
></i>
<a
class=
"pointer"
data-unique=
"1"
bs-popover=
"'app/panels/table/micropanel.html'"
data-placement=
"rightTop"
ng-click=
"toggle_micropanel(field,true)"
ng-class=
"{label: _.contains(panel.fields,field)}"
>
{{field}}
</a>
</li>
<li
ng-style=
"panel.style"
ng-repeat=
"field in current_fields"
ng-hide=
"panel.all_fields"
>
<li
ng-style=
"panel.style"
ng-repeat=
"field in current_fields
|filter:fieldFilter
"
ng-hide=
"panel.all_fields"
>
<i
class=
"pointer"
ng-class=
"{'icon-check': _.contains(panel.fields,field),'icon-check-empty': !_.contains(panel.fields,field)}"
ng-click=
"toggle_field(field)"
></i>
<a
class=
"pointer"
data-unique=
"1"
bs-popover=
"'app/panels/table/micropanel.html'"
data-placement=
"rightTop"
ng-click=
"toggle_micropanel(field,true)"
ng-class=
"{label: _.contains(panel.fields,field)}"
>
{{field}}
</a>
</li>
...
...
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