Move server creation over to new service/repository setup.

Moves tons of functions around, but the basic implementation is working again.

Some features are still missing, and the service never actually commits the server to the database right now.

This push is mostly just to get the code into Github and backed up.
This commit is contained in:
Dane Everitt 2017-07-19 20:49:41 -05:00
parent 736a323eff
commit 0c513f24d5
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
35 changed files with 1398 additions and 44 deletions

View file

@ -83,7 +83,7 @@
@foreach($locations as $location)
<option value="{{ $location->id }}"
@if($location->id === old('location_id'))
selected="selected"
selected
@endif
>{{ $location->long }} ({{ $location->short }})</option>
@endforeach
@ -229,15 +229,10 @@
</div>
<div class="box-body row">
<div class="form-group col-xs-12">
<label for="pDefaultContainer">Default Container</label>
<input type="text" id="pDefaultContainer" readonly class="form-control" />
<label for="pDefaultContainer">Process Container</label>
<input id="pDefaultContainer" name="docker_image" value="{{ old('docker_image') }}" class="form-control" />
<p class="small text-muted no-margin">This is the default Docker container that will be used to run this server.</p>
</div>
<div class="form-group col-xs-12">
<label for="pCustomContainer">Custom Container</label>
<input type="text" name="custom_container" value="{{ old('custom_container') }}" id="pCustomContainer" class="form-control" />
<p class="small text-muted no-margin">If you would like to use a custom Docker container please enter it here, otherwise leave empty.</p>
</div>
</div>
</div>
</div>