Implemented text input component
Implemented text input component
This commit is contained in:
parent
5fbadf8063
commit
ae5c541516
|
@ -15,14 +15,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Hostname" name="hostname"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Hostname</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="hostname" required>
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<x-text-input>
|
<x-text-input>
|
||||||
|
|
|
@ -16,22 +16,10 @@
|
||||||
@method('PUT')
|
@method('PUT')
|
||||||
<div class="row mt-4">
|
<div class="row mt-4">
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Hostname" name="hostname" value="{{ $dn->hostname }}"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Hostname</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="hostname"
|
|
||||||
value="{{ $dn->hostname }}">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Address" name="address" value="{{ $dn->address }}"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Address</span></div>
|
|
||||||
<input type="text" name="address" class="form-control" minlength="1"
|
|
||||||
maxlength="124" value="{{ $dn->address }}">
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
|
|
@ -15,15 +15,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-6 mb-4">
|
<div class="col-12 col-lg-6 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Domain" name="domain"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Domain</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="domain"
|
|
||||||
placeholder="Enter domain name without extension">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-3 mb-3">
|
<div class="col-12 col-lg-3 mb-3">
|
||||||
<x-text-input>
|
<x-text-input>
|
||||||
|
|
|
@ -17,15 +17,7 @@
|
||||||
<div class="row mt-4">
|
<div class="row mt-4">
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<input type="hidden" value="1" name="service_type">
|
<input type="hidden" value="1" name="service_type">
|
||||||
<div class="input-group">
|
<x-text-input title="Domain" name="domain" value="{{ $domain_info->domain }}"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">domain</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="domain"
|
|
||||||
value="{{ $domain_info->domain }}">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<x-text-input>
|
<x-text-input>
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">Domain</td>
|
<td class="px-2 py-2 font-bold text-muted">Domain</td>
|
||||||
<td><a href="https://{{ $domain_info->domain }}.{{$domain_info->extension}}"
|
<td><a href="https://{{ $domain_info->domain }}.{{$domain_info->extension}}"
|
||||||
class="text-decoration-none">{{ $domain_info->domain }}
|
class="text-decoration-none">{{ $domain_info->domain}}.{{$domain_info->extension}}</a></td>
|
||||||
.{{$domain_info->extension}}</a></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">Provider</td>
|
<td class="px-2 py-2 font-bold text-muted">Provider</td>
|
||||||
|
|
|
@ -15,10 +15,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-6 mb-4">
|
<div class="col-12 col-lg-6 mb-4">
|
||||||
<x-text-input>
|
<x-text-input title="IP address" name="address"></x-text-input>
|
||||||
<x-slot name="title">IP address</x-slot>
|
|
||||||
<x-slot name="name">address</x-slot>
|
|
||||||
</x-text-input>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-4 mb-3">
|
<div class="col-12 col-lg-4 mb-3">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
|
|
@ -15,14 +15,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-6 mb-4">
|
<div class="col-12 col-lg-6 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Label" name="label"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Label</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="label" required>
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -15,14 +15,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-6 mb-4">
|
<div class="col-12 col-lg-6 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Location" name="location_name"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Location</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="location_name" minlength="2" maxlength="255" required>
|
|
||||||
@error('locations') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -16,14 +16,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-md-4 mb-4">
|
<div class="col-12 col-md-4 mb-4">
|
||||||
<input type="hidden" value="1" name="service_type">
|
<input type="hidden" value="1" name="service_type">
|
||||||
<div class="input-group">
|
<x-text-input title="Name" name="name"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Name</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="name" required maxlength="255">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-2 mb-3">
|
<div class="col-12 col-md-2 mb-3">
|
||||||
<x-number-input>
|
<x-number-input>
|
||||||
|
|
|
@ -16,14 +16,7 @@
|
||||||
@method('PUT')
|
@method('PUT')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Name" name="name" value="{{$misc_data->name}}"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Name</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="name" required maxlength="255" value="{{$misc_data->name}}">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 mb-3">
|
<div class="col-md-3 mb-3">
|
||||||
<x-number-input>
|
<x-number-input>
|
||||||
|
|
|
@ -15,14 +15,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-6 mb-4">
|
<div class="col-12 col-lg-6 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="OS" name="os_name"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">OS</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="os_name" minlength="2" maxlength="255" required>
|
|
||||||
@error('os') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -15,14 +15,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-6 mb-4">
|
<div class="col-12 col-lg-6 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Provider" name="provider_name"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Provider</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="provider_name" minlength="2" maxlength="255" required>
|
|
||||||
@error('provider') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -16,14 +16,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-3 mb-4">
|
<div class="col-12 col-lg-3 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Domain" name="domain"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Domain</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="domain">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</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">
|
<div class="input-group">
|
||||||
|
|
|
@ -17,14 +17,7 @@
|
||||||
@method('PUT')
|
@method('PUT')
|
||||||
<div class="row mt-3">
|
<div class="row mt-3">
|
||||||
<div class="col-12 col-lg-3 mb-4">
|
<div class="col-12 col-lg-3 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Domain" name="domain" value="{{$reseller->main_domain}}"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Domain</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="domain" value="{{$reseller->main_domain}}">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-3 mb-4">
|
<div class="col-12 col-lg-3 mb-4">
|
||||||
<input type="hidden" name="id" value="{{$reseller->id}}">
|
<input type="hidden" name="id" value="{{$reseller->id}}">
|
||||||
|
|
|
@ -16,14 +16,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Title" name="title"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Title</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="title">
|
|
||||||
@error('title') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
|
|
@ -16,14 +16,7 @@
|
||||||
@method('PUT')
|
@method('PUT')
|
||||||
<div class="row mt-3">
|
<div class="row mt-3">
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Title" name="title" value="{{$seedbox_data->title}}"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Title</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="title" value="{{$seedbox_data->title}}">
|
|
||||||
@error('title') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-4 mb-4">
|
<div class="col-12 col-lg-4 mb-4">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
|
|
@ -17,15 +17,7 @@
|
||||||
<div class="row mt-3">
|
<div class="row mt-3">
|
||||||
<div class="col-12 col-lg-6 mb-4">
|
<div class="col-12 col-lg-6 mb-4">
|
||||||
<input type="hidden" value="{{$server_data->id}}" name="server_id">
|
<input type="hidden" value="{{$server_data->id}}" name="server_id">
|
||||||
<div class="input-group">
|
<x-text-input title="Hostname" name="hostname" value="{{ $server_data->hostname }}"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Hostname</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="hostname"
|
|
||||||
value="{{ $server_data->hostname }}">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</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">
|
<div class="input-group">
|
||||||
|
|
|
@ -16,14 +16,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-3 mb-4">
|
<div class="col-12 col-lg-3 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Domain" name="domain"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Domain</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="domain">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</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">
|
<div class="input-group">
|
||||||
|
|
|
@ -17,14 +17,7 @@
|
||||||
@method('PUT')
|
@method('PUT')
|
||||||
<div class="row mt-3">
|
<div class="row mt-3">
|
||||||
<div class="col-12 col-lg-3 mb-4">
|
<div class="col-12 col-lg-3 mb-4">
|
||||||
<div class="input-group">
|
<x-text-input title="Domain" name="domain" value="{{$shared->main_domain}}"></x-text-input>
|
||||||
<div class="input-group-prepend"><span class="input-group-text">Domain</span></div>
|
|
||||||
<input type="text"
|
|
||||||
class="form-control"
|
|
||||||
name="domain" value="{{$shared->main_domain}}">
|
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
|
||||||
</span>@enderror
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-3 mb-4">
|
<div class="col-12 col-lg-3 mb-4">
|
||||||
<input type="hidden" name="id" value="{{$shared->id}}">
|
<input type="hidden" name="id" value="{{$shared->id}}">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user