= db8e34b622 feat: integrate maryUI and update ConnectedApps handling
- Added `mary.php` configuration file for customizable component and route prefixes.
- Upgraded `livewire/livewire` to v4.3 and added `robsontenorio/mary` v2.8 for maryUI support.
- Updated `ConnectedApps` component to fetch data dynamically via `ConnectedAppService`.
- Replaced static services with computed properties and streamlined data mappings in templates.
- Enhanced frontend styling with `daisyUI` and TailwindCSS v4.3 integration.
- Improved user feedback in `ConnectedAppForm` with success/error toasts.
2026-05-14 08:47:23 +00:00

34 lines
1.1 KiB
PHP

<?php
use Livewire\Component;
new class extends Component {
public string $selectedTab = 'all-tab';
};
?>
<div>
<x-shared.card title="Connected Apps" icon="lucide-grid-2x2-plus" class="p-0">
<x-slot:actions>
<x-shared.button :link="route('connected-apps.create')">
<div class="flex items-center gap-x-2">
<x-lucide-plus class="w-5 h-5"/>
{{ __('Connect App') }}
</div>
</x-shared.button>
</x-slot:actions>
<x-mary-tabs wire:model="selectedTab" class="px-4" label-div-class="pt-3 bg-gray-50 border-b border-gray-200"
label-class=" font-bold pb-3">
<x-mary-tab name="all-tab" label="All" class="">
<livewire:dashboard.connected-apps.all/>
</x-mary-tab>
<x-mary-tab name="oidc-tab" label="OIDC">
<div>Tricks</div>
</x-mary-tab>
<x-mary-tab name="saml-tab" label="SAML">
<div>Musics</div>
</x-mary-tab>
</x-mary-tabs>
</x-shared.card>
</div>