Upload new version
This commit is contained in:
@@ -83,6 +83,20 @@ require dirname(__DIR__) . '/../structure/layout_start.php';
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<section class="section-card" data-role="admin" id="sectionsManager">
|
||||
<div class="flex items-center justify-between flex-wrap gap-3 mb-3">
|
||||
<div>
|
||||
<h4>Sections verwalten</h4>
|
||||
<p class="text-sm text-slate-600">Die Sortierung steuert, welche Inhalte in anderen Sections eingebunden werden dürfen.</p>
|
||||
</div>
|
||||
</div>
|
||||
<form id="sectionsCreateForm" class="flex flex-wrap gap-2 mb-4">
|
||||
<input type="text" id="sectionNameInput" class="input flex-1 min-w-[220px]" placeholder="Neue Section (Name)" required>
|
||||
<button type="submit" class="btn">Section hinzufügen</button>
|
||||
</form>
|
||||
<ul id="sectionsList" class="space-y-2"></ul>
|
||||
</section>
|
||||
|
||||
<section class="section-card" data-role="admin">
|
||||
<div class="flex items-center justify-between flex-wrap gap-3 mb-3">
|
||||
<div>
|
||||
@@ -253,6 +267,21 @@ require dirname(__DIR__) . '/../structure/layout_start.php';
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
<dialog id="sectionsDeleteDialog" class="rounded-xl max-w-md w-[90vw] p-5">
|
||||
<form id="sectionsDeleteForm" method="dialog" class="space-y-4">
|
||||
<div class="flex items-center justify-between gap-3 border-b border-slate-200 pb-3">
|
||||
<h3 class="text-lg font-semibold">Section löschen</h3>
|
||||
<button type="button" id="sectionsDeleteCancel" class="btn">Abbrechen</button>
|
||||
</div>
|
||||
<p id="sectionsDeleteText" class="text-sm text-slate-600"></p>
|
||||
<label class="block text-sm text-slate-600">Inhalte verschieben nach</label>
|
||||
<select id="sectionsDeleteTarget" class="input"></select>
|
||||
<div class="flex justify-end gap-2">
|
||||
<button type="submit" class="btn btn-danger">Löschen</button>
|
||||
</div>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
<dialog id="configExampleDialog" class="rounded-xl max-w-2xl w-[90vw]">
|
||||
<form method="dialog" class="space-y-3">
|
||||
<h3 class="text-lg font-semibold">Beispiel: Mapping einer Config-Datei</h3>
|
||||
|
||||
Reference in New Issue
Block a user