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>
<div class="col-md-3 mb-3"> <div class="col-md-3 mb-3">
<x-currency-select> <x-currency-select>
<x-slot name="current">USD</x-slot> <x-slot name="current">{{Session::get('default_currency')}}</x-slot>
</x-currency-select> </x-currency-select>
</div> </div>
</div> </div>

View File

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

View File

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

View File

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

View File

@ -177,11 +177,11 @@
</x-number-input> </x-number-input>
</div> </div>
<div class="col-md-3 mb-3"> <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="title">Disk type</x-slot>
<x-slot name="name">disk_type</x-slot> <x-slot name="name">disk_type</x-slot>
<x-slot name="value">{{$server[0]->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> </div>
<div class="row"> <div class="row">

View File

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