mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 10:23:30 +00:00
Extract shared settings-layout components and a dedicated team danger-zone page. Enable modal editing for security resources, polish OAuth/API-token controls, and align notification and service configuration UI with the new navigation patterns.
33 lines
1.0 KiB
PHP
33 lines
1.0 KiB
PHP
@props([
|
|
'title',
|
|
'description' => null,
|
|
'helper' => null,
|
|
'flush' => false,
|
|
])
|
|
|
|
<section {{ $attributes->merge(['class' => 'application-settings-section']) }}>
|
|
<header @class(['items-start!' => filled($description)])>
|
|
<div class="min-w-0 py-0.5">
|
|
<div class="flex items-center gap-2">
|
|
<h3>{{ $title }}</h3>
|
|
@if ($helper)
|
|
<x-helper :helper="$helper" />
|
|
@endif
|
|
</div>
|
|
@if (filled($description))
|
|
<p class="mt-0.5 text-xs leading-4 text-neutral-500 dark:text-[var(--coollabs-subtle)]">
|
|
{{ $description }}
|
|
</p>
|
|
@endif
|
|
</div>
|
|
@isset($actions)
|
|
<div class="flex min-w-0 max-w-full flex-wrap items-center gap-2">
|
|
{{ $actions }}
|
|
</div>
|
|
@endisset
|
|
</header>
|
|
<div class="application-settings-section-body {{ $flush ? 'is-flush' : '' }}">
|
|
{{ $slot }}
|
|
</div>
|
|
</section>
|