All checks were successful
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m55s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m44s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m25s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 3m39s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 3m47s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 3m51s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 3m16s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 3m25s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s
- Admin → Portal → Menü: Bereiche, Seiten (mit Unterseiten), Links und Gruppen mit Unterpunkten, sortierbar, je Rolle einschränkbar; Kopfzeile misst den Platz und legt Überzähliges unter „Mehr“ - Initialen in fester Farbe je Person, Abteilungsfarben im Organigramm - PageHeader für alle Übersichtsseiten - Dokumente: Favoriten (auch als Startseiten-Kachel), „Häufig genutzt“, Vorschaubilder (Bilder, erste PDF-Seite per pdf.js im Browser) - Platzhalter beim Nachladen Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
29 lines
1.1 KiB
Vue
29 lines
1.1 KiB
Vue
<script setup>
|
||
import { defineAsyncComponent } from 'vue';
|
||
import PageHeader from '@/components/PageHeader.vue';
|
||
import AppLayout from '@/layouts/AppLayout.vue';
|
||
|
||
/**
|
||
* Redaktion: Arbeitslisten der Plugins („<plugin>::Name“ aus plugins-core/<plugin>/resources/js/editorial).
|
||
*/
|
||
defineProps({
|
||
sections: { type: Array, required: true },
|
||
});
|
||
|
||
const loaders = import.meta.glob('../../../../plugins-core/*/resources/js/editorial/*.vue');
|
||
const components = {};
|
||
|
||
for (const [path, loader] of Object.entries(loaders)) {
|
||
const [, slug] = path.match(/plugins-core\/([^/]+)\//);
|
||
components[`${slug}::${path.split('/').pop().replace('.vue', '')}`] = defineAsyncComponent(loader);
|
||
}
|
||
</script>
|
||
|
||
<template>
|
||
<AppLayout title="Redaktion">
|
||
<PageHeader title="Redaktion" description="Ihre Seiten und Beiträge – Entwürfe, Freigaben und Geplantes." />
|
||
<div class="grid items-start gap-6 xl:grid-cols-2">
|
||
<component :is="components[section.component]" v-for="section in sections" :key="section.key" v-bind="section.props" />
|
||
</div>
|
||
</AppLayout>
|
||
</template>
|