update
This commit is contained in:
@@ -7,14 +7,41 @@
|
||||
|
||||
@section('breadcrumb')
|
||||
@php
|
||||
$breadcrumbItems = [
|
||||
['label' => 'Modules'],
|
||||
['label' => 'vCenter', 'url' => route('module.vcenter.index')],
|
||||
['label' => 'Add vCenter', 'active' => true],
|
||||
];
|
||||
$breadcrumbItems = [
|
||||
['label' => 'Modules'],
|
||||
['label' => 'vCenter', 'url' => route('module.vcenter.index')],
|
||||
['label' => 'Add vCenter', 'active' => true],
|
||||
];
|
||||
@endphp
|
||||
<x-admin-breadcrumb :items="$breadcrumbItems" />
|
||||
@endsection
|
||||
@section('tab')
|
||||
@php
|
||||
$tabs = [
|
||||
[
|
||||
'label' => 'DNS',
|
||||
'route' => 'module.dns.create',
|
||||
'icon' => 'server',
|
||||
],
|
||||
[
|
||||
'label' => 'Hosting',
|
||||
'route' => 'module.hosting.create',
|
||||
'icon' => 'server',
|
||||
],
|
||||
[
|
||||
'label' => 'vCenter',
|
||||
'route' => 'module.vcenter.create',
|
||||
'icon' => 'server',
|
||||
],
|
||||
[
|
||||
'label' => 'IpPool',
|
||||
'route' => 'module.ippool.create',
|
||||
'icon' => 'server',
|
||||
],
|
||||
];
|
||||
@endphp
|
||||
<x-admin-tab :items="$tabs" />
|
||||
@endsection
|
||||
@section("content")
|
||||
{{-- Page Header --}}
|
||||
<div class="mb-4">
|
||||
@@ -65,7 +92,8 @@ $breadcrumbItems = [
|
||||
<span class="input-group-text bg-light border-end-0">
|
||||
<i data-lucide="lock" width="18" height="18"></i>
|
||||
</span>
|
||||
<input type="password" id="password" name="password" class="form-control border-start-0 ps-3"
|
||||
<input type="password" id="password" name="password"
|
||||
class="form-control border-start-0 ps-3"
|
||||
placeholder="Leave blank to keep current password">
|
||||
</div>
|
||||
<div class="form-text mt-2">
|
||||
@@ -91,8 +119,8 @@ $breadcrumbItems = [
|
||||
<span class="input-group-text bg-light border-end-0">
|
||||
<i data-lucide="activity" width="18" height="18"></i>
|
||||
</span>
|
||||
<select class="form-control select2 single__select border-start-0 ps-3" name="status" id="status"
|
||||
style="width: 100%;">
|
||||
<select class="form-control select2 single__select border-start-0 ps-3" name="status"
|
||||
id="status" style="width: 100%;">
|
||||
@foreach(App\Enums\Status::getOptions() as $value => $label)
|
||||
<option value="{{ $value }}" {{ $value ? 'selected' : '' }}>{{ $label }}
|
||||
</option>
|
||||
@@ -113,7 +141,7 @@ $breadcrumbItems = [
|
||||
Create
|
||||
</x-button-c-r-m>
|
||||
</x-fixed-action-bar>
|
||||
</form>
|
||||
</form>
|
||||
@else
|
||||
<div class="alert alert-danger alert-dismissible">
|
||||
<h5 class="mb-0"><i class="icon fas fa-ban"></i> Access Denied - You are not assigned to any Module vCenter
|
||||
|
||||
Reference in New Issue
Block a user