This commit is contained in:
pbao9
2026-02-02 23:17:10 +07:00
parent 8b3be9cc58
commit 372b6bf0f6
106 changed files with 147 additions and 3969 deletions
@@ -27,9 +27,7 @@
</script>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
<!-- End fonts -->
<!-- CSRF Token -->
@@ -1,3 +1,4 @@
<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")
<x-button-crm type="button" variant="primary" size="sm" route="package.datacenter.sync" icon="refresh-cw">Sync Datacenter</x-button-crm>
<x-button-crm type="button" variant="secondary" size="sm" route="package.datacenter.sync" icon="refresh-cw">Sync
Datacenter</x-button-crm>
@@ -0,0 +1,2 @@
<x-button-crm type="button" variant="primary" size="sm" route="package.datacenter.edit" :params="['id' => $row->id]" icon="pencil">Edit</x-button-crm>
<x-button-crm type="button" variant="danger" size="sm" route="package.datacenter.destroy" :params="['id' => $row->id]" icon="trash">Delete</x-button-crm>
@@ -5,18 +5,18 @@
@section('breadcrumb')
@php
$breadcrumbItems = [
['label' => 'Modules'],
['label' => 'Package vCenter'],
['label' => 'Datacenter', 'active' => true],
];
$breadcrumbItems = [
['label' => 'Modules'],
['label' => 'Package vCenter'],
['label' => 'Datacenter', 'active' => true],
];
@endphp
<x-admin-breadcrumb :items="$breadcrumbItems" />
@endsection
@section('content')
@if (auth()->guard('admins')->user()->can('manager package module'))
<div class="card card-primary card-outline">
<div class="card-header">
<div class="card-header d-flex justify-content-end gap-2">
@include('administrator.pages.block.Sync.Datacenter')
</div>
<div class="card-body">
@@ -3,7 +3,7 @@
$href = null;
if ($route) {
$href = route($route);
$href = route($route, $params);
$tag = 'a';
} elseif ($url) {
$href = $url;
@@ -21,6 +21,7 @@
'outline' => 'bg-outline',
'ghost' => 'bg-ghost',
'link' => 'bg-link',
'danger' => 'bg-danger',
'destructive' => 'bg-destructive',
];