49 lines
2.3 KiB
PHP
49 lines
2.3 KiB
PHP
<x-app-layout>
|
|
<x-slot name="header">
|
|
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
|
|
{{ __('Project') }} {{ $project->name }}
|
|
</h2>
|
|
</x-slot>
|
|
|
|
<div x-data x-htabs class="flex">
|
|
<div x-tabs:list class="-mr-px flex items-stretch flex-col">
|
|
<button x-tabs:tab type="button"
|
|
data-tab-name="downloads"
|
|
:class="$tab.isSelected ? 'border-gray-200 bg-white' : 'border-transparent'"
|
|
class="inline-flex rounded-l-md border-t border-l border-b px-5 py-2.5"
|
|
>{{ __('Downloads') }}</button>
|
|
<button x-tabs:tab type="button"
|
|
data-tab-name="mosaics"
|
|
:class="$tab.isSelected ? 'border-gray-200 bg-white' : 'border-transparent'"
|
|
class="inline-flex rounded-l-md border-t border-l border-b px-5 py-2.5"
|
|
>{{ __('Mosaic') }}</button>
|
|
<button x-tabs:tab type="button"
|
|
data-tab-name="mailing"
|
|
:class="$tab.isSelected ? 'border-gray-200 bg-white' : 'border-transparent'"
|
|
class="inline-flex rounded-l-md border-t border-l border-b px-5 py-2.5"
|
|
>{{ __('Mailing') }}</button>
|
|
<button x-tabs:tab type="button"
|
|
data-tab-name="reports"
|
|
:class="$tab.isSelected ? 'border-gray-200 bg-white' : 'border-transparent'"
|
|
class="inline-flex rounded-l-md border-t border-l border-b px-5 py-2.5"
|
|
>{{ __('Reports') }}</button>
|
|
</div>
|
|
|
|
<div x-tabs:panels class="rounded-b-md border border-gray-200 bg-white w-full">
|
|
<section x-tabs:panel class="p-8">
|
|
<livewire:projects.download-manager :project="$project" />
|
|
</section>
|
|
<section x-tabs:panel class="p-8">
|
|
<livewire:projects.mosaic-manager :project="$project" />
|
|
</section>
|
|
<section x-tabs:panel class="p-8">
|
|
<livewire:projects.mailing-manager :project="$project" />
|
|
</section>
|
|
|
|
<section x-tabs:panel class="p-8">
|
|
<livewire:projects.report-manager :project="$project" />
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</x-app-layout>
|