Updated creates for defaults settings

Updated creates for defaults settings
This commit is contained in:
cp6 2022-03-06 00:54:56 +11:00
parent a9adf342c0
commit 2d42001e7f
6 changed files with 13 additions and 18 deletions

View File

@ -80,7 +80,7 @@
</div>
<div class="col-md-3 mb-3">
<x-currency-select>
<x-slot name="current">USD</x-slot>
<x-slot name="current">{{Session::get('default_currency')}}</x-slot>
</x-currency-select>
</div>
</div>

View File

@ -40,7 +40,7 @@
</div>
<div class="col-md-3 mb-3">
<x-currency-select>
<x-slot name="current">USD</x-slot>
<x-slot name="current">{{Session::get('default_currency')}}</x-slot>
</x-currency-select>
</div>
</div>

View File

@ -72,7 +72,7 @@
</div>
<div class="col-md-3 mb-3">
<x-currency-select>
<x-slot name="current">USD</x-slot>
<x-slot name="current">{{Session::get('default_currency')}}</x-slot>
</x-currency-select>
</div>
</div>

View File

@ -45,16 +45,11 @@
</div>
</div>
<div class="col-12 col-lg-3 mb-4">
<div class="input-group">
<div class="input-group-prepend"><span class="input-group-text">OS</span></div>
<select class="form-control" name="os_id">
@foreach ($Os as $oss)
<option value="{{ $oss['id'] }}">
{{ $oss['name'] }}
</option>
@endforeach
</select>
</div>
<x-os-select>
<x-slot name="title">OS</x-slot>
<x-slot name="name">os_id</x-slot>
<x-slot name="current">{{Session::get('default_server_os')}}</x-slot>
</x-os-select>
</div>
</div>
<div class="row">
@ -147,7 +142,7 @@
</div>
<div class="col-md-3 mb-3">
<x-currency-select>
<x-slot name="current">USD</x-slot>
<x-slot name="current">{{Session::get('default_currency')}}</x-slot>
</x-currency-select>
</div>
</div>
@ -244,7 +239,7 @@
value="1">
<label class="form-check-label">
Allow this data to be public, restrict values
in settings
in settings
</label>
</div>
<div class="row">

View File

@ -177,11 +177,11 @@
</x-number-input>
</div>
<div class="col-md-3 mb-3">
<x-ram-type-select>
<x-disk-type-select>
<x-slot name="title">Disk type</x-slot>
<x-slot name="name">disk_type</x-slot>
<x-slot name="value">{{$server[0]->disk_type}}</x-slot>
</x-ram-type-select>
</x-disk-type-select>
</div>
</div>
<div class="row">

View File

@ -72,7 +72,7 @@
</div>
<div class="col-md-3 mb-3">
<x-currency-select>
<x-slot name="current">USD</x-slot>
<x-slot name="current">{{Session::get('default_currency')}}</x-slot>
</x-currency-select>
</div>
</div>