continue Event page

This commit is contained in:
PxlLoewe
2025-02-17 10:39:29 +01:00
parent 8928455c3a
commit 30af30bd1d
13 changed files with 242 additions and 227 deletions

View File

@@ -1,4 +1,4 @@
import { DatabaseBackupIcon } from 'lucide-react';
import { DatabaseBackupIcon, PartyPopperIcon } from 'lucide-react';
import { PaginatedTable } from '../../../_components/PaginatedTable';
import Link from 'next/link';
@@ -7,9 +7,9 @@ export default () => {
<>
<p className="text-2xl font-semibold text-left flex items-center gap-2 justify-between">
<span className="flex items-center gap-2">
<DatabaseBackupIcon className="w-5 h-5" /> Stationen
<PartyPopperIcon className="w-5 h-5" /> Events
</span>
<Link href={'/admin/station/new'}>
<Link href={'/admin/event/new'}>
<button className="btn btn-sm btn-outline btn-primary">
Erstellen
</button>
@@ -17,23 +17,15 @@ export default () => {
</p>
<PaginatedTable
showEditButton
prismaModel="station"
prismaModel="event"
columns={[
{
header: 'BOS Name',
accessorKey: 'bosCallsign',
header: 'Name',
accessorKey: 'name',
},
{
header: 'Bos Use',
accessorKey: 'bosUse',
},
{
header: 'Country',
accessorKey: 'country',
},
{
header: 'operator',
accessorKey: 'operator',
header: 'Versteckt',
accessorKey: 'hidden',
},
]}
/>