2016-02-24 07:20:54 +01:00
|
|
|
<div class="gf-form-group">
|
|
|
|
|
<div class="gf-form">
|
|
|
|
|
<span class="gf-form-label">
|
|
|
|
|
<i class="fa fa-clock-o"></i>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<span class="gf-form-label width-12">Override relative time</span>
|
|
|
|
|
<span class="gf-form-label width-6">Last</span>
|
|
|
|
|
|
|
|
|
|
<input type="text" class="gf-form-input max-width-8" placeholder="1h"
|
|
|
|
|
empty-to-null ng-model="ctrl.panel.timeFrom" valid-time-span
|
2016-03-21 14:08:18 +01:00
|
|
|
ng-change="ctrl.refresh()" ng-model-onblur></input>
|
2016-02-24 07:20:54 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="gf-form">
|
|
|
|
|
<span class="gf-form-label">
|
|
|
|
|
<i class="fa fa-clock-o"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="gf-form-label width-12">Add time shift</span>
|
|
|
|
|
<span class="gf-form-label width-6">Amount</span>
|
|
|
|
|
<input type="text" class="gf-form-input max-width-8" placeholder="1h"
|
|
|
|
|
empty-to-null ng-model="ctrl.panel.timeShift" valid-time-span
|
2016-03-21 14:08:18 +01:00
|
|
|
ng-change="ctrl.refresh()" ng-model-onblur></input>
|
2016-02-24 07:20:54 +01:00
|
|
|
</div>
|
|
|
|
|
|
2016-03-21 21:24:06 +01:00
|
|
|
<div class="gf-form-inline">
|
|
|
|
|
<div class="gf-form">
|
|
|
|
|
<span class="gf-form-label">
|
|
|
|
|
<i class="fa fa-clock-o"></i>
|
|
|
|
|
</span>
|
2016-03-21 14:08:18 +01:00
|
|
|
</div>
|
2016-03-21 21:24:06 +01:00
|
|
|
<gf-form-switch class="gf-form max-width-30"
|
|
|
|
|
label="Hide time override info" label-class="width-12"
|
2016-04-11 16:21:25 -04:00
|
|
|
checked="ctrl.panel.hideTimeOverride" switch-class="max-width-6" on-change="ctrl.refresh()">
|
2016-03-21 21:24:06 +01:00
|
|
|
</gf-form-switch>
|
2015-01-26 10:57:08 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-02-24 07:20:54 +01:00
|
|
|
|