63 lines
1.9 KiB
TypeScript
63 lines
1.9 KiB
TypeScript
'use client';
|
|
|
|
import { Card, CardContent, CardHeader } from '@/components/ui/card';
|
|
import {
|
|
Table,
|
|
TableBody,
|
|
TableCell,
|
|
TableHead,
|
|
TableHeader,
|
|
TableRow,
|
|
} from '@/components/ui/table';
|
|
import { Input } from '@/components/ui/input';
|
|
import { Button } from '@/components/ui/button';
|
|
import { Search, Plus } from 'lucide-react';
|
|
|
|
export default function TicketsPage() {
|
|
return (
|
|
<div>
|
|
<div className="mb-6 flex items-center justify-between">
|
|
<div>
|
|
<h1 className="text-2xl font-bold text-slate-800">Tickets</h1>
|
|
<p className="text-slate-500 text-sm mt-1">Support and installation tickets</p>
|
|
</div>
|
|
<Button style={{ backgroundColor: '#0891B2' }}>
|
|
<Plus size={16} className="mr-2" />
|
|
New Ticket
|
|
</Button>
|
|
</div>
|
|
|
|
<Card className="border shadow-sm">
|
|
<CardHeader className="pb-4">
|
|
<div className="relative max-w-sm">
|
|
<Search size={16} className="absolute left-3 top-1/2 -translate-y-1/2 text-slate-400" />
|
|
<Input placeholder="Search tickets..." className="pl-9" />
|
|
</div>
|
|
</CardHeader>
|
|
<CardContent className="p-0">
|
|
<Table>
|
|
<TableHeader>
|
|
<TableRow>
|
|
<TableHead>Ticket #</TableHead>
|
|
<TableHead>Client</TableHead>
|
|
<TableHead>Type</TableHead>
|
|
<TableHead>Priority</TableHead>
|
|
<TableHead>Status</TableHead>
|
|
<TableHead>Assigned To</TableHead>
|
|
<TableHead>Actions</TableHead>
|
|
</TableRow>
|
|
</TableHeader>
|
|
<TableBody>
|
|
<TableRow>
|
|
<TableCell colSpan={7} className="text-center py-12 text-slate-400">
|
|
No tickets found.
|
|
</TableCell>
|
|
</TableRow>
|
|
</TableBody>
|
|
</Table>
|
|
</CardContent>
|
|
</Card>
|
|
</div>
|
|
);
|
|
}
|