refactor: Update front-end assets by removing Select2 integration from various forms and adjusting the build configuration.
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<div class="row form-group align-items-center mb-0">
|
||||
<label for="status" class="col-md-3 text-right">Status</label>
|
||||
<div class="col-md-9 p-1 bg-customer">
|
||||
<select class="form-control select2 single__select" name="status" id="status">
|
||||
<select class="form-control single__select" name="status" id="status">
|
||||
<option value="1" selected>✓ Active</option>
|
||||
<option value="0">✗ Inactive</option>
|
||||
</select>
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
@endpush
|
||||
@section('breadcrumb')
|
||||
@php
|
||||
$breadcrumbItems = [
|
||||
['label' => 'Modules'],
|
||||
['label' => 'Package vCenter'],
|
||||
['label' => 'Datastore', 'url' => route('package.datastore.index')],
|
||||
['label' => 'Edit Datastore', 'active' => true],
|
||||
];
|
||||
$breadcrumbItems = [
|
||||
['label' => 'Modules'],
|
||||
['label' => 'Package vCenter'],
|
||||
['label' => 'Datastore', 'url' => route('package.datastore.index')],
|
||||
['label' => 'Edit Datastore', 'active' => true],
|
||||
];
|
||||
@endphp
|
||||
<x-admin-breadcrumb :items="$breadcrumbItems" />
|
||||
@endsection
|
||||
@@ -22,7 +22,7 @@
|
||||
@csrf
|
||||
@method('put')
|
||||
<div class="card-body">
|
||||
<x-module.v-center :model="$datastore" />
|
||||
<x-module.v-center :model="$datastore->host->datacenter->vCenter" />
|
||||
<x-module.datacenter :model="$datastore->host" />
|
||||
<x-module.host :model="$datastore" />
|
||||
{{--Name--}}
|
||||
@@ -60,7 +60,7 @@
|
||||
<div class="row form-group align-items-center mb-0">
|
||||
<label for="status" class="col-md-3 text-right">Status</label>
|
||||
<div class="col-md-9 p-1 bg-customer">
|
||||
<select class="form-control select2 single__select" name="status" id="status">
|
||||
<select class="form-control single__select" name="status" id="status">
|
||||
<option value="1" @selected($datastore->status === 1)>✓ Active</option>
|
||||
<option value="0" @selected($datastore->status === 0)>✗ Inactive</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user