mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
ui improvments
This commit is contained in:
@@ -230,6 +230,21 @@ export function VesselRegistrationReviewPage() {
|
||||
</Alert>
|
||||
)}
|
||||
|
||||
{/* Timeline */}
|
||||
<Paper withBorder radius="lg" p="xl">
|
||||
<Text fw={700} mb="md">Timeline</Text>
|
||||
<Stepper active={record.timeline.filter((t) => t.done).length - 1} size="sm" color="teal" orientation="horizontal">
|
||||
{record.timeline.map((step, i) => (
|
||||
<Stepper.Step
|
||||
key={i}
|
||||
label={step.event}
|
||||
description={step.date ?? 'Pending'}
|
||||
icon={step.done ? <IconCircleCheck size={16} /> : <IconClock size={16} />}
|
||||
/>
|
||||
))}
|
||||
</Stepper>
|
||||
</Paper>
|
||||
|
||||
{/* Two-column body */}
|
||||
<Grid gutter="md">
|
||||
{/* Left column */}
|
||||
@@ -301,20 +316,6 @@ export function VesselRegistrationReviewPage() {
|
||||
{/* Right column */}
|
||||
<Grid.Col span={{ base: 12, lg: 5 }}>
|
||||
<Stack gap="md">
|
||||
<Paper withBorder radius="lg" p="xl">
|
||||
<Text fw={700} mb="md">Timeline</Text>
|
||||
<Stepper active={record.timeline.filter((t) => t.done).length - 1} size="sm" color="teal" orientation="vertical">
|
||||
{record.timeline.map((step, i) => (
|
||||
<Stepper.Step
|
||||
key={i}
|
||||
label={step.event}
|
||||
description={step.date ?? 'Pending'}
|
||||
icon={step.done ? <IconCircleCheck size={16} /> : <IconClock size={16} />}
|
||||
/>
|
||||
))}
|
||||
</Stepper>
|
||||
</Paper>
|
||||
|
||||
{(record.remarks || (record.correctionFields && record.correctionFields.length > 0)) && (
|
||||
<Paper withBorder radius="lg" p="xl">
|
||||
<Text fw={700} mb="sm">Officer Remarks</Text>
|
||||
|
||||
Reference in New Issue
Block a user