feat(graphs): align forms for line mode checkbox

This commit is contained in:
bergquist 2016-05-04 10:42:12 +02:00
parent 2018e30366
commit 3d366c2a4c
2 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,7 @@
* **Remove query**: Fixed issue with removing query for data sources without collapsable query editors, fixes [#4856](https://github.com/grafana/grafana/issues/4856)
* **Graphite PNG*: Fixed issue graphite png rendering option, fixes [#4864](https://github.com/grafana/grafana/issues/4864)
* **InfluxDB**: Fixed issue missing plus group by iconn, fixes [#4862](https://github.com/grafana/grafana/issues/4862)
* **Graph**: Fixes missing line mode for thresholds, fixes [#4902](https://github.com/grafana/grafana/pull/4902)
### Enhancements
* **InfluxDB**: Added new functions moving_average and difference to query editor, closes [#4698](https://github.com/grafana/grafana/issues/4698)

View File

@ -46,7 +46,7 @@
<h5 class="section-heading">Thresholds</h5>
<div class="gf-form-inline">
<div class="gf-form">
<label class="gf-form-label width-5">Level 1</label>
<label class="gf-form-label width-6">Level 1</label>
<input type="number" class="gf-form-input max-width-5" ng-model="ctrl.panel.grid.threshold1" ng-change="ctrl.render()" ng-model-onblur>
</div>
<div class="gf-form">
@ -58,7 +58,7 @@
</div>
<div class="gf-form-inline">
<div class="gf-form">
<label class="gf-form-label width-5">Level 2</label>
<label class="gf-form-label width-6">Level 2</label>
<input type="number" class="gf-form-input max-width-5" ng-model="ctrl.panel.grid.threshold2" ng-change="ctrl.render()" ng-model-onblur>
</div>
<div class="gf-form">
@ -68,6 +68,7 @@
</div>
</div>
</div>
<gf-form-switch class="gf-form" label="Line Mode" label-class="width-10" checked="ctrl.panel.grid.thresholdLine" on-change="ctrl.render()"></gf-form-switch>
<gf-form-switch class="gf-form" label="Line Mode" label-class="width-6" checked="ctrl.panel.grid.thresholdLine" on-change="ctrl.render()"></gf-form-switch>
</div>
</div>