2024-08-01 07:34:31 +00:00
|
|
|
@use(App\Models\Domain)
|
|
|
|
@use(App\Models\DomainRegistrar)
|
|
|
|
@use(App\Models\Service\Domain,ServiceDomain)
|
|
|
|
|
|
|
|
<!-- o=Service\Domain::class -->
|
2021-07-13 02:31:56 +00:00
|
|
|
<div class="row">
|
2022-08-02 09:16:52 +00:00
|
|
|
<div class="col-12 col-sm-9 col-md-12 col-xl-7">
|
2024-08-01 07:34:31 +00:00
|
|
|
<x-form.domain name="domain" label="Domain Name" :name_value="$o->domain_name" :tld_value="$o->tld_id"/>
|
2021-07-13 02:31:56 +00:00
|
|
|
</div>
|
2022-08-02 09:16:52 +00:00
|
|
|
|
|
|
|
<div class="col-12 col-sm-9 col-md-6 col-xl-5">
|
2024-08-01 07:34:31 +00:00
|
|
|
<x-leenooks::form.date id="expire_at" name="domain[expire_at]" icon="fa-calendar" label="Expiry" old="domain.expire_at" :value="$o->expire_at?->format('Y-m-d')"/>
|
2022-08-02 09:16:52 +00:00
|
|
|
</div>
|
2021-07-13 02:31:56 +00:00
|
|
|
</div>
|
|
|
|
|
2022-08-02 09:16:52 +00:00
|
|
|
<hr>
|
|
|
|
<p class="h6">Registrar Details</p>
|
2021-07-13 02:31:56 +00:00
|
|
|
|
2022-08-02 09:16:52 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-sm-9 col-md-6 col-xl-5">
|
2024-08-18 04:02:03 +00:00
|
|
|
<x-leenooks::form.select id="domain_registrar_id" name="domain[domain_registrar_id]" icon="fa-handshake" label="Registrar" :value="$o->domain_registrar_id" :options="DomainRegistrar::active()->orderBy('name')->get()->map(fn($item)=>['id'=>$item->id,'value'=>$item->name])"/>
|
2021-07-13 02:31:56 +00:00
|
|
|
</div>
|
|
|
|
|
2022-08-02 09:16:52 +00:00
|
|
|
<div class="col-12 col-sm-9 col-md-12 col-xl-6">
|
2024-08-01 07:34:31 +00:00
|
|
|
<x-leenooks::form.text id="registrar_account" name="domain[registrar_account]" icon="fa-user-circle" label="Registrar Username" :value="$o->registrar_account"/>
|
2021-07-13 02:31:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2022-08-02 09:16:52 +00:00
|
|
|
<div class="col-12 col-sm-9 col-md-6 col-xl-5">
|
2024-08-18 04:02:03 +00:00
|
|
|
<x-leenooks::form.select id="registrar_ns" name="domain[registrar_ns]" icon="fa-project-diagram" label="DNS Location" :value="$o->registrar_ns" :options="ServiceDomain::select('registrar_ns')->distinct()->orderBy('registrar_ns')->get()->map(fn($item)=>['id'=>$item->registrar_ns,'value'=>$item->registrar_ns])"/>
|
2021-07-13 02:31:56 +00:00
|
|
|
</div>
|
|
|
|
|
2022-08-02 09:16:52 +00:00
|
|
|
<div class="col-12 col-sm-9 col-md-12 col-xl-6">
|
2024-08-01 07:34:31 +00:00
|
|
|
<x-leenooks::form.text id="registrar_username" name="domain[registrar_username]" icon="fa-user" label="Registrar Username" :value="$o->registrar_username"/>
|
2021-07-13 02:31:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-08-01 07:34:31 +00:00
|
|
|
@pa(select2,autofocus)
|
2022-10-18 03:17:50 +00:00
|
|
|
|
2021-07-13 02:31:56 +00:00
|
|
|
@section('page-scripts')
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
2022-08-02 09:16:52 +00:00
|
|
|
$('#tld_id').select2({
|
2021-07-13 02:31:56 +00:00
|
|
|
dropdownAutoWidth: true,
|
|
|
|
width: 'style',
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2022-08-02 09:16:52 +00:00
|
|
|
@append
|