services: Move +/- buttons in 'Create Timers' dialog to PF4
This commit is contained in:
parent
6eb3db79f0
commit
9beaa63019
|
@ -1032,9 +1032,9 @@ $(function() {
|
|||
check_inputs();
|
||||
}
|
||||
|
||||
$("#repeat-time-option").on("click", ".btn.btn-default.dropdown-toggle.fa.fa-plus", repeat_element);
|
||||
$("#repeat-time-option").on("click", "[data-content=add]", repeat_element);
|
||||
|
||||
$(".form-table-ct").on("click", ".btn.btn-default.dropdown-toggle.pficon-close", function() {
|
||||
$(".form-table-ct").on("click", "[data-content=close]", function() {
|
||||
sync_repeat();
|
||||
repeat_array.splice($(this).attr('data-index'), 1);
|
||||
for (var i = 0; i < repeat_array.length; i++) {
|
||||
|
|
|
@ -93,8 +93,8 @@
|
|||
<input type="text" value="{{hours}}" data-index="{{index}}" data-content="hours" class="form-control" disabled>
|
||||
<div class="position-colon">:</div>
|
||||
<input type="text" value="{{minutes}}" data-index="{{index}}" data-content="minutes" class="form-control">
|
||||
<button class="btn btn-default dropdown-toggle fa fa-plus" data-content="add" data-index="{{index}}" type="button" ></button>
|
||||
<button class="btn btn-default dropdown-toggle pficon-close" data-content="close" data-index="{{index}}" type="button" {{close}}></button>
|
||||
<button class="pf-c-button pf-m-secondary btn-sm" data-content="add" data-index="{{index}}" type="button" ><span class="fa fa-plus" /></button>
|
||||
<button class="pf-c-button pf-m-secondary btn-sm" data-content="close" data-index="{{index}}" type="button" {{close}}><span class="pficon-close" /></button>
|
||||
<div data-content="min-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
</div>
|
||||
{{/repeat}}
|
||||
|
@ -106,8 +106,8 @@
|
|||
<input type="text" value="{{hours}}" data-index="{{index}}" data-content="hours" class="form-control" >
|
||||
<div class="position-colon">:</div>
|
||||
<input type="text" data-index="{{index}}" data-content="minutes" value="{{minutes}}" class="form-control">
|
||||
<button class="btn btn-default dropdown-toggle fa fa-plus" data-content="add" data-index="{{index}}" type="button" ></button>
|
||||
<button class="btn btn-default dropdown-toggle pficon-close" data-content="close" data-index="{{index}}" type="button" {{close}}></button>
|
||||
<button class="pf-c-button pf-m-secondary btn-sm" data-content="add" data-index="{{index}}" type="button" ><span class="fa fa-plus" /></button>
|
||||
<button class="pf-c-button pf-m-secondary btn-sm" data-content="close" data-index="{{index}}" type="button" {{close}}><span class="pficon-close" /></button>
|
||||
<div data-content="hr-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
<div data-content="min-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
</div>
|
||||
|
@ -135,8 +135,8 @@
|
|||
<input type="text" value="{{hours}}" data-index="{{index}}" data-content="hours" class="form-control" >
|
||||
<div class="position-colon">:</div>
|
||||
<input type="text" data-index="{{index}}" data-content="minutes" value="{{minutes}}" class="form-control">
|
||||
<button class="btn btn-default dropdown-toggle fa fa-plus" data-content="add" data-index="{{index}}" type="button" ></button>
|
||||
<button class="btn btn-default dropdown-toggle pficon-close" data-content="close" data-index="{{index}}" type="button" {{close}}></button>
|
||||
<button class="pf-c-button pf-m-secondary btn-sm" data-content="add" data-index="{{index}}" type="button" ><span class="fa fa-plus" /></button>
|
||||
<button class="pf-c-button pf-m-secondary btn-sm" data-content="close" data-index="{{index}}" type="button" {{close}}><span class="pficon-close" /></button>
|
||||
<div data-content="hr-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
<div data-content="min-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
</div>
|
||||
|
@ -188,8 +188,8 @@
|
|||
<input type="text" value="{{hours}}" data-index="{{index}}" data-content="hours" class="form-control" >
|
||||
<div class="position-colon">:</div>
|
||||
<input type="text" data-index="{{index}}" data-content="minutes" value="{{minutes}}" class="form-control">
|
||||
<button class="btn btn-default dropdown-toggle fa fa-plus" data-content="add" data-index="{{index}}" type="button" ></button>
|
||||
<button class="btn btn-default dropdown-toggle pficon-close" data-content="close" data-index="{{index}}" type="button" {{close}}></button>
|
||||
<button class="pf-c-button pf-m-secondary btn-sm" data-content="add" data-index="{{index}}" type="button" ><span class="fa fa-plus" /></button>
|
||||
<button class="pf-c-button pf-m-secondary btn-sm" data-content="close" data-index="{{index}}" type="button" {{close}}><span class="pficon-close" /></button>
|
||||
<div data-content="hr-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
<div data-content="min-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
<div data-content="day-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
|
@ -207,8 +207,8 @@
|
|||
<input type="text" value="{{hours}}" data-index="{{index}}" data-content="hours" class="form-control" >
|
||||
<div class="position-colon">:</div>
|
||||
<input type="text" data-index="{{index}}" data-content="minutes" value="{{minutes}}" class="form-control">
|
||||
<button class="btn btn-default dropdown-toggle fa fa-plus" data-content="add" data-index="{{index}}" type="button" ></button>
|
||||
<button class="btn btn-default dropdown-toggle pficon-close" data-content="close" data-index="{{index}}" type="button" {{close}}></button>
|
||||
<button class="pf-c-button pf-m-secondary" data-content="add" data-index="{{index}}" type="button" ><span class="fa fa-plus" /></button>
|
||||
<button class="pf-c-button pf-m-secondary" data-content="close" data-index="{{index}}" type="button" {{close}}><span class="pficon-close" /></button>
|
||||
<div data-content="hr-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
<div data-content="min-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
<div data-content="date-error" class="repeat-error" data-index="{{index}}"></div>
|
||||
|
|
Loading…
Reference in New Issue