misc_pterodactyl-panel/resources/views/partials/schedules/task-template.blade.php

43 lines
1.9 KiB
PHP
Raw Permalink Normal View History

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