Zeige Katalogkarten, Titelbilder und klare Freigabestatus im Arbeitsplatz.
Deploy Test / test (push) Successful in 23s
Deploy Test / deploy (push) Successful in 22s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 17:54:12 +01:00
1 parent 053a361801
commit 9195cdcd15
15 files changed
+795 -59

No files matched your search

@@ -19,32 +19,48 @@
<div class="luf-toolbar">
<div class="luf-field">
<label for="redaktion-suche">Suche</label>
<input id="redaktion-suche" type="search" wire:model.live.debounce.300ms="query" placeholder="Name oder Kurzbeschreibung">
<input id="redaktion-suche" type="search" wire:model.live.debounce.300ms="query" placeholder="Titel oder Kurzbeschreibung">
</div>
<div class="luf-scopes" role="group" aria-label="Art">
<button type="button" class="luf-quiet" wire:click="$set('kindFilter', 'alle')" aria-pressed="{{ $this->kindFilter === 'alle' ? 'true' : 'false' }}">Alle</button>
<button type="button" class="luf-quiet" wire:click="$set('kindFilter', 'programm')" aria-pressed="{{ $this->kindFilter === 'programm' ? 'true' : 'false' }}">Programme</button>
<button type="button" class="luf-quiet" wire:click="$set('kindFilter', 'modul')" aria-pressed="{{ $this->kindFilter === 'modul' ? 'true' : 'false' }}">Module</button>
</div>
<div class="luf-scopes" role="group" aria-label="Sichtbarkeit">
<button type="button" class="luf-quiet" wire:click="$set('visibility', 'alle')" aria-pressed="{{ $this->visibility === 'alle' ? 'true' : 'false' }}">Jeder Stand</button>
<button type="button" class="luf-quiet" wire:click="$set('visibility', 'bibliothek')" aria-pressed="{{ $this->visibility === 'bibliothek' ? 'true' : 'false' }}">In der Bibliothek</button>
<button type="button" class="luf-quiet" wire:click="$set('visibility', 'verborgen')" aria-pressed="{{ $this->visibility === 'verborgen' ? 'true' : 'false' }}">Nicht in der Bibliothek</button>
<button type="button" class="luf-quiet" wire:click="$set('visibility', 'entwurf')" aria-pressed="{{ $this->visibility === 'entwurf' ? 'true' : 'false' }}">Nur Entwürfe</button>
</div>
@if ($this->dimensionFilters() !== [])
<div class="luf-field">
<label for="redaktion-saeule">Fachliche Einordnung</label>
<select id="redaktion-saeule" wire:model.live="pillar">
<option value="">Alle Einordnungen</option>
@foreach ($this->dimensionFilters() as $group)
<optgroup label="{{ $group['label'] }}">
@foreach ($group['values'] as $value)
<option value="{{ $value['id'] }}">{{ $value['label'] }}</option>
@endforeach
</optgroup>
@endforeach
</select>
</div>
@endif
</div>
@if ($this->entries() === [])
<p class="luf-empty">{{ trim($this->query) === '' ? 'Noch keine Programme oder Module.' : 'Nichts gefunden. Prüfe die Schreibweise oder lege oben einen neuen Eintrag an.' }}</p>
<div class="luf-empty">
@if ($this->hasActiveFilters())
<p>Nichts gefunden. Prüfe die Schreibweise oder setze die Filter zurück.</p>
<button type="button" class="luf-quiet" wire:click="resetFilters">Filter zurücksetzen</button>
@else
<p>Noch keine Programme oder Module. Der Name oben genügt, um das erste anzulegen.</p>
@endif
</div>
@else
<ul class="luf-cards">
<ul class="luf-catalogs">
@foreach ($this->entries() as $entry)
<li>
<a class="luf-card luf-tone-{{ $entry['tone'] }}" href="{{ $entry['url'] }}">
<span class="luf-thumb luf-fallback" aria-hidden="true">{{ mb_substr($entry['kind'], 0, 1) }}</span>
<span>
<span class="luf-kind">{{ $entry['kind'] }}</span>
<strong>{{ $entry['title'] }}</strong>
<span class="luf-meta">{{ $entry['stand'] }}</span>
@if ($entry['summary'] !== '')
<span class="luf-meta">{{ $entry['summary'] }}</span>
@endif
</span>
</a>
</li>
<li>@include('filament.editorial.catalog-card', ['card' => $entry])</li>
@endforeach
</ul>
@endif