5.4 (Teil 5): page-header in roles/* + footer-codes/* + presets/*
Neun weitere Standard-Header (md) auf <x-portal.page-header>: - roles/index (bedingter Anlegen-Button), roles/create (Guard-Badge via :meta), roles/edit (ID + Guard + bedingte Systemrolle via :meta) - footer-codes/index, footer-codes/create, footer-codes/edit (ID + Global + Aktiv/Inaktiv via :meta, Titel als Beschreibung) - presets/index, presets/create, presets/edit (ID via :meta) Roles-/FooterCode-/Preset-Tests (23) gruen. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1eb2243959
commit
27a77bfc50
9 changed files with 103 additions and 161 deletions
|
|
@ -78,26 +78,18 @@ new #[Layout('components.layouts.app'), Title('Voreinstellungen')] class extends
|
|||
|
||||
<div class="space-y-8">
|
||||
{{-- ============== PAGE HEADER ============== --}}
|
||||
<header class="page-header">
|
||||
<div class="min-w-0">
|
||||
<div class="flex items-center gap-3 mb-3 flex-nowrap whitespace-nowrap">
|
||||
<span class="badge hub dot">{{ __('Admin Backend') }}</span>
|
||||
<span class="eyebrow muted">{{ __('Administration · Stammdaten') }}</span>
|
||||
</div>
|
||||
<h1 class="text-[30px] font-bold tracking-[-0.6px] leading-[1.15] m-0 text-[color:var(--color-ink)]">
|
||||
{{ __('Voreinstellungen') }}
|
||||
</h1>
|
||||
<p class="text-[13px] leading-[1.55] mt-2 m-0 max-w-[640px] text-[color:var(--color-ink-2)]">
|
||||
{{ __('Zentrale Admin-Presets fuer Texte, Zahlen und weitere Werte.') }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-2 flex-shrink-0">
|
||||
<x-portal.page-header
|
||||
:badge="__('Admin Backend')"
|
||||
:eyebrow="__('Administration · Stammdaten')"
|
||||
:title="__('Voreinstellungen')"
|
||||
:description="__('Zentrale Admin-Presets fuer Texte, Zahlen und weitere Werte.')"
|
||||
>
|
||||
<x-slot:actions>
|
||||
<flux:button icon="plus" variant="primary" href="{{ route('admin.presets.create') }}" wire:navigate>
|
||||
{{ __('Neue Voreinstellung') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
</header>
|
||||
</x-slot:actions>
|
||||
</x-portal.page-header>
|
||||
|
||||
@if (session('success'))
|
||||
<div class="px-4 py-3 rounded-[5px] border text-[12.5px] flex items-center gap-2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue