Skip to content

Commit

Permalink
Card icons
Browse files Browse the repository at this point in the history
  • Loading branch information
kreaweb.be committed Apr 22, 2024
1 parent b51f856 commit 048303b
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 12 deletions.
4 changes: 3 additions & 1 deletion resources/views/livewire/people/add/child.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.add_child') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="user-plus" class="inline-block" />
</div>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion resources/views/livewire/people/add/partner.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.add_relationship') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="user-plus" class="inline-block" />
</div>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion resources/views/livewire/people/add/person.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.add_person') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="user-plus" class="inline-block" />
</div>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion resources/views/livewire/people/edit/contact.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.edit_contact') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="address-book" class="inline-block" />
</div>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion resources/views/livewire/people/edit/death.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.edit_death') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="grave-2" class="inline-block" />
</div>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion resources/views/livewire/people/edit/family.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.edit_family') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="edit" class="inline-block" />
</div>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion resources/views/livewire/people/edit/partner.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.edit_relationship') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="user-edit" class="inline-block" />
</div>
</div>
</div>

Expand Down
8 changes: 6 additions & 2 deletions resources/views/livewire/people/edit/photos.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.upload_photos') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="photo" class="inline-block" />
</div>
</div>
</div>

Expand All @@ -31,7 +33,9 @@
{{ __('person.photos_existing') }} <x-ts-badge color="emerald" text="{{ count($images) }}" />
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="library-photo" class="inline-block" />
</div>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion resources/views/livewire/people/edit/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{{ __('person.edit_profile') }}
</div>

<div class="flex-grow min-w-max max-w-full flex-1 text-end"></div>
<div class="flex-grow min-w-max max-w-full flex-1 text-end">
<x-ts-icon icon="id" class="inline-block" />
</div>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/people/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<a href="/people/{{ $person->id }}/edit-death">
<x-ts-dropdown.items>
<x-ts-icon icon="coffin" class="mr-2" />
<x-ts-icon icon="grave-2" class="mr-2" />
{{ __('person.edit_death') }}
</x-ts-dropdown.items>
</a>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/people/search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</div>

{{-- search box --}}
<x-ts-input wire:model.live.debounce.500ms="search" type="search" placeholder="{{ __('app.people_search_placeholder') }}" aria-label="Search" />
<x-ts-input wire:model.live.debounce.500ms="search" type="search" icon="search" placeholder="{{ __('app.people_search_placeholder') }}" aria-label="Search" />

{{-- footer : perpage and pagination --}}
@if (count($people) > 0)
Expand Down

0 comments on commit 048303b

Please sign in to comment.