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
90562879
Commit
90562879
authored
Aug 21, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #394 from rashidkpc/master
Add panel options, clean up fields list
parents
a1df0fc1
275221f3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
panels/table/micropanel.html
+2
-1
panels/table/module.html
+1
-1
partials/paneladd.html
+2
-1
No files found.
panels/table/micropanel.html
View file @
90562879
...
@@ -31,6 +31,6 @@
...
@@ -31,6 +31,6 @@
</tbody>
</tbody>
</table>
</table>
<div
class=
"progress"
>
<div
class=
"progress"
>
<div
ng-repeat=
'field in micropanel.values'
data-position=
"right"
bs-tooltip=
"field[0]+' ('+percent(field[1],data.length)+')'"
class=
"bar {{micropanelColor($index)}}"
ng-style=
"{width: percent(field[1],data.length)};"
></div>
<div
ng-repeat=
'field in micropanel.values'
bs-tooltip=
"field[0]+' ('+percent(field[1],data.length)+')'"
class=
"bar {{micropanelColor($index)}}"
ng-style=
"{width: percent(field[1],data.length)};"
></div>
</div>
</div>
<span
ng-repeat=
'(field,count) in micropanel.related'
><a
ng-click=
"toggle_field(field)"
>
{{field}}
</a>
({{Math.round((count / micropanel.count) * 100)}}%),
</span>
<span
ng-repeat=
'(field,count) in micropanel.related'
><a
ng-click=
"toggle_field(field)"
>
{{field}}
</a>
({{Math.round((count / micropanel.count) * 100)}}%),
</span>
\ No newline at end of file
panels/table/module.html
View file @
90562879
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<ul
class=
"unstyled"
style=
"{{panel.overflow}}:{{panel.height || row.height}};overflow-y:auto;overflow-x:hidden;"
>
<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"
>
<li
ng-style=
"panel.style"
ng-repeat=
"field in fields.list"
>
<i
class=
"pointer"
ng-class=
"{'icon-check': _.contains(panel.fields,field),'icon-check-empty': !_.contains(panel.fields,field)}"
ng-click=
"toggle_field(field)"
></i>
<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
data-unique=
"1"
bs-popover=
"'panels/table/micropanel.html'"
data-placement=
"right"
ng-click=
"toggle_micropanel(field)"
ng-class=
"{label: _.contains(panel.fields,field)}"
>
{{field}}
</a>
<a
class=
"pointer"
data-unique=
"1"
bs-popover=
"'panels/table/micropanel.html'"
data-placement=
"right"
ng-click=
"toggle_micropanel(field)"
ng-class=
"{label: _.contains(panel.fields,field)}"
>
{{field}}
</a>
</li>
</li>
</ul>
</ul>
...
...
partials/paneladd.html
View file @
90562879
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
ng-include
src=
"edit_path(panel.type)"
></div>
<div
ng-include
src=
"edit_path(panel.type)"
></div>
</div>
</div>
<div
ng-repeat=
"tab in panelMeta.editorTabs"
ng-show=
"addTab == tab.title"
>
<div
ng-repeat=
"tab in panelMeta.editorTabs"
>
<h4>
{{tab.title}}
</h4>
<h4>
{{tab.title}}
</h4>
<div
ng-include
src=
"tab.src"
></div>
<div
ng-include
src=
"tab.src"
></div>
</div>
</div>
\ No newline at end of file
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