-
-
Notifications
You must be signed in to change notification settings - Fork 599
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
1 parent
b5356af
commit c20697f
Showing
7 changed files
with
171 additions
and
146 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
59 changes: 30 additions & 29 deletions
59
app/Domain/Menu/Templates/includes/projectListFilter.blade.php
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,41 +1,42 @@ | ||
<div class="projectListFilter"> | ||
<div class="py-2"> | ||
|
||
<form hx-target="#mainProjectSelector" hx-swap="outerHTML" hx-trigger="change"> | ||
<i class="fas fa-filter"></i> | ||
<x-global::forms.select data-placeholder="" title="" | ||
hx-post="{{ BASE_URL }}/hx/menu/projectSelector/update-menu" hx-target="#mainProjectSelector" | ||
hx-swap="outerHTML" hx-indicator=".htmx-indicator, .htmx-loaded-content" name="client"> | ||
<x-global::forms.select.select-option value="" data-placeholder="true"> | ||
All Clients | ||
</x-global::forms.select.select-option> | ||
<form hx-target="#mainProjectSelector" hx-swap="outerHTML" hx-trigger="change" hx-post="{{ BASE_URL }}/hx/menu/projectSelector/update-menu" hx-indicator=".project-loading-indicator"> | ||
|
||
@foreach ($clients as $client) | ||
@if ($client['id'] > 0) | ||
<x-global::forms.select.select-option :value="$client['id']" :selected="isset($projectSelectFilter['client']) && $projectSelectFilter['client'] == $client['id']"> | ||
{{ $client['name'] }} | ||
</x-global::forms.select.select-option> | ||
@endif | ||
@endforeach | ||
</x-global::forms.select> | ||
|
||
<i class="fa-solid fa-diagram-project"></i> | ||
|
||
<x-global::forms.select data-placeholder="" name="groupBy" | ||
hx-post="{{ BASE_URL }}/hx/menu/projectSelector/update-menu" hx-target="#mainProjectSelector" | ||
hx-indicator=".htmx-indicator, .htmx-loaded-content" hx-swap="outerHTML"> | ||
@foreach ($projectSelectGroupOptions as $key => $group) | ||
<x-global::forms.select.select-option :value="$key" :selected="$projectSelectFilter['groupBy'] == $key"> | ||
{{ $group }} | ||
<div class="flex flex-row justify-self-start"> | ||
<x-global::forms.select data-placeholder="" name="client"> | ||
<x-slot:leading-visual> | ||
<i class="fas fa-filter"></i> | ||
</x-slot:leading-visual> | ||
<x-global::forms.select.select-option value="" data-placeholder="true"> | ||
All Clients | ||
</x-global::forms.select.select-option> | ||
@endforeach | ||
</x-global::forms.select> | ||
|
||
@foreach ($clients as $client) | ||
@if ($client['id'] > 0) | ||
<x-global::forms.select.select-option :value="$client['id']" :selected="isset($projectSelectFilter['client']) && $projectSelectFilter['client'] == $client['id']"> | ||
{{ $client['name'] }} | ||
</x-global::forms.select.select-option> | ||
@endif | ||
@endforeach | ||
</x-global::forms.select> | ||
|
||
<x-global::forms.select data-placeholder="" name="groupBy"> | ||
<x-slot:leading-visual> | ||
<i class="fa-solid fa-diagram-project"></i> | ||
</x-slot:leading-visual> | ||
@foreach ($projectSelectGroupOptions as $key => $group) | ||
<x-global::forms.select.select-option :value="$key" :selected="$projectSelectFilter['groupBy'] == $key"> | ||
{{ $group }} | ||
</x-global::forms.select.select-option> | ||
@endforeach | ||
</x-global::forms.select> | ||
</div> | ||
<input type="hidden" name="activeTab" value="" /> | ||
|
||
</form> | ||
|
||
</div> | ||
|
||
<div class="htmx-indicator ml-m mr-m pt-l"> | ||
<div class="project-loading-indicator htmx-indicator ml-m mr-m pt-l"> | ||
<x-global::elements.loadingText type="project" count="5" includeHeadline="false" /> | ||
</div> |
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
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
Oops, something went wrong.