Add support for starting server on creation.
This commit is contained in:
parent
482bf4804d
commit
844ebfaf64
2 changed files with 13 additions and 4 deletions
|
@ -330,6 +330,7 @@ class ServerRepository
|
||||||
(string) $server->daemonSecret => $this->daemonPermissions,
|
(string) $server->daemonSecret => $this->daemonPermissions,
|
||||||
],
|
],
|
||||||
'rebuild' => false,
|
'rebuild' => false,
|
||||||
|
'start_on_completion' => isset($data['start_on_completion']),
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
@ -52,10 +52,18 @@
|
||||||
<select class="form-control" style="padding-left:0;" name="user_id" id="pUserId"></select>
|
<select class="form-control" style="padding-left:0;" name="user_id" id="pUserId"></select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6">
|
<div class="col-md-6">
|
||||||
<label for="description" class="control-label">Server Description</label>
|
<div class="form-group">
|
||||||
<textarea name="description" rows="3" class="form-control">{{ old('description') }}</textarea>
|
<label for="description" class="control-label">Server Description</label>
|
||||||
<p class="text-muted small">A brief description of this server.</p>
|
<textarea name="description" rows="3" class="form-control">{{ old('description') }}</textarea>
|
||||||
|
<p class="text-muted small">A brief description of this server.</p>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="checkbox checkbox-primary no-margin-bottom">
|
||||||
|
<input id="pStartOnCreation" name="start_on_completion" type="checkbox" value="1" checked />
|
||||||
|
<label for="pStartOnCreation" class="strong">Start Server when Installed</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue