This commit is contained in:
pbao9
2026-02-02 22:55:43 +07:00
parent 8125804bac
commit 8b3be9cc58
7 changed files with 105 additions and 142 deletions
@@ -1 +1 @@
<a href="{{ route('package.sync.all') }}" class="btn btn-outline-secondary"><i class="fas fa-sync"></i> Sync All Package</a>
<x-button-crm type="button" variant="primary" size="sm" route="package.sync.all" icon="refresh-cw">Sync All Package</x-button-crm>
@@ -1,3 +1,3 @@
<a href="{{ route('package.datacenter.create') }}" class="btn btn-outline-secondary"><i class="fas fa-plus-circle"></i> Add Datacenter</a>
<x-button-crm type="button" variant="primary" size="sm" route="package.datacenter.create" icon="plus-circle">Add Datacenter</x-button-crm>
@include("administrator.pages.block.Sync.All")
<a href="{{ route('package.datacenter.sync') }}" class="btn btn-outline-secondary"><i class="fas fa-sync"></i> Sync Datacenter</a>
<x-button-crm type="button" variant="primary" size="sm" route="package.datacenter.sync" icon="refresh-cw">Sync Datacenter</x-button-crm>
@@ -21,10 +21,10 @@
</div>
<div class="card-body">
<x-datatable id="datacenterTable" ajax="{{ route('package.datacenter.datatable') }}" :columns="[
['key' => 'name', 'label' => 'Name'],
['key' => 'v_center.host', 'label' => 'Vcenter Host'],
['key' => 'action', 'label' => 'Action'],
]" />
['key' => 'name', 'label' => 'Name'],
['key' => 'v_center.host', 'label' => 'Vcenter Host'],
['key' => 'action', 'label' => 'Action'],
]" />
</div>
</div>
@@ -35,10 +35,9 @@
</div>
@endif
@endsection
@push('plugin-scripts')
<script src="{{ asset('build/plugins/jquery/jquery.min.js') }}"></script>
<script src="{{ asset('build/plugins/select2/select2.min.js') }}"></script>
<script src="{{ asset('build/plugins/datatables.net/dataTables.min.js') }}"></script>
<script src="{{ asset('build/plugins/datatables.net-bs5/dataTables.bootstrap5.min.js') }}"></script>
@endpush
@push('plugin-scripts')
<script src="{{ asset('build/plugins/jquery/jquery.min.js') }}"></script>
<script src="{{ asset('build/plugins/select2/select2.min.js') }}"></script>
<script src="{{ asset('build/plugins/datatables.net/dataTables.min.js') }}"></script>
<script src="{{ asset('build/plugins/datatables.net-bs5/dataTables.bootstrap5.min.js') }}"></script>
@endpush