diff --git a/app/View/Components/FixedActionBar.php b/app/View/Components/FixedActionBar.php new file mode 100644 index 0000000..dbbd1c4 --- /dev/null +++ b/app/View/Components/FixedActionBar.php @@ -0,0 +1,26 @@ + + @endforeach +@endpush + +@section('breadcrumb') + @php +$breadcrumbItems = [ + ['label' => 'Modules'], + ['label' => 'vCenter', 'url' => route('module.vcenter.index')], + ['label' => 'Edit vCenter', 'active' => true], +]; + @endphp + +@endsection @section("content") + {{-- Page Header --}} +
+

Edit vCenter

+

Manage connection information for this vCenter instance

+
+ @if(auth()->guard('admins')->user()->can("edit module vcenter")) -
-
+ + + @csrf @method('put') -
-
-
- {{--Server Host--}} -
- -
- + {{-- Connection Information --}} +
+
+
Connection Information
+
+
+
+ {{-- Left Column --}} +
+
+ +
+ + + + +
+
+ +
+ +
+ + + + +
- {{--User--}} -
- -
- -
-
- {{--Password--}} -
- -
- -
-
- {{--Status--}} -
- -
- + + {{-- Right Column --}} +
+
+ +
+ + + + +
+
+ + Leave blank to keep current password +
- + + {{-- Fixed Bottom Actions --}} + + + Cancel + + + Save Changes + + + @else
Access Denied - You are not assigned to any Module vCenter @@ -60,3 +124,13 @@
@endif @endsection +@push('plugin-scripts') + @foreach (config('assets.datatable.js') as $datatable) + + @endforeach + +@endpush \ No newline at end of file diff --git a/resources/views/components/admin-breadcrumb.blade.php b/resources/views/components/admin-breadcrumb.blade.php index 958dec0..3c5115a 100644 --- a/resources/views/components/admin-breadcrumb.blade.php +++ b/resources/views/components/admin-breadcrumb.blade.php @@ -1,7 +1,7 @@ @props(['items' => []])