Wähle das Vorschaubild am Medium und nutze es als Standard in der Anzeige und in Modulen.
Deploy Test / test (push) Successful in 28s
Deploy Test / deploy (push) Successful in 39s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 21:34:11 +01:00
1 parent f86032cb5f
commit 8e77defaca
18 files changed
+664 -26

No files matched your search

@@ -21,6 +21,46 @@
<p>{{ $pillars === [] ? 'Keiner Säule zugeordnet.' : implode(' · ', $pillars) }}</p>
</section>
@if ($canRevise || $pictureUrl)
<section style="display: grid; gap: 0.75rem; max-width: 40rem;">
<h2 style="font-size: 1.125rem; font-weight: 600;">Vorschaubild</h2>
<p>Gilt für die Anzeige dieses Mediums und als Vorschlag in Modulen und Programmen, solange die dort kein eigenes Titelbild haben. Eine Inhaltsfassung entsteht dabei nicht.</p>
@if ($pictureUrl)
<img src="{{ $pictureUrl }}" alt="{{ $element->thumbnail_alt ?: $element->working_title }}" style="width: 100%; max-width: 28rem; height: auto; background: #111;">
@else
<p>Noch kein Vorschaubild.</p>
@endif
@if ($pictureCaption !== '')
<p>{{ $pictureCaption }}</p>
@endif
@if ($this->pictureFeedback !== '')
<p role="status">{{ $this->pictureFeedback }}</p>
@endif
@if ($canRevise)
<label for="bild-alternativ">Alternativtext</label>
<input id="bild-alternativ" type="text" wire:model="thumbnailAlt" placeholder="Was das Bild zeigt">
@if ($element->output_class === 'film' && $shown)
<div x-data="{ second: {{ json_encode($this->frameSecond) }} }">
<label for="filmstelle">Zeitposition in Sekunden</label>
<input id="filmstelle" type="range" min="0" max="120" step="0.5" x-model="second" @change="$wire.set('frameSecond', second)">
<input type="number" min="0" max="7200" step="0.1" x-model="second" @change="$wire.set('frameSecond', second)" aria-label="Zeitposition als Zahl">
</div>
<p>Die Vorschau nimmt die kleine Filmstufe, sofern sie vorliegt. Die Filmdatei selbst bleibt unverändert.</p>
@if ($frameUrl = $this->framePreviewUrl())
<img src="{{ $frameUrl }}" alt="Vorschau der gewählten Filmstelle" style="width: 100%; max-width: 28rem; height: auto;">
@endif
<button type="button" wire:click="adoptFrame">Diese Stelle übernehmen</button>
@endif
@if ($element->output_class === 'bild')
<button type="button" wire:click="useOwnImage">Die Bilddatei verwenden</button>
@endif
<label for="vorschau-bild">Eigenes Vorschaubild</label>
<input id="vorschau-bild" type="file" accept="image/png,image/jpeg,image/webp" wire:model="previewUpload">
<button type="button" wire:click="storePreview">Bild übernehmen</button>
@endif
</section>
@endif
<section style="display: grid; gap: 0.75rem;">
@if ($shown === null)
<p>Noch keine Fassung.</p>