Skip to content

Commit

Permalink
Improved layout
Browse files Browse the repository at this point in the history
  • Loading branch information
MGeurts committed Jan 4, 2025
1 parent 9024314 commit 3742296
Show file tree
Hide file tree
Showing 67 changed files with 103 additions and 91 deletions.
2 changes: 1 addition & 1 deletion resources/views/about.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('app.about') }}
</x-slot>

<div class="w-full py-5 space-y-5">
<div class="w-full p-2 space-y-5">
<div class="pb-10 dark:text-neutral-200">
<div class="flex flex-col items-center pt-6 sm:pt-0">
<div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/api/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('api.api_tokens') }}
</x-slot>

<div class="w-full py-5 space-y-5">
<div class="w-full p-2 space-y-5">
<div class="py-10 mx-auto max-w-7xl sm:px-6 lg:px-8">
@livewire('api.api-token-manager')
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/developer/dependencies.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('app.dependencies') }}
</x-slot>

<div class="max-w-5xl py-5 overflow-x-auto grow dark:text-neutral-200">
<div class="p-2 max-w-5xl overflow-x-auto grow dark:text-neutral-200">
<x-ts-tab selected="TallStack">
{{-- tallstack --}}
<x-ts-tab.items tab="TallStack">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/developer/people.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.people') }}
</x-slot>

<div class="py-5 w-full">
<div class="p-2 w-full">
<livewire:developer.people />
</div>
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/back/developer/session.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('app.session') }}
</x-slot>

<div class="grow max-w-5xl overflow-x-auto py-5 dark:text-neutral-200">
<div class="p-2 grow max-w-5xl overflow-x-auto dark:text-neutral-200">
<div class="flex flex-col rounded bg-white shadow-[0_2px_15px_-3px_rgba(0,0,0,0.07),0_10px_20px_-2px_rgba(0,0,0,0.04)] dark:bg-neutral-700 text-neutral-800 dark:text-neutral-50">
{{-- card header --}}
<div class="h-14 min-h-min flex flex-col p-2 border-b-2 border-neutral-100 text-lg dark:border-neutral-600 dark:text-neutral-50 rounded-t">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/developer/settings.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('app.settings') }}
</x-slot>

<div class="py-5 w-full">
<div class="p-2 w-full">
<livewire:developer.settings />
</div>
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/back/developer/teams.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('team.teams') }}
</x-slot>

<div class="py-5 w-full">
<div class="p-2 w-full">
<livewire:developer.teams />
</div>
</x-app-layout>
4 changes: 2 additions & 2 deletions resources/views/back/developer/userlog/log.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('userlog.users_log') }}
</x-slot>

<div class="max-w-5xl py-5 overflow-x-auto grow dark:text-neutral-200">
<div class="p-2 max-w-5xl overflow-x-auto grow dark:text-neutral-200">
<div class="flex flex-col rounded bg-white shadow-[0_2px_15px_-3px_rgba(0,0,0,0.07),0_10px_20px_-2px_rgba(0,0,0,0.04)] dark:bg-neutral-700 text-neutral-800 dark:text-neutral-50">
{{-- card header --}}
<div class="flex flex-col p-2 text-lg font-medium border-b-2 rounded-t h-18 min-h-min border-neutral-100 dark:border-neutral-600 dark:text-neutral-50">
Expand Down Expand Up @@ -63,7 +63,7 @@

{{-- card footer --}}
<div class="p-2 text-sm border-t-2 rounded-b border-neutral-100 dark:border-neutral-600">
<p class="py-0">{{ __('userlog.timespan', ['months' => $months]) }}.</p>
{{ __('userlog.timespan', ['months' => $months]) }}.
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('userlog.users_origin') }}
</x-slot>

<div class="max-w-7xl py-5 overflow-x-auto grow dark:text-neutral-200">
<div class="p-2 max-w-7xl overflow-x-auto grow dark:text-neutral-200">
<div class="flex flex-col rounded bg-white shadow-[0_2px_15px_-3px_rgba(0,0,0,0.07),0_10px_20px_-2px_rgba(0,0,0,0.04)] dark:bg-neutral-700 text-neutral-800 dark:text-neutral-50">
{{-- card header --}}
<div class="flex flex-col p-2 text-lg font-medium border-b-2 rounded-t h-18 min-h-min border-neutral-100 dark:border-neutral-600 dark:text-neutral-50">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/developer/userlog/origin.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('userlog.users_origin') }}
</x-slot>

<div class="max-w-7xl py-5 overflow-x-auto grow dark:text-neutral-200">
<div class="p-2 max-w-7xl overflow-x-auto grow dark:text-neutral-200">
<div class="flex flex-col rounded bg-white shadow-[0_2px_15px_-3px_rgba(0,0,0,0.07),0_10px_20px_-2px_rgba(0,0,0,0.04)] dark:bg-neutral-700 text-neutral-800 dark:text-neutral-50">
{{-- card header --}}
<div class="flex flex-col p-2 text-lg font-medium border-b-2 rounded-t h-18 min-h-min border-neutral-100 dark:border-neutral-600 dark:text-neutral-50">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/developer/userlog/period.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('userlog.users_stats') }}
</x-slot>

<div class="max-w-7xl py-5 overflow-x-auto grow dark:text-neutral-200">
<div class="p-2 max-w-7xl overflow-x-auto grow dark:text-neutral-200">
<div class="flex flex-col rounded bg-white shadow-[0_2px_15px_-3px_rgba(0,0,0,0.07),0_10px_20px_-2px_rgba(0,0,0,0.04)] dark:bg-neutral-700 text-neutral-800 dark:text-neutral-50">
{{-- card header --}}
<div class="flex flex-col p-2 text-lg font-medium border-b-2 rounded-t h-18 min-h-min border-neutral-100 dark:border-neutral-600 dark:text-neutral-50">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/developer/users.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('user.users') }}
</x-slot>

<div class="py-5 w-full">
<div class="p-2 w-full">
<livewire:developer.users />
</div>
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/back/people/add/child.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.add_child') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/add/father.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.add_father') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/add/mother.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.add_mother') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/add/partner.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.add_relationship') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/add/person.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.add_person_in_team', ['team' => auth()->user()->currentTeam->name]) }}
</x-slot>

<div class="w-full py-5 space-y-5">
<div class="w-full p-2 space-y-5">
<livewire:people.add.person />
</div>
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/back/people/ancestors.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.ancestors') }}
</x-slot>

<div class="w-full py-5 space-y-5">
<div class="w-full p-2 space-y-5">
<livewire:people.heading :person="$person" />

<div class="md:min-w-max md:max-w-sm">
Expand Down
6 changes: 4 additions & 2 deletions resources/views/back/people/birthdays.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('birthday.birthdays') }}
</x-slot>

<div class="py-5 space-y-5 overflow-x-auto">
<div class="p-2 space-y-5 overflow-x-auto">
<div class="flex flex-col rounded bg-white shadow-[0_2px_15px_-3px_rgba(0,0,0,0.07),0_10px_20px_-2px_rgba(0,0,0,0.04)] dark:bg-neutral-700 text-neutral-800 dark:text-neutral-50">
<div class="flex flex-col p-2 text-lg border-b-2 rounded-t h-14 min-h-min border-neutral-100 dark:border-neutral-600 dark:text-neutral-50">
<div class="flex flex-wrap items-start justify-center gap-2">
Expand Down Expand Up @@ -40,7 +40,9 @@
<tr class="align-top transition duration-300 ease-in-out border-b hover:bg-neutral-100 dark:border-neutral-500 dark:hover:bg-neutral-600">
<td class="p-2 whitespace-nowrap text-end">{{ $key + 1 }}.</td>
<td class="p-2 whitespace-nowrap">
<x-link href="/people/{{ $person->id }}" @class(['text-danger-600 dark:text-danger-400' =>$person->isDeceased()])>
<x-link href="/people/{{ $person->id }}" @class([
'text-danger-600 dark:text-danger-400' => $person->isDeceased(),
])>
{{ $person->name }}
</x-link>
<x-ts-icon icon="{{ $person->sex == 'm' ? 'gender-male' : 'gender-female' }}" class="inline-block size-5" />
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/chart.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('app.family_chart') }}
</x-slot>

<div class="w-full py-5 space-y-5">
<div class="w-full p-2 space-y-5">
{{-- heading --}}
<livewire:people.heading :person="$person" />

Expand Down
4 changes: 2 additions & 2 deletions resources/views/back/people/datasheet.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
{{ __('app.datasheet') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<livewire:people.datasheet :person="$person" />
</div>
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/back/people/descendants.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.descendants') }}
</x-slot>

<div class="w-full py-5 space-y-5">
<div class="w-full p-2 space-y-5">
<livewire:people.heading :person="$person" />

<div class="md:min-w-max md:max-w-sm">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/edit/contact.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.edit_contact') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/edit/death.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.edit_death') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/edit/family.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.edit_family') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/edit/files.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.files') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/edit/partner.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.edit_relationship') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/edit/photos.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.photos') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/edit/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.edit_profile') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/history.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('app.history') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/people/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('person.profile') }}
</x-slot>

<div class="w-full py-5 space-y-5 overflow-x-auto">
<div class="w-full p-2 space-y-5 overflow-x-auto">
<livewire:people.heading :person="$person" />

<div class="flex flex-wrap gap-5">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/back/peoplelog.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('app.people_logbook') }}
</x-slot>

<div class="py-5 w-full">
<div class="p-2 w-full">
<livewire:peoplelog />
</div>
</x-app-layout>
4 changes: 2 additions & 2 deletions resources/views/back/team.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('team.team') }}
</x-slot>

<div class="py-5 overflow-x-auto max-w-7xl grow dark:text-neutral-200">
<div class="p-2 overflow-x-auto max-w-7xl grow dark:text-neutral-200">
<livewire:team />
</div>
</x-app-layout>
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/back/teamlog.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ __('app.team_logbook') }}
</x-slot>

<div class="py-5 w-full">
<div class="p-2 w-full">
<livewire:teamlog />
</div>
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/back/test.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Test
</x-slot>

<div class="max-w-5xl py-5 overflow-x-auto grow dark:text-neutral-200">
<div class="p-2 max-w-5xl overflow-x-auto grow dark:text-neutral-200">

<p>Use this page to test components ...</p>
<br />
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/action-section.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</x-section-title>

<div class="mt-5 md:mt-0 md:col-span-2">
<div class="px-4 py-5 sm:p-6 bg-white rounded">
<div class="p-4 sm:p-6 bg-white rounded">
{{ $content }}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/confirmation-modal.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
</div>

<div class="flex flex-row justify-end px-6 py-4 bg-gray-100 text-end">
{{ $footer }}
{{ $footer }}ssqdsqd
</div>
</x-modal>
4 changes: 2 additions & 2 deletions resources/views/components/form-section.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
<form wire:submit="{{ $submit }}">
@csrf

<div class="px-4 py-5 bg-white sm:p-6 {{ isset($actions) ? 'rounded-tl rounded-tr' : 'rounded' }}">
<div class="p-4 bg-white sm:p-6 {{ isset($actions) ? 'rounded-tl rounded-tr' : 'rounded' }}">
<div class="grid grid-cols-6 gap-5">
{{ $form }}
</div>
</div>

@if (isset($actions))
<div class="flex items-center justify-end px-4 py-3 text-right bg-gray-200 sm:px-6 rounded-bl rounded-br">
<div class="flex items-center justify-end p-4 text-right bg-gray-200 sm:px-6 rounded-bl rounded-br">
{{ $actions }}
</div>
@endif
Expand Down
2 changes: 1 addition & 1 deletion resources/views/errors/401.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ $exception->getStatuscode() }}
</x-slot>

<div class="max-w-5xl py-5 overflow-x-auto grow dark:text-neutral-200">
<div class="p-2 max-w-5xl overflow-x-auto grow dark:text-neutral-200">
<div class="hidden dark:flex">
<x-ts-alert icon="bug" color="white">
<x-slot:title>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/errors/403.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ $exception->getStatuscode() }}
</x-slot>

<div class="max-w-5xl py-5 overflow-x-auto grow dark:text-neutral-200">
<div class="p-2 max-w-5xl overflow-x-auto grow dark:text-neutral-200">
<div class="hidden dark:flex">
<x-ts-alert icon="bug" color="white">
<x-slot:title>
Expand Down
Loading

0 comments on commit 3742296

Please sign in to comment.