Einheitlicher Rahmen für alle Seiten (0.49.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 8m15s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 8m16s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 8m10s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 8m15s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m23s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m41s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 8m59s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m1s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 49s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m11s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 8m15s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 8m16s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 8m10s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 8m15s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m23s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m41s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 8m59s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m1s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 49s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m11s
Das Portal legt den Rahmen selbst um jede Plugin-Seite; AppLayout aus @inhaus/ui setzt dort nur noch den Titel. Detailseiten nutzen PageHeader. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ee6a5e02a0
commit
179471cb53
149 changed files with 508 additions and 484 deletions
|
|
@ -7,10 +7,10 @@ defineProps({ posting: { type: Object, required: true } });
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<p class="flex flex-wrap items-center gap-x-4 gap-y-1 text-[13px] text-muted-foreground">
|
||||
<span class="flex flex-wrap items-center gap-x-4 gap-y-1 text-[13px] text-muted-foreground">
|
||||
<span v-if="posting.department" class="inline-flex items-center gap-1.5"><Building2 class="size-3.5" /> {{ posting.department }}</span>
|
||||
<span v-if="posting.location" class="inline-flex items-center gap-1.5"><MapPin class="size-3.5" /> {{ posting.location }}</span>
|
||||
<span v-if="posting.summary" class="inline-flex items-center gap-1.5"><Clock class="size-3.5" /> {{ posting.summary }}</span>
|
||||
<span v-if="posting.deadline" class="inline-flex items-center gap-1.5"><CalendarClock class="size-3.5" /> Bewerbung bis {{ formatShortDate(posting.deadline) }}</span>
|
||||
</p>
|
||||
</span>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,14 @@
|
|||
<script setup>
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import { Link, router, useForm, usePage } from '@inertiajs/vue3';
|
||||
import { ArrowLeft, CircleCheck, ExternalLink, FileText, Mail, PencilLine, Phone, Send, Users } from '@lucide/vue';
|
||||
import { CircleCheck, ExternalLink, FileText, Mail, PencilLine, Phone, Send, Users } from '@lucide/vue';
|
||||
import { toast } from 'vue-sonner';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Textarea } from '@/components/ui/textarea';
|
||||
import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
||||
import FormField from '@/components/FormField.vue';
|
||||
import Panel from '@/components/Panel.vue';
|
||||
import PageHeader from '@/components/PageHeader.vue';
|
||||
import PersonAvatar from '@/components/PersonAvatar.vue';
|
||||
import AppLayout from '@/layouts/AppLayout.vue';
|
||||
import { formatShortDate } from '@/lib/format';
|
||||
|
|
@ -54,21 +55,19 @@ function withdraw() {
|
|||
|
||||
<template>
|
||||
<AppLayout :title="posting.title">
|
||||
<div class="mb-5 flex flex-wrap items-center justify-between gap-3">
|
||||
<Link href="/stellen" class="inline-flex items-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground"><ArrowLeft class="size-4" /> Alle Stellen</Link>
|
||||
<div class="flex flex-wrap gap-2">
|
||||
<PageHeader :title="posting.title" :breadcrumbs="[{ label: 'Interne Stellen', href: '/stellen' }]">
|
||||
<template #description><JobFacts :posting="posting" /></template>
|
||||
<template v-if="applicationsUrl || editUrl" #actions>
|
||||
<Button v-if="applicationsUrl" variant="outline" size="sm" as-child><Link :href="applicationsUrl"><Users /> Bewerbungen ({{ applicationsCount }})</Link></Button>
|
||||
<Button v-if="editUrl" variant="outline" size="sm" as-child><Link :href="editUrl"><PencilLine /> Bearbeiten</Link></Button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</PageHeader>
|
||||
|
||||
<p v-if="statusLabel[posting.status]" class="mb-4 rounded-md border border-amber-300 bg-amber-50 px-3 py-2 text-sm text-amber-900 dark:border-amber-800 dark:bg-amber-950/50 dark:text-amber-100">{{ statusLabel[posting.status] }}</p>
|
||||
|
||||
<div class="grid grid-cols-1 items-start gap-6 lg:grid-cols-[minmax(0,1fr)_22rem]">
|
||||
<article class="min-w-0 rounded-lg border bg-card p-6 sm:p-8">
|
||||
<h1 class="text-2xl leading-tight font-semibold tracking-tight break-words sm:text-3xl">{{ posting.title }}</h1>
|
||||
<JobFacts :posting="posting" class="mt-3" />
|
||||
<div v-if="posting.description" class="prose prose-neutral mt-6 max-w-none break-words dark:prose-invert" v-html="posting.description" />
|
||||
<div v-if="posting.description" class="prose prose-neutral max-w-none break-words dark:prose-invert" v-html="posting.description" />
|
||||
<a v-if="posting.pdf" :href="posting.pdf.url" target="_blank" rel="noopener" class="mt-6 inline-flex items-center gap-2 rounded-md border px-3 py-2 text-sm font-medium hover:bg-accent">
|
||||
<FileText class="size-4 text-red-600" /> Ausschreibung als PDF <span class="text-xs font-normal text-muted-foreground">{{ posting.pdf.name }}</span>
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue