Verleih 1.1.0: Detailseite im einheitlichen Seitenkopf
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
dea1c7061a
commit
4fc163e93e
6 changed files with 12 additions and 16 deletions
2
dist/assets/style-D4c_hjHt.css
vendored
Normal file
2
dist/assets/style-D4c_hjHt.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2
dist/assets/style-HFzXm6mv.css
vendored
2
dist/assets/style-HFzXm6mv.css
vendored
File diff suppressed because one or more lines are too long
2
dist/inhaus.json
vendored
2
dist/inhaus.json
vendored
|
|
@ -7,6 +7,6 @@
|
|||
"pages/Show": "pages/Show.js"
|
||||
},
|
||||
"css": [
|
||||
"assets/style-HFzXm6mv.css"
|
||||
"assets/style-D4c_hjHt.css"
|
||||
]
|
||||
}
|
||||
2
dist/pages/Show.js
vendored
2
dist/pages/Show.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"slug": "verleih",
|
||||
"name": "Verleih",
|
||||
"version": "1.0.2",
|
||||
"version": "1.1.0",
|
||||
"description": "Verleihsystem, z. B. für die Bilder des Künstlerteams: Übersicht mit Status und aktuellem Standort, Anfragen im Portal mit Zusage oder Absage, Import aus dem bisherigen WordPress-Verleihsystem.",
|
||||
"author": "Loheide",
|
||||
"namespace": "Inhaus\\Plugins\\Verleih\\",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<script setup>
|
||||
import { computed, onBeforeUnmount, ref, watch } from 'vue';
|
||||
import { Link, router, useForm, usePage } from '@inertiajs/vue3';
|
||||
import { CalendarDays, ChevronLeft, Clock, ImageOff, LoaderCircle, MapPin, PencilLine, Send, Trash2, Undo2, UserRound, X } from '@lucide/vue';
|
||||
import { AppLayout, Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FormField, Input, PersonAvatar, formatDate, toast } from '@inhaus/ui';
|
||||
import { CalendarDays, Clock, ImageOff, LoaderCircle, MapPin, PencilLine, Send, Trash2, Undo2, UserRound, X } from '@lucide/vue';
|
||||
import { AppLayout, Button, PageHeader, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, FormField, Input, PersonAvatar, formatDate, toast } from '@inhaus/ui';
|
||||
import RequestDialog from '../components/RequestDialog.vue';
|
||||
import StatusBadge from '../components/StatusBadge.vue';
|
||||
|
||||
|
|
@ -39,13 +39,13 @@ const period = (from, until) =>
|
|||
|
||||
<template>
|
||||
<AppLayout :title="item.title">
|
||||
<div class="ih:mb-4 ih:flex ih:flex-wrap ih:items-center ih:justify-between ih:gap-3">
|
||||
<Link href="/verleih" class="ih:inline-flex ih:items-center ih:gap-1 ih:text-sm ih:font-medium ih:text-muted-foreground ih:hover:text-foreground"><ChevronLeft class="ih:size-4" /> {{ labels.title }}</Link>
|
||||
<div v-if="canManage" class="ih:flex ih:gap-2">
|
||||
<PageHeader :title="item.title" :breadcrumbs="[{ label: labels.title, href: '/verleih' }]">
|
||||
<template #description><StatusBadge :lent="item.lent" class="ih:mt-1 ih:w-fit ih:border" /></template>
|
||||
<template v-if="canManage" #actions>
|
||||
<Button variant="outline" size="sm" as-child><Link :href="`/verleih/${item.id}/bearbeiten`"><PencilLine /> Bearbeiten</Link></Button>
|
||||
<Button variant="ghost" size="sm" class="ih:text-destructive ih:hover:text-destructive" @click="remove"><Trash2 /> Löschen</Button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</PageHeader>
|
||||
|
||||
<div class="ih:grid ih:gap-6 ih:lg:grid-cols-[minmax(0,1fr)_22rem]">
|
||||
<!-- Bild: ganz, ohne Zuschnitt -->
|
||||
|
|
@ -71,10 +71,6 @@ const period = (from, until) =>
|
|||
|
||||
<aside class="ih:grid ih:content-start ih:gap-4 ih:lg:sticky ih:lg:top-24">
|
||||
<section class="ih:grid ih:gap-4 ih:rounded-lg ih:border ih:bg-card ih:p-5">
|
||||
<div class="ih:grid ih:gap-2">
|
||||
<StatusBadge :lent="item.lent" class="ih:w-fit ih:border" />
|
||||
<h1 class="ih:text-xl ih:leading-snug ih:font-semibold">{{ item.title }}</h1>
|
||||
</div>
|
||||
<dl class="ih:grid ih:gap-2 ih:text-sm">
|
||||
<div class="ih:flex ih:gap-2">
|
||||
<dt class="ih:sr-only">Aktueller Standort</dt>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue