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
66631da1
Commit
66631da1
authored
Jan 12, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some last polish to thew new axis editor view, #1331
parent
d6f9ff34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
14 deletions
+17
-14
src/app/panels/graph/axisEditor.html
+14
-14
src/css/less/grafana.less
+3
-0
No files found.
src/app/panels/graph/axisEditor.html
View file @
66631da1
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
<div
class=
"grafana-target"
>
<div
class=
"grafana-target"
>
<div
class=
"grafana-target-inner"
>
<div
class=
"grafana-target-inner"
>
<ul
class=
"grafana-segment-list"
>
<ul
class=
"grafana-segment-list"
>
<li
class=
"grafana-target-segment"
style=
"width:
10
0px"
>
<li
class=
"grafana-target-segment"
style=
"width:
8
0px"
>
<strong>
Left Y
</strong>
<strong>
Left Y
</strong>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment"
>
Unit
Unit
</li>
</li>
<li
class=
"dropdown"
style=
"width: 1
4
0px;"
<li
class=
"dropdown"
style=
"width: 1
3
0px;"
ng-model=
"panel.y_formats[0]"
ng-model=
"panel.y_formats[0]"
dropdown-typeahead=
"unitFormats"
dropdown-typeahead=
"unitFormats"
dropdown-typeahead-on-select=
"setUnitFormat(0, $subItem)"
>
dropdown-typeahead-on-select=
"setUnitFormat(0, $subItem)"
>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
Label
Label
</li>
</li>
<li>
<li>
<input
type=
"text"
class=
"input-small grafana-target-segment-input"
<input
type=
"text"
class=
"input-small grafana-target-segment-input
last
"
ng-model=
"panel.leftYAxisLabel"
ng-change=
"render()"
ng-model-onblur
>
ng-model=
"panel.leftYAxisLabel"
ng-change=
"render()"
ng-model-onblur
>
</li>
</li>
</ul>
</ul>
...
@@ -43,13 +43,13 @@
...
@@ -43,13 +43,13 @@
</div>
</div>
<div
class=
"grafana-target-inner"
>
<div
class=
"grafana-target-inner"
>
<ul
class=
"grafana-segment-list"
>
<ul
class=
"grafana-segment-list"
>
<li
class=
"grafana-target-segment"
style=
"width:
10
0px"
>
<li
class=
"grafana-target-segment"
style=
"width:
8
0px"
>
<strong>
Right Y
</strong>
<strong>
Right Y
</strong>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment"
>
Unit
Unit
</li>
</li>
<li
class=
"dropdown"
style=
"width: 1
4
0px"
<li
class=
"dropdown"
style=
"width: 1
3
0px"
ng-model=
"panel.y_formats[1]"
ng-model=
"panel.y_formats[1]"
dropdown-typeahead=
"unitFormats"
dropdown-typeahead=
"unitFormats"
dropdown-typeahead-on-select=
"setUnitFormat(1, $subItem)"
>
dropdown-typeahead-on-select=
"setUnitFormat(1, $subItem)"
>
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
Label
Label
</li>
</li>
<li>
<li>
<input
type=
"text"
class=
"input-small grafana-target-segment-input"
<input
type=
"text"
class=
"input-small grafana-target-segment-input
last
"
ng-model=
"panel.rightYAxisLabel"
ng-change=
"render()"
ng-model-onblur
>
ng-model=
"panel.rightYAxisLabel"
ng-change=
"render()"
ng-model-onblur
>
</li>
</li>
</ul>
</ul>
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<div
class=
"grafana-target"
>
<div
class=
"grafana-target"
>
<div
class=
"grafana-target-inner"
>
<div
class=
"grafana-target-inner"
>
<ul
class=
"grafana-segment-list"
>
<ul
class=
"grafana-segment-list"
>
<li
class=
"grafana-target-segment"
style=
"width:
10
0px"
>
<li
class=
"grafana-target-segment"
style=
"width:
8
0px"
>
<strong>
Show Axis
</strong>
<strong>
Show Axis
</strong>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment"
>
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
ng-model=
"panel['x-axis']"
ng-checked=
"panel['x-axis']"
ng-change=
"render()"
>
ng-model=
"panel['x-axis']"
ng-checked=
"panel['x-axis']"
ng-change=
"render()"
>
<label
for=
"hideXAxis"
class=
"cr1"
></label>
<label
for=
"hideXAxis"
class=
"cr1"
></label>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment
last
"
>
Y-Axis
Y-Axis
<input
class=
"cr1"
id=
"hideYAxis"
type=
"checkbox"
<input
class=
"cr1"
id=
"hideYAxis"
type=
"checkbox"
ng-model=
"panel['y-axis']"
ng-checked=
"panel['y-axis']"
ng-change=
"render()"
>
ng-model=
"panel['y-axis']"
ng-checked=
"panel['y-axis']"
ng-change=
"render()"
>
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
</div>
</div>
<div
class=
"grafana-target-inner"
>
<div
class=
"grafana-target-inner"
>
<ul
class=
"grafana-segment-list"
>
<ul
class=
"grafana-segment-list"
>
<li
class=
"grafana-target-segment"
style=
"width:
10
0px"
>
<li
class=
"grafana-target-segment"
style=
"width:
8
0px"
>
<strong>
Thresholds
</strong>
<strong>
Thresholds
</strong>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment"
>
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment"
>
<spectrum-picker
ng-model=
"panel.grid.threshold2Color"
ng-change=
"render()"
></spectrum-picker>
<spectrum-picker
ng-model=
"panel.grid.threshold2Color"
ng-change=
"render()"
></spectrum-picker>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment
last
"
>
Line mode
Line mode
<input
class=
"cr1"
id=
"panel.grid.thresholdLine"
type=
"checkbox"
<input
class=
"cr1"
id=
"panel.grid.thresholdLine"
type=
"checkbox"
ng-model=
"panel.grid.thresholdLine"
ng-checked=
"panel.grid.thresholdLine"
ng-change=
"render()"
>
ng-model=
"panel.grid.thresholdLine"
ng-checked=
"panel.grid.thresholdLine"
ng-change=
"render()"
>
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<div
class=
"grafana-target"
>
<div
class=
"grafana-target"
>
<div
class=
"grafana-target-inner"
>
<div
class=
"grafana-target-inner"
>
<ul
class=
"grafana-segment-list"
>
<ul
class=
"grafana-segment-list"
>
<li
class=
"grafana-target-segment"
style=
"width:
10
0px"
>
<li
class=
"grafana-target-segment"
style=
"width:
8
0px"
>
<strong>
Legend
</strong>
<strong>
Legend
</strong>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment"
>
...
@@ -170,8 +170,8 @@
...
@@ -170,8 +170,8 @@
ng-model=
"panel.legend.rightSide"
ng-checked=
"panel.legend.rightSide"
ng-change=
"render()"
>
ng-model=
"panel.legend.rightSide"
ng-checked=
"panel.legend.rightSide"
ng-change=
"render()"
>
<label
for=
"panel.legend.rightSide"
class=
"cr1"
></label>
<label
for=
"panel.legend.rightSide"
class=
"cr1"
></label>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment
last
"
>
Hide empty
<span
bs-tooltip=
"'Hides series with only null values'"
>
Hide empty
<span>
<input
class=
"cr1"
id=
"panel.legend.hideEmpty"
type=
"checkbox"
<input
class=
"cr1"
id=
"panel.legend.hideEmpty"
type=
"checkbox"
ng-model=
"panel.legend.hideEmpty"
ng-checked=
"panel.legend.hideEmpty"
ng-change=
"render()"
>
ng-model=
"panel.legend.hideEmpty"
ng-checked=
"panel.legend.hideEmpty"
ng-change=
"render()"
>
<label
for=
"panel.legend.hideEmpty"
class=
"cr1"
></label>
<label
for=
"panel.legend.hideEmpty"
class=
"cr1"
></label>
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
ng-model=
"panel.legend.avg"
ng-checked=
"panel.legend.avg"
ng-change=
"render()"
>
ng-model=
"panel.legend.avg"
ng-checked=
"panel.legend.avg"
ng-change=
"render()"
>
<label
for=
"panel.legend.avg"
class=
"cr1"
></label>
<label
for=
"panel.legend.avg"
class=
"cr1"
></label>
</li>
</li>
<li
class=
"grafana-target-segment"
>
<li
class=
"grafana-target-segment
last
"
>
Current
Current
<input
class=
"cr1"
id=
"panel.legend.current"
type=
"checkbox"
<input
class=
"cr1"
id=
"panel.legend.current"
type=
"checkbox"
ng-model=
"panel.legend.current"
ng-checked=
"panel.legend.current"
ng-change=
"render()"
>
ng-model=
"panel.legend.current"
ng-checked=
"panel.legend.current"
ng-change=
"render()"
>
...
...
src/css/less/grafana.less
View file @
66631da1
...
@@ -251,6 +251,9 @@ input[type=text].grafana-target-text-input {
...
@@ -251,6 +251,9 @@ input[type=text].grafana-target-text-input {
margin: 0px;
margin: 0px;
border-radius: 0;
border-radius: 0;
padding: 8px 4px;
padding: 8px 4px;
&.last {
border-right: none;
}
}
}
input[type=checkbox].grafana-target-option-checkbox {
input[type=checkbox].grafana-target-option-checkbox {
...
...
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