LAR_Maintenance/resources/views/hosts/index.blade.php

21 lines
798 B
PHP
Raw Normal View History

2024-07-30 16:13:21 +00:00
<x-layout-app>
<div class="container-xl">
<div class="page-header">
<h1>{{ __('boilerplate::hosts.title') }}</h1>
2024-08-16 16:20:45 +00:00
<div>
<a class="btn btn-primary" href="{{ route('host.sync') }}">
<i class="me-2 fas fa-sync-alt"></i><span>{{ __('boilerplate::ui.sync') }}</span>
</a>
<button class="btn btn-primary"
onclick="Livewire.dispatch('openModal', {livewireComponents: 'host.form', title: '{{ __('boilerplate::host.create') }}'})">
<i class="me-2 fas fa-plus"></i><span>{{ __('boilerplate::ui.add') }}</span>
</button>
</div>
2024-07-30 16:13:21 +00:00
</div>
@livewire('host.data-table', [], key('data-table'))
</div>
</x-layout-app>