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
a1df0fc1
Commit
a1df0fc1
authored
Aug 20, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #393 from rashidkpc/master
Fix for count positioning in firefox
parents
9b5f8f0b
adf5ed8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
panels/table/micropanel.html
+9
-3
No files found.
panels/table/micropanel.html
View file @
a1df0fc1
...
@@ -19,13 +19,18 @@
...
@@ -19,13 +19,18 @@
<i
class=
"pointer icon-ban-circle"
ng-click=
"build_search(micropanel.field,field[0],true);dismiss();"
></i>
<i
class=
"pointer icon-ban-circle"
ng-click=
"build_search(micropanel.field,field[0],true);dismiss();"
></i>
</td>
</td>
<td
class=
"progress"
style=
"width:100px;position:relative"
>
<td
class=
"progress"
style=
"width:100px;position:relative"
>
<div
bs-tooltip=
"percent(field[1],data.length)"
class=
"bar {{micropanelColor($index)}}"
ng-style=
"{width: percent(field[1],data.length)}"
></div>
<style
scoped
>
<span
style=
"position:absolute;right:10px;"
>
{{field[1]}}
</span>
.progress
{
overflow
:
visible
;
}
</style>
<div
bs-tooltip=
"percent(field[1],data.length)"
class=
"bar"
ng-class=
"micropanelColor($index)"
ng-style=
"{width: percent(field[1],data.length)}"
></div>
<span
style=
"position:absolute;right:20px;"
>
{{field[1]}}
</span>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<div
class=
"progress"
>
<div
class=
"progress"
>
<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
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>
</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
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