單機版 v.0.1.3 20250627

某頁沒有 header 問題
This commit is contained in:
allen.yan 2025-06-27 11:12:53 +08:00
parent eb710fca5b
commit 40aa6c3901
7 changed files with 10 additions and 4 deletions

View File

@ -44,7 +44,7 @@ final class ActivityLogTable extends PowerGridComponent
->showToggleColumns();
//->showSoftDeletes()
//->showSearchInput()
$header->includeViewOnTop('livewire.header.activity-log-header');
$header->includeViewOnTop('livewire.header.activity-log');
$actions[]=$header;
$actions[]=PowerGrid::footer()->showPerPage()->showRecordCount();
return $actions;

View File

@ -41,7 +41,7 @@ final class MachineStatusTable extends PowerGridComponent
->withoutLoading()
->showToggleColumns();
$header->includeViewOnTop('livewire.header.admin.machine-status');
$header->includeViewOnTop('livewire.header.machine-status');
$actions[]=$header;
$actions[]=PowerGrid::footer()->showPerPage()->showRecordCount();

View File

@ -28,7 +28,7 @@ final class RoomStatusLogTable extends PowerGridComponent
$header = PowerGrid::header()
->withoutLoading()
->showToggleColumns();
$header->includeViewOnTop('livewire.header.admin.room-status-log');
$header->includeViewOnTop('livewire.header.room-status-log');
$actions[]=$header;
$actions[]=PowerGrid::footer()->showPerPage()->showRecordCount();

View File

@ -53,7 +53,7 @@ final class RoomTable extends PowerGridComponent
->withoutLoading()
->showToggleColumns();
if($this->canCreate){
$header->includeViewOnTop('livewire.header.admin.room');
$header->includeViewOnTop('livewire.header.room');
}
$actions[]=$header;
$actions[]=PowerGrid::footer()->showPerPage()->showRecordCount();

View File

@ -0,0 +1,2 @@
<x-admin.section-header title="{{ __('machine-status.list') }}">
</x-admin.section-header>

View File

@ -0,0 +1,2 @@
<x-admin.section-header title="{{ __('room-status-log.list') }}">
</x-admin.section-header>

View File

@ -0,0 +1,2 @@
<x-admin.section-header title="{{ __('rooms.list') }}">
</x-admin.section-header>