This commit is contained in:
pbao9
2026-02-05 11:10:19 +07:00
parent 1ac1c883c3
commit 979323c36b
10 changed files with 164 additions and 118 deletions
@@ -7,11 +7,11 @@
@section('breadcrumb')
@php
$breadcrumbItems = [
['label' => 'Modules'],
['label' => 'DNS Server', 'url' => route('module.dns.index')],
['label' => 'Edit DNS Server', 'active' => true],
];
$breadcrumbItems = [
['label' => 'Modules'],
['label' => 'DNS Server', 'url' => route('module.dns.index')],
['label' => 'Edit DNS Server', 'active' => true],
];
@endphp
<x-admin-breadcrumb :items="$breadcrumbItems" />
@endsection
@@ -79,16 +79,22 @@ $breadcrumbItems = [
</div>
</div>
</div>
<div class="card-footer bg-white border-top p-3 d-flex justify-content-end gap-2">
{{-- Fixed Bottom Actions --}}
<x-fixed-action-bar>
<x-button-c-r-m route="module.dns.index" variant="secondary" icon="arrow-left">
Cancel
</x-button-c-r-m>
<x-button-c-r-m type="submit" variant="primary" icon="save">
Save Changes
Update
</x-button-c-r-m>
</div>
</form>
</div>
<x-button-c-r-m type="delete" variant="danger" icon="trash"
:confirm-url="route('module.dns.destroy', ['id' => $server->id])" :confirm-name="$server->name">
Delete
</x-button-c-r-m>
</x-fixed-action-bar>
</form>
</div>
@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 dns
@@ -105,4 +111,4 @@ $breadcrumbItems = [
$('.select2').select2();
});
</script>
@endpush
@endpush