2017-09-10 04:55:21 +00:00
|
|
|
@section('tasks::chain-template')
|
2017-09-13 04:45:19 +00:00
|
|
|
<div class="box-footer with-border task-list-item" data-target="task-clone">
|
2017-09-10 04:55:21 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-md-3">
|
2017-09-13 04:45:19 +00:00
|
|
|
<label class="control-label">@lang('server.schedule.task.time')</label>
|
2017-09-10 04:55:21 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<select name="chain[time_value][]" class="form-control">
|
2017-09-13 04:45:19 +00:00
|
|
|
@foreach(range(0, 59) as $number)
|
2017-09-10 04:55:21 +00:00
|
|
|
<option value="{{ $number }}">{{ $number }}</option>
|
|
|
|
@endforeach
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-8">
|
|
|
|
<select name="chain[time_interval][]" class="form-control">
|
|
|
|
<option value="s">@lang('strings.seconds')</option>
|
|
|
|
<option value="m">@lang('strings.minutes')</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-3">
|
2017-09-13 04:45:19 +00:00
|
|
|
<label class="control-label">@lang('server.schedule.task.action')</label>
|
2017-09-10 04:55:21 +00:00
|
|
|
<div>
|
|
|
|
<select name="chain[action][]" class="form-control">
|
|
|
|
<option value="command">@lang('server.tasks.actions.command')</option>
|
|
|
|
<option value="power">@lang('server.tasks.actions.power')</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-6">
|
2017-09-13 04:45:19 +00:00
|
|
|
<label class="control-label">@lang('server.schedule.task.payload')</label>
|
|
|
|
<div data-attribute="remove-task-element">
|
2017-09-10 04:55:21 +00:00
|
|
|
<input type="text" name="chain[payload][]" class="form-control">
|
2017-09-13 04:45:19 +00:00
|
|
|
<div class="input-group-btn hidden">
|
|
|
|
<button type="button" class="btn btn-danger" data-action="remove-task"><i class="fa fa-close"></i></button>
|
2017-09-10 04:55:21 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@show
|