Release 0.5.8
This commit is contained in:
1 parent
22ae3a68d6
commit
2851c7d936
33 files changed
+1263
-272
No files matched your search
@@ -44,7 +44,7 @@
|
||||
);
|
||||
let previewContent = $derived<PresentationContent>({
|
||||
mode: draft.presentationMode,
|
||||
title: draft.title,
|
||||
title: draft.outputTitle || draft.title,
|
||||
html: rendered.presentation,
|
||||
source: featuredSource
|
||||
? {
|
||||
@@ -413,6 +413,14 @@
|
||||
</div>
|
||||
<div class="piece-presentation-layout">
|
||||
<div class="piece-presentation-controls">
|
||||
<label
|
||||
>Präsentationstitel<input
|
||||
name="outputTitle"
|
||||
maxlength="300"
|
||||
placeholder="Optional, sonst interner Titel"
|
||||
bind:value={draft.outputTitle}
|
||||
/></label
|
||||
>
|
||||
<MarkdownEditorField
|
||||
name="presentationText"
|
||||
label="Öffentlicher Text"
|
||||
@@ -443,7 +451,7 @@
|
||||
></label
|
||||
>
|
||||
<label
|
||||
>Titel<input
|
||||
>Kartentitel<input
|
||||
name="presentationTitle"
|
||||
maxlength="300"
|
||||
placeholder="Optionaler Anzeigetitel"
|
||||
@@ -565,6 +573,24 @@
|
||||
|
||||
{#snippet footer()}
|
||||
<div class="piece-dialog-secondary-actions">
|
||||
<details class="template-save-menu">
|
||||
<summary>Als Vorlage speichern</summary>
|
||||
<form method="POST" action="?/saveTemplate">
|
||||
<label
|
||||
>Vorlage<select name="templateRef">
|
||||
<option value="">Neue Vorlage</option>
|
||||
{#each data.templates as template (template.id)}<option
|
||||
value={`${template.id}|${template.revision}`}>{template.name}</option
|
||||
>{/each}
|
||||
</select></label
|
||||
>
|
||||
<label>Name<input name="templateName" required maxlength="120" /></label>
|
||||
<label>Beschreibung<input name="templateDescription" maxlength="500" /></label>
|
||||
<button class="text-button" type="submit" disabled={actionsBlocked}
|
||||
>Vorlage speichern</button
|
||||
>
|
||||
</form>
|
||||
</details>
|
||||
<form method="POST" action="?/duplicate">
|
||||
<button class="text-button" type="submit" disabled={actionsBlocked}>Duplizieren</button>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user