2022-03-05 16:29:58 +01:00
|
|
|
@section('title') {{$shared->main_domain}} {{'shared'}} @endsection
|
|
|
|
<x-app-layout>
|
|
|
|
<x-slot name="header">
|
|
|
|
{{ __('Share hosting details') }}
|
|
|
|
</x-slot>
|
|
|
|
<div class="container">
|
|
|
|
<x-card class="shadow mt-3">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-md-6 mb-2">
|
|
|
|
<h2>{{ $shared->main_domain }}</h2>
|
2022-07-19 07:21:13 +02:00
|
|
|
@foreach($shared->labels as $label)
|
|
|
|
<span class="badge bg-primary mx-1">{{$label->label->label}}</span>
|
|
|
|
@endforeach
|
2022-03-05 16:29:58 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-6 text-md-end">
|
|
|
|
<h6 class="text-muted pe-lg-4">{{ $shared->id }}</h6>
|
|
|
|
@if($shared->active !== 1)
|
|
|
|
<h6 class="text-danger pe-lg-4">not active</h6>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="'col-12 col-lg-6">
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table table-borderless text-nowrap">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Type</td>
|
|
|
|
<td>{{ $shared->shared_type }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Location</td>
|
2022-07-19 07:21:13 +02:00
|
|
|
<td>{{ $shared->location->name }}</td>
|
2022-03-05 16:29:58 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Provider</td>
|
2022-07-19 07:21:13 +02:00
|
|
|
<td>{{ $shared->provider->name }}</td>
|
2022-03-05 16:29:58 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Price</td>
|
2022-07-19 07:21:13 +02:00
|
|
|
<td>{{ $shared->price->price }} {{ $shared->price->currency }}
|
|
|
|
<small>{{\App\Process::paymentTermIntToString($shared->price->term)}}</small>
|
2022-03-05 16:29:58 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Was promo</td>
|
2022-07-19 07:21:13 +02:00
|
|
|
<td>{{ ($shared->was_promo === 1) ? 'Yes' : 'No' }}</td>
|
2022-03-05 16:29:58 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Has dedicated IP?</td>
|
|
|
|
<td>
|
2022-07-19 07:21:13 +02:00
|
|
|
@if(isset($shared->ips[0]->address))
|
2022-03-05 16:29:58 +01:00
|
|
|
Yes
|
|
|
|
@else
|
|
|
|
No
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">IP</td>
|
2022-07-19 07:21:13 +02:00
|
|
|
<td><code>@if(isset($shared->ips[0]->address))
|
|
|
|
{{$shared->ips[0]->address}}
|
2022-03-05 16:29:58 +01:00
|
|
|
@endif
|
|
|
|
</code></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Owned since</td>
|
|
|
|
<td>
|
|
|
|
@if(!is_null($shared->owned_since))
|
|
|
|
{{ date_format(new DateTime($shared->owned_since), 'jS F Y') }}
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Next due date</td>
|
2022-07-19 07:21:13 +02:00
|
|
|
<td>{{Carbon\Carbon::parse($shared->price->next_due_date)->diffForHumans()}}
|
|
|
|
({{Carbon\Carbon::parse($shared->price->next_due_date)->format('d/m/Y')}})
|
2022-03-05 16:29:58 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Inserted</td>
|
|
|
|
<td>
|
|
|
|
@if(!is_null($shared->created_at))
|
|
|
|
{{ date_format(new DateTime($shared->created_at), 'jS M y g:i a') }}
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Updated</td>
|
|
|
|
<td>
|
|
|
|
@if(!is_null($shared->updated_at))
|
|
|
|
{{ date_format(new DateTime($shared->updated_at), 'jS M y g:i a') }}
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="'col-12 col-lg-6">
|
|
|
|
<table class="table table-borderless">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Disk GB</td>
|
|
|
|
<td>{{$shared->disk_as_gb}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Bandwidth GB</td>
|
|
|
|
<td>{{$shared->bandwidth}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Domains Limit</td>
|
|
|
|
<td>{{$shared->domains_limit}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Subdomains Limit</td>
|
|
|
|
<td>{{$shared->subdomains_limit}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">Email Limit</td>
|
|
|
|
<td>{{$shared->email_limit}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">DB Limit</td>
|
|
|
|
<td>{{$shared->db_limit}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="px-2 py-2 font-bold text-muted">FTP Limit</td>
|
|
|
|
<td>{{$shared->ftp_limit}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a href="{{ route('shared.index') }}"
|
|
|
|
class="btn btn-success btn-sm mx-2">
|
|
|
|
Go back
|
|
|
|
</a>
|
|
|
|
<a href="{{ route('shared.edit', $shared->id) }}"
|
|
|
|
class="btn btn-primary btn-sm mx-2">
|
|
|
|
Edit
|
|
|
|
</a>
|
|
|
|
</x-card>
|
|
|
|
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
|
|
|
<p class="text-muted mt-4 text-end"><small>
|
|
|
|
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
|
|
)</small>
|
|
|
|
</p>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</x-app-layout>
|