@@ -4,7 +4,7 @@ <h5 class="section-heading">Value</h5>
4
4
5
5
< div class ="gf-form-inline ">
6
6
< div class ="gf-form ">
7
- < label class ="gf-form-label width-4 "> Stat</ label >
7
+ < label class ="gf-form-label width-6 "> Stat</ label >
8
8
< div class ="gf-form-select-wrapper width-7 ">
9
9
< select class ="gf-form-input " ng-model ="ctrl.panel.valueName " ng-options ="f for f in ctrl.valueNameOptions " ng-change ="ctrl.render() "> </ select >
10
10
</ div >
@@ -17,7 +17,7 @@ <h5 class="section-heading">Value</h5>
17
17
18
18
< div class ="gf-form-inline ">
19
19
< div class ="gf-form ">
20
- < label class ="gf-form-label width-4 "> Prefix</ label >
20
+ < label class ="gf-form-label width-6 "> Prefix</ label >
21
21
< input type ="text " class ="gf-form-input width-7 " ng-model ="ctrl.panel.prefix " ng-change ="ctrl.render() " ng-model-onblur >
22
22
< label class ="gf-form-label width-6 "> Font size</ label >
23
23
< div class ="gf-form-select-wrapper ">
@@ -27,26 +27,21 @@ <h5 class="section-heading">Value</h5>
27
27
</ div >
28
28
29
29
< div class ="gf-form ">
30
- < label class ="gf-form-label width-4 "> Postfix</ label >
30
+ < label class ="gf-form-label width-6 "> Postfix</ label >
31
31
< input type ="text " class ="gf-form-input width-7 " ng-model ="ctrl.panel.postfix " ng-change ="ctrl.render() " ng-model-onblur >
32
32
< label class ="gf-form-label width-6 "> Font size</ label >
33
33
< div class ="gf-form-select-wrapper ">
34
34
< select class ="input-small gf-form-input " ng-model ="ctrl.panel.postfixFontSize " ng-options ="f for f in ctrl.fontSizes " ng-change ="ctrl.render() "> </ select >
35
35
</ div >
36
36
</ div >
37
- </ div >
38
-
39
- < div class ="section gf-form-group ">
40
- < h5 class ="section-heading "> Unit</ h5 >
41
- < div class ="gf-form-inline ">
42
- < div class ="gf-form ">
43
- < div class ="gf-form-dropdown-typeahead " ng-model ="ctrl.panel.format " dropdown-typeahead2 ="ctrl.unitFormats " dropdown-typeahead-on-select ="ctrl.setUnitFormat($subItem) "> </ div >
44
- </ div >
45
- < div class ="gf-form ">
46
- < label class ="gf-form-label "> Decimals</ label >
47
- < input type ="number " class ="gf-form-input width-5 " placeholder ="auto " data-placement ="right " bs-tooltip ="'Override automatic decimal precision for legend and tooltips' " ng-model ="ctrl.panel.decimals " ng-change ="ctrl.refresh() " ng-model-onblur >
48
- </ div >
49
- </ div >
37
+ < div class ="gf-form ">
38
+ < label class ="gf-form-label width-6 "> Unit</ label >
39
+ < div class ="gf-form-dropdown-typeahead width-18 " ng-model ="ctrl.panel.format " dropdown-typeahead2 ="ctrl.unitFormats " dropdown-typeahead-on-select ="ctrl.setUnitFormat($subItem) "> </ div >
40
+ </ div >
41
+ < div class ="gf-form ">
42
+ < label class ="gf-form-label width-6 "> Decimals</ label >
43
+ < input type ="number " class ="gf-form-input width-18 " placeholder ="auto " data-placement ="right " bs-tooltip ="'Override automatic decimal precision for legend and tooltips' " ng-model ="ctrl.panel.decimals " ng-change ="ctrl.refresh() " ng-model-onblur >
44
+ </ div >
50
45
</ div >
51
46
52
47
< div class ="section gf-form-group ">
@@ -86,7 +81,7 @@ <h5 class="section-heading">Coloring</h5>
86
81
< h5 class ="section-heading "> Spark lines</ h5 >
87
82
< gf-form-switch class ="gf-form " label-class ="width-9 " label ="Show " checked ="ctrl.panel.sparkline.show " on-change ="ctrl.render() "> </ gf-form-switch >
88
83
< div ng-if ="ctrl.panel.sparkline.show ">
89
- < gf-form-switch class ="gf-form " label-class ="width-9 " label ="Background mode " checked ="ctrl.panel.sparkline.full " on-change ="ctrl.render() "> </ gf-form-switch >
84
+ < gf-form-switch class ="gf-form " label-class ="width-9 " label ="Full height " checked ="ctrl.panel.sparkline.full " on-change ="ctrl.render() "> </ gf-form-switch >
90
85
< div class ="gf-form ">
91
86
< label class ="gf-form-label width-9 "> Line Color</ label >
92
87
< span class ="gf-form-label ">
@@ -104,22 +99,22 @@ <h5 class="section-heading">Spark lines</h5>
104
99
105
100
< div class ="section gf-form-group ">
106
101
< h5 class ="section-heading "> Gauge</ h5 >
107
- < gf-form-switch class ="gf-form " label-class ="width-8 " label ="Show " checked ="ctrl.panel.gauge.show " on-change ="ctrl.render() "> </ gf-form-switch >
102
+ < gf-form-switch class ="gf-form " label-class ="width-10 " switch-class =" max-width-6 " label ="Show " checked ="ctrl.panel.gauge.show " on-change ="ctrl.render() "> </ gf-form-switch >
108
103
< div ng-if ="ctrl.panel.gauge.show ">
109
104
< div class ="gf-form ">
110
- < label class ="gf-form-label width-8 "> Min</ label >
105
+ < label class ="gf-form-label width-10 "> Min</ label >
111
106
< input type ="number " class ="gf-form-input width-6 " placeholder ="0 " data-placement ="right " ng-model ="ctrl.panel.gauge.minValue " ng-change ="ctrl.refresh() " ng-model-onblur >
112
107
< label class ="gf-form-label alert-state-critical " ng-show ="ctrl.invalidGaugeRange ">
113
108
< i class ="fa fa-warning "> </ i >
114
109
Min value is bigger than max.
115
110
</ label >
116
111
</ div >
117
112
< div class ="gf-form ">
118
- < label class ="gf-form-label width-8 "> Max</ label >
113
+ < label class ="gf-form-label width-10 "> Max</ label >
119
114
< input type ="number " class ="gf-form-input width-6 " placeholder ="0 " data-placement ="right " ng-model ="ctrl.panel.gauge.maxValue " ng-change ="ctrl.refresh() " ng-model-onblur >
120
115
</ div >
121
- < gf-form-switch class ="gf-form " label-class ="width-10 " label ="Threshold labels " checked ="ctrl.panel.gauge.thresholdLabels " on-change ="ctrl.render() "> </ gf-form-switch >
122
- < gf-form-switch class ="gf-form " label-class ="width-10 " label ="Threshold markers " checked ="ctrl.panel.gauge.thresholdMarkers " on-change ="ctrl.render() "> </ gf-form-switch >
116
+ < gf-form-switch class ="gf-form " label-class ="width-10 " switch-class =" max-width-6 " label ="Threshold labels " checked ="ctrl.panel.gauge.thresholdLabels " on-change ="ctrl.render() "> </ gf-form-switch >
117
+ < gf-form-switch class ="gf-form " label-class ="width-10 " switch-class =" max-width-6 " label ="Threshold markers " checked ="ctrl.panel.gauge.thresholdMarkers " on-change ="ctrl.render() "> </ gf-form-switch >
123
118
</ div >
124
119
</ div >
125
120
</ div >
0 commit comments