generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,39 @@ | ||
<div> | ||
<div class="flex items-center justify-between gap-8 py-2"> | ||
@if ($heading) | ||
<div class="flex items-center justify-between gap-8 py-2"> | ||
|
||
<x-filament::card.heading> | ||
{!! $heading !!} | ||
</x-filament::card.heading> | ||
<x-filament::card.heading> | ||
{!! $heading !!} | ||
</x-filament::card.heading> | ||
|
||
<div class="relative h-10"> | ||
<div class="relative h-10"> | ||
|
||
<div class="flex items-center justify-between gap-4"> | ||
@if ($filters) | ||
<select wire:model="filter" @class([ | ||
'text-gray-900 border-gray-300 block h-10 transition duration-75 rounded-lg shadow-sm focus:border-primary-500 focus:ring-1 focus:ring-inset focus:ring-primary-500', | ||
'dark:bg-gray-700 dark:border-gray-600 dark:text-gray-200 dark:focus:border-primary-500' => config( | ||
'filament.dark_mode'), | ||
]) wire:loading.class="animate-pulse"> | ||
@foreach ($filters as $value => $label) | ||
<option value="{{ $value }}"> | ||
{{ $label }} | ||
</option> | ||
@endforeach | ||
</select> | ||
@endif | ||
<div class="flex items-center justify-between gap-4"> | ||
@if ($filters) | ||
<select wire:model="filter" @class([ | ||
'text-gray-900 border-gray-300 block h-10 transition duration-75 rounded-lg shadow-sm focus:border-primary-500 focus:ring-1 focus:ring-inset focus:ring-primary-500', | ||
'dark:bg-gray-700 dark:border-gray-600 dark:text-gray-200 dark:focus:border-primary-500' => config( | ||
'filament.dark_mode'), | ||
]) wire:loading.class="animate-pulse"> | ||
@foreach ($filters as $value => $label) | ||
<option value="{{ $value }}"> | ||
{{ $label }} | ||
</option> | ||
@endforeach | ||
</select> | ||
@endif | ||
|
||
@if ($filterForm) | ||
<x-filament-apex-charts::filter-form width="xs" darkMode="{{ config('filament.dark_mode') }}" | ||
:indicatorsCount="$indicatorsCount"> | ||
{!! $filterForm !!} | ||
</x-filament-apex-charts::filter-form> | ||
@endif | ||
@if ($filterForm) | ||
<x-filament-apex-charts::filter-form width="xs" darkMode="{{ config('filament.dark_mode') }}" | ||
:indicatorsCount="$indicatorsCount"> | ||
{!! $filterForm !!} | ||
</x-filament-apex-charts::filter-form> | ||
@endif | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<x-filament::hr class="py-2" /> | ||
<x-filament::hr class="py-2" /> | ||
@endif | ||
</div> |