Commit a0e37a00 by Johannes Schill Committed by Torkel Ödegaard

TimePicker: Re-add apply button in time picker (#16619)

parent 318182cc
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<div class="popover-box__header"> <div class="popover-box__header">
<span class="popover-box__title">Custom range</span> <span class="popover-box__title">Custom range</span>
</div> </div>
<form name="timeForm" class="popover-box__body gf-timepicker-absolute-section"> <form name="timeForm" class="popover-box__body gf-timepicker-absolute-section max-width-28">
<label class="small">From:</label> <label class="small">From:</label>
<div class="gf-form-inline"> <div class="gf-form-inline">
<div class="gf-form max-width-28"> <div class="gf-form max-width-28">
...@@ -73,15 +73,11 @@ ...@@ -73,15 +73,11 @@
<datepicker ng-model="ctrl.absolute.toJs" class="gf-timepicker-component" show-weeks="false" starting-day="ctrl.firstDayOfWeek" ng-change="ctrl.absoluteToChanged()"></datepicker> <datepicker ng-model="ctrl.absolute.toJs" class="gf-timepicker-component" show-weeks="false" starting-day="ctrl.firstDayOfWeek" ng-change="ctrl.absoluteToChanged()"></datepicker>
</div> </div>
<!-- <label class="small">Refreshing every:</label> <div class="gf-form gf-form--flex-end m-t-1">
<div class="gf-form-inline">
<div class="gf-form max-width-28">
<select ng-model="ctrl.refresh.value" class="gf-form-input input-medium" ng-options="f.value as f.text for f in ctrl.refresh.options"></select>
</div>
<div class="gf-form"> <div class="gf-form">
<button type="submit" class="btn gf-form-btn btn-primary" ng-click="ctrl.applyCustom();" ng-disabled="!timeForm.$valid">Apply</button> <button type="submit" class="btn gf-form-btn btn-primary" ng-click="ctrl.applyCustom();" ng-disabled="!timeForm.$valid">Apply</button>
</div> </div>
</div> --> </div>
</form> </form>
</div> </div>
</div> </div>
......
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