Neuer Seitenrahmen (0.50.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 6m55s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 7m20s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 7m44s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m13s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m12s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m13s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m0s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 43s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m5s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 6m55s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 7m20s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 7m44s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m13s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m12s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m13s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m0s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 43s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m5s
Bleibendes Inertia-Layout (PortalFrame) mit festem Seitenkopf-Bereich; PageHeader teleportiert dorthin, AppLayout meldet Titel und Seitenvorlage (default/medium/narrow/app). Seiten ohne Kopf bekommen einen vom Rahmen. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d1d2b33760
commit
e191fb03b0
349 changed files with 1751 additions and 1623 deletions
|
|
@ -29,8 +29,8 @@ const label = (group) => group.today ? 'Heute' : new Intl.DateTimeFormat('de-DE'
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<AppLayout title="Geburtstage">
|
||||
<div class="mx-auto max-w-3xl">
|
||||
<AppLayout title="Geburtstage" width="narrow">
|
||||
<div>
|
||||
<PageHeader title="Geburtstage" :description="`Die nächsten 30 Tage · ${scope}`" />
|
||||
|
||||
<p v-if="!registered" class="mb-6 rounded-lg border bg-card px-4 py-3 text-sm">
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ watch(() => page.props.flash.status, (status) => status && toast.success(status)
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<AppLayout :title="event.title">
|
||||
<AppLayout :title="event.title" width="medium">
|
||||
<PageHeader :title="event.title" :breadcrumbs="[{ label: 'Termine', href: '/termine' }]">
|
||||
<template #leading><EventDateBlock :date="event.starts_at" class="w-14 py-2" /></template>
|
||||
<template v-if="editUrl" #actions>
|
||||
|
|
@ -58,7 +58,7 @@ watch(() => page.props.flash.status, (status) => status && toast.success(status)
|
|||
</template>
|
||||
</PageHeader>
|
||||
|
||||
<div class="mx-auto max-w-4xl">
|
||||
<div>
|
||||
<img v-if="event.image_url" :src="event.image_url" :alt="event.title" class="mb-6 aspect-video w-full rounded-lg object-cover" />
|
||||
|
||||
<div class="grid gap-6 lg:grid-cols-3">
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ import FieldSettings from '../components/builder/FieldSettings.vue';
|
|||
import FormRenderer from '../components/FormRenderer.vue';
|
||||
import { assignKeys, createField, fieldTypes, toFrontend, uid } from '../lib/fields';
|
||||
|
||||
// Ohne Portalrahmen: eigenes Layout bzw. Vollbild (lib/withFrame.js)
|
||||
defineOptions({ frame: false });
|
||||
|
||||
const props = defineProps({
|
||||
form: { type: Object, required: true },
|
||||
types: { type: Object, required: true },
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ defineProps({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<AppLayout :title="form.title">
|
||||
<AppLayout :title="form.title" width="narrow">
|
||||
<PageHeader :title="form.title" :breadcrumbs="[{ label: 'Formulare', href: '/formulare' }]">
|
||||
<template v-if="form.description || (form.closes_at && form.open)" #description>
|
||||
<span v-if="form.description" class="block whitespace-pre-line">{{ form.description }}</span>
|
||||
|
|
@ -20,7 +20,7 @@ defineProps({
|
|||
</span>
|
||||
</template>
|
||||
</PageHeader>
|
||||
<div class="mx-auto max-w-3xl">
|
||||
<div>
|
||||
<div class="@container rounded-lg border bg-card p-5 sm:p-8">
|
||||
<FormRenderer :form="form" />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
import { computed, onBeforeUnmount, onMounted, provide, reactive, ref, watch } from 'vue';
|
||||
import { Head, Link, router, useForm, usePage } from '@inertiajs/vue3';
|
||||
import {
|
||||
|
||||
ArrowLeft,
|
||||
CalendarClock,
|
||||
EllipsisVertical,
|
||||
|
|
@ -40,6 +41,9 @@ import MediaPickerHost from '@/components/media/MediaPickerHost.vue';
|
|||
import { collectImagePaths, uploadWithProgress } from '@/components/media/api';
|
||||
import { useMediaPicker } from '@/components/media/useMediaPicker';
|
||||
|
||||
// Ohne Portalrahmen: eigenes Layout bzw. Vollbild (lib/withFrame.js)
|
||||
defineOptions({ frame: false });
|
||||
|
||||
/**
|
||||
* Beitrag schreiben – mit demselben Baukasten wie die Seiten. Titelbild, Titel
|
||||
* und Kurztext stehen direkt auf der Arbeitsfläche, die übrigen Angaben im Reiter
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
import { computed, onBeforeUnmount, onMounted, provide, reactive, ref, watch } from 'vue';
|
||||
import { Head, Link, router } from '@inertiajs/vue3';
|
||||
import {
|
||||
|
||||
ArrowLeft,
|
||||
CalendarClock,
|
||||
CircleCheck,
|
||||
|
|
@ -49,6 +50,9 @@ import ReviewDialog from '../components/ReviewDialog.vue';
|
|||
import NewPageDialog from '../components/NewPageDialog.vue';
|
||||
import SaveSnippetDialog from '../components/SaveSnippetDialog.vue';
|
||||
|
||||
// Ohne Portalrahmen: eigenes Layout bzw. Vollbild (lib/withFrame.js)
|
||||
defineOptions({ frame: false });
|
||||
|
||||
const props = defineProps({
|
||||
page: { type: Object, required: true },
|
||||
working: { type: Object, required: true },
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ const hasSectionNav = props.section.children.length > 0;
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<AppLayout :title="page.title">
|
||||
<AppLayout :title="page.title" :width="hasSectionNav ? 'default' : 'medium'">
|
||||
<PageHeader
|
||||
:title="page.title"
|
||||
:description="page.published_at ? `Zuletzt aktualisiert am ${formatDate(page.published_at)}` : ''"
|
||||
|
|
@ -51,7 +51,7 @@ const hasSectionNav = props.section.children.length > 0;
|
|||
</nav>
|
||||
</aside>
|
||||
|
||||
<article class="min-w-0" :class="hasSectionNav ? '' : 'mx-auto w-full max-w-5xl'">
|
||||
<article class="min-w-0">
|
||||
|
||||
<div v-if="editor && (!page.is_published || editor.has_draft || editor.scheduled_at)" class="mb-6 flex items-start gap-3 rounded-lg border border-brand-200 bg-brand-soft px-4 py-3 text-sm">
|
||||
<CalendarClock v-if="editor.scheduled_at" class="mt-0.5 size-4 shrink-0 text-brand-text" />
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ import MediaPickerHost from '@/components/media/MediaPickerHost.vue';
|
|||
import { collectImagePaths, uploadWithProgress } from '@/components/media/api';
|
||||
import { useMediaPicker } from '@/components/media/useMediaPicker';
|
||||
|
||||
// Ohne Portalrahmen: eigenes Layout bzw. Vollbild (lib/withFrame.js)
|
||||
defineOptions({ frame: false });
|
||||
|
||||
/**
|
||||
* Baustein bzw. Seitenvorlage bearbeiten – derselbe Pagebuilder wie bei Seiten,
|
||||
* gespeichert wird ausdrücklich (Bausteine wirken sofort auf allen Seiten).
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ function acknowledge() {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<AppLayout :title="entry.title">
|
||||
<AppLayout :title="entry.title" width="app">
|
||||
<PageHeader :title="entry.title" :breadcrumbs="[{ label: 'Qualitätsmanagement', href: '/qm' }, { label: entry.folder.path, href: entry.folder.url }]">
|
||||
<template #description><template v-if="entry.version">Version {{ entry.version }} · </template>Stand {{ formatStand(entry.valid_from) }} · {{ formatSize(entry.size) }}</template>
|
||||
<template #actions>
|
||||
|
|
@ -35,7 +35,7 @@ function acknowledge() {
|
|||
<Button size="sm" as-child><a :href="entry.download_url"><Download /> Herunterladen</a></Button>
|
||||
</template>
|
||||
</PageHeader>
|
||||
<div class="flex h-[calc(100vh-16rem)] min-h-[32rem] flex-col overflow-hidden rounded-lg border bg-card">
|
||||
<div class="flex min-h-[32rem] flex-1 flex-col overflow-hidden rounded-lg border bg-card">
|
||||
<div v-if="entry.requires_acknowledgement" class="flex flex-wrap items-center gap-x-4 gap-y-2 border-b px-4 py-2.5" :class="entry.acknowledged_at ? 'bg-emerald-50 dark:bg-emerald-950/40' : 'bg-amber-50 dark:bg-amber-950/40'">
|
||||
<template v-if="entry.acknowledged_at">
|
||||
<CircleCheck class="size-5 shrink-0 text-emerald-700 dark:text-emerald-400" />
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
import { onMounted } from 'vue';
|
||||
import { Head } from '@inertiajs/vue3';
|
||||
|
||||
// Ohne Portalrahmen: eigenes Layout bzw. Vollbild (lib/withFrame.js)
|
||||
defineOptions({ frame: false });
|
||||
|
||||
/**
|
||||
* Druckansicht ohne Portal-Rahmen: jeder Plan füllt eine A4-Seite randlos.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ watch(() => page.props.flash.status, (status) => status && toast.success(status)
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<AppLayout :title="poll.title">
|
||||
<div class="mx-auto max-w-3xl">
|
||||
<AppLayout :title="poll.title" width="narrow">
|
||||
<div>
|
||||
<PageHeader :title="poll.title" :breadcrumbs="[{ label: 'Umfragen', href: '/umfragen' }]">
|
||||
<template #description>
|
||||
<template v-if="poll.status === 'draft'">Entwurf – nur für die Redaktion sichtbar.</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue