@section("title", "{$server_data->hostname} server") @section('scripts') @endsection {{ __('Server details') }}

{{ $server_data->hostname }}

@foreach($server_data->labels as $label) {{$label->label->label}} @endforeach
{{ $server_data->id }}
@if($server_data->active !== 1)
not active
@endif
@foreach($server_data->ips as $ip) @endforeach
Type {{ $server_data->serviceServerType($server_data->server_type, false) }}
OS {{ $server_data->os->name }}
Location {{$server_data->location->name}}
Provider {{$server_data->provider->name}}
Price {{ $server_data->price->price }} {{ $server_data->price->currency }} {{\App\Process::paymentTermIntToString($server_data->price->term)}}
Next due date {{Carbon\Carbon::parse($server_data->price->next_due_date)->diffForHumans()}} ({{Carbon\Carbon::parse($server_data->price->next_due_date)->format('d/m/Y')}})
CPU {{ $server_data->cpu }} @if($server_data->has_yabs) @ {{ $server_data->yabs[0]->cpu_freq }} Mhz @endif
RAM @if(isset($server_data->yabs[0]->ram)) {{ $server_data->yabs[0]->ram }} {{ $server_data->yabs[0]->ram_type }} @else {{ $server_data->ram }} {{ $server_data->ram_type }} @endif
Disk @if(isset($server_data->yabs[0]->disk)) {{ $server_data->yabs[0]->disk }} {{ $server_data->yabs[0]->disk_type }} @else {{ $server_data->disk }} {{ $server_data->disk_type }} @endif
Bandwidth {{ $server_data->bandwidth }} GB
@if($ip['is_ipv4']) IPv4 @else IPv6 @endif {{ $ip['address'] }}
Was promo {{ ($server_data->was_promo === 1) ? 'Yes' : 'No' }}
Owned since @if(!is_null($server_data->owned_since)) {{ date_format(new DateTime($server_data->owned_since), 'jS F Y') }} @endif
Inserted @if(!is_null($server_data->created_at)) {{ date_format(new DateTime($server_data->created_at), 'jS M y g:i a') }} @endif
Updated @if(!is_null($server_data->updated_at)) {{ date_format(new DateTime($server_data->updated_at), 'jS M y g:i a') }} @endif
{{ route('servers.index') }} {{ route('servers.edit', $server_data->id) }} Show code to add a YABS
@if($server_data->has_yabs)
@foreach($server_data->yabs[0]->network_speed as $ns) @endforeach
GB5 Single/Multi {{$server_data->yabs[0]->gb5_single}} / {{$server_data->yabs[0]->gb5_multi}}
CPU {{$server_data->yabs[0]->cpu_model}}
AES {{ ($server_data->yabs[0]->aes === 1) ? 'Yes' : 'No' }}
VM {{ ($server_data->yabs[0]->vm === 1) ? 'Yes' : 'No' }}
Disk 4k {{$server_data->yabs[0]->disk_speed->d_4k}} {{$server_data->yabs[0]->disk_speed->d_4k_type}}
Disk 64k {{$server_data->yabs[0]->disk_speed->d_64k}} {{$server_data->yabs[0]->disk_speed->d_64k_type}}
Disk 512k {{$server_data->yabs[0]->disk_speed->d_512k}} {{$server_data->yabs[0]->disk_speed->d_512k_type}}
Disk 1m {{$server_data->yabs[0]->disk_speed->d_1m}} {{$server_data->yabs[0]->disk_speed->d_1m_type}}
Network speed (s/r)
{{$ns->location}} {{$ns->send}} {{$ns->send_type}} {{$ns->receive}} {{$ns->receive_type}}
@else

Please add a YABS to see Geekbench, disk and network speeds:

curl -sL yabs.sh | bash -s -- -s "{{route('api.store-yabs', [$server_data->id, \Illuminate\Support\Facades\Auth::user()->api_token])}}" @endif

curl -sL yabs.sh | bash -s -- -s "{{route('api.store-yabs', [$server_data->id, \Illuminate\Support\Facades\Auth::user()->api_token])}}"

@if(isset($server_data->note))

Note:

{{$server_data->note->note}}

@endif