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
b7c1c507
Commit
b7c1c507
authored
Sep 20, 2013
by
bobrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better-looking histogram checkboxes
parent
b1948b2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
6 deletions
+35
-6
src/app/panels/histogram/module.html
+35
-6
No files found.
src/app/panels/histogram/module.html
View file @
b7c1c507
...
...
@@ -27,6 +27,11 @@
.histogram-options
span
{
white-space
:
nowrap
;
}
/* this is actually should be in bootstrap */
.form-inline
.checkbox
{
display
:
inline-block
;
}
</style>
<div>
<span
ng-show=
'panel.options'
>
...
...
@@ -45,13 +50,37 @@
<span
ng-show=
"panel.legend"
class=
"small"
><span
ng-show=
"panel.value_field && panel.mode != 'count'"
>
{{panel.value_field}}
</span>
{{panel.mode}} per
<strong>
{{panel.interval}}
</strong>
| (
<strong>
{{hits}}
</strong>
hits)
</span>
</div>
<form
class=
"form-inline bordered histogram-options"
ng-show=
"options"
>
<label
class=
"small"
>
Bars
</label>
<input
type=
"checkbox"
ng-model=
"panel.bars"
ng-checked=
"panel.bars"
ng-change=
"render()"
>
<label
class=
"small"
>
Lines
</label>
<input
type=
"checkbox"
ng-model=
"panel.lines"
ng-checked=
"panel.lines"
ng-change=
"render()"
>
<label
class=
"small"
>
Points
</label>
<input
type=
"checkbox"
ng-model=
"panel.points"
ng-checked=
"panel.points"
ng-change=
"render()"
>
<label
class=
"small"
>
Stack
</label>
<input
type=
"checkbox"
ng-model=
"panel.stack"
ng-checked=
"panel.stack"
ng-change=
"render()"
>
<div
class=
"checkbox"
>
<label
class=
"small"
>
<input
type=
"checkbox"
ng-model=
"panel.bars"
ng-checked=
"panel.bars"
ng-change=
"render()"
>
Bars
</label>
</div>
<div
class=
"checkbox"
>
<label
class=
"small"
>
<input
type=
"checkbox"
ng-model=
"panel.lines"
ng-checked=
"panel.lines"
ng-change=
"render()"
>
Lines
</label>
</div>
<div
class=
"checkbox"
>
<label
class=
"small"
>
<input
type=
"checkbox"
ng-model=
"panel.points"
ng-checked=
"panel.points"
ng-change=
"render()"
>
Points
</label>
</div>
<div
class=
"checkbox"
>
<label
class=
"small"
>
<input
type=
"checkbox"
ng-model=
"panel.stack"
ng-checked=
"panel.stack"
ng-change=
"render()"
>
Stack
</label>
</div>
<span
ng-show=
"panel.stack"
>
<label
style=
"white-space:nowrap"
class=
"small"
>
Percent
</label>
<input
type=
"checkbox"
ng-model=
"panel.percentage"
ng-checked=
"panel.percentage"
ng-change=
"render()"
>
<div
class=
"checkbox"
>
<label
style=
"white-space:nowrap"
class=
"small"
>
<input
type=
"checkbox"
ng-model=
"panel.percentage"
ng-checked=
"panel.percentage"
ng-change=
"render()"
>
Percent
</label>
</div>
</span>
<span>
<label
class=
"small"
>
Interval
</label>
<select
ng-change=
"set_interval(panel.interval);get_data();"
class=
"input-small"
ng-model=
"panel.interval"
ng-options=
"interval_label(time) for time in _.union([panel.interval],panel.intervals)"
></select>
...
...
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