osb/resources/views/theme/backend/adminlte/service/widget/hosting/details.blade.php

57 lines
1.4 KiB
PHP
Raw Normal View History

2022-04-19 07:07:39 +00:00
<!-- $o = App\Models\Service\Host::class -->
2020-02-20 11:54:28 +00:00
<div class="card">
@if($o->service->isPending())
<div class="ribbon-wrapper ribbon-lg">
<div class="ribbon bg-warning">
Pending
</div>
</div>
@endif
<div class="card-header bg-gray-dark">
<h3 class="card-title">Hosting Details</h3>
</div>
<div class="card-body bg-gray-dark">
<table class="table table-sm">
<tr>
<th>Domain Name</th>
<td>{{ $o->service->name }}</td>
2020-02-20 11:54:28 +00:00
</tr>
@if($o->provider->whitelabel_url)
<tr>
<th>Hosting URL</th>
<td><a href="{{ $o->provider->whitelabel_url }}" target="_blank" class="text-white">{{ $o->provider->whitelabel_url }}</a></td>
</tr>
<tr>
<th>Hosting Username</th>
<td>{{ $o->host_username }}</td>
</tr>
<tr>
<th>Hosting Password</th>
<td>{{ $o->host_password }}</td>
</tr>
@endif
@if($o->service_connect_date)
<tr>
<th>Connected</th>
<td>{{ $o->service_connect_date->format('Y-m-d') }}</td>
</tr>
@endif
@if ($o->inContract())
<tr>
2022-04-19 07:07:39 +00:00
<th>Contract Term</th>
<td>{{ $o->service->contract_term }} months</td>
2020-02-20 11:54:28 +00:00
</tr>
<tr>
<th>Contract End</th>
2022-04-19 07:07:39 +00:00
<td>{{ $o->service->contract_end->format('Y-m-d') }} <small>({{ $o->service->contract_end->diffForHumans() }})</small></td>
2020-02-20 11:54:28 +00:00
</tr>
@endif
<tr>
<th>Cancel Notice</th>
<td>Before renewal</td>
</tr>
</table>
</div>
</div>