Commit 180940a3 by bergquist

fix(singlestat): align width for gauge settings

parent 0d41b129
...@@ -104,10 +104,10 @@ ...@@ -104,10 +104,10 @@
<div class="section gf-form-group"> <div class="section gf-form-group">
<h5 class="section-heading">Gauge</h5> <h5 class="section-heading">Gauge</h5>
<gf-form-switch class="gf-form" label-class="width-10" label="Show" checked="ctrl.panel.gauge.show" on-change="ctrl.render()"></gf-form-switch> <gf-form-switch class="gf-form" label-class="width-8" label="Show" checked="ctrl.panel.gauge.show" on-change="ctrl.render()"></gf-form-switch>
<div ng-if="ctrl.panel.gauge.show"> <div ng-if="ctrl.panel.gauge.show">
<div class="gf-form"> <div class="gf-form">
<label class="gf-form-label width-10">Min</label> <label class="gf-form-label width-8">Min</label>
<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> <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>
<label class="gf-form-label alert-state-critical" ng-show="ctrl.invalidGaugeRange"> <label class="gf-form-label alert-state-critical" ng-show="ctrl.invalidGaugeRange">
&nbsp; <i class="fa fa-warning"></i> &nbsp; <i class="fa fa-warning"></i>
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
</label> </label>
</div> </div>
<div class="gf-form"> <div class="gf-form">
<label class="gf-form-label width-10">Max</label> <label class="gf-form-label width-8">Max</label>
<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> <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>
</div> </div>
<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> <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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment