Rearrange flight creation form
This commit is contained in:
parent
0bfdc4f8e5
commit
ed490803cb
@ -179,11 +179,11 @@ export default function NewFlight() {
|
|||||||
field="time_start"
|
field="time_start"
|
||||||
label="Start Time"
|
label="Start Time"
|
||||||
/>
|
/>
|
||||||
<TimeInput form={form} field="time_stop" label="Stop Time" />
|
<TimeInput form={form} field="time_off" label="Time Off" />
|
||||||
</Group>
|
</Group>
|
||||||
<Group justify="center" grow mt="md">
|
<Group justify="center" grow mt="md">
|
||||||
<TimeInput form={form} field="time_off" label="Time Off" />
|
|
||||||
<TimeInput form={form} field="time_down" label="Time Down" />
|
<TimeInput form={form} field="time_down" label="Time Down" />
|
||||||
|
<TimeInput form={form} field="time_stop" label="Stop Time" />
|
||||||
</Group>
|
</Group>
|
||||||
</Fieldset>
|
</Fieldset>
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ export default function NewFlight() {
|
|||||||
/>
|
/>
|
||||||
<NumberInput
|
<NumberInput
|
||||||
label="Distance Cross-Country"
|
label="Distance Cross-Country"
|
||||||
decimalScale={2}
|
decimalScale={1}
|
||||||
min={0}
|
min={0}
|
||||||
fixedDecimalScale
|
fixedDecimalScale
|
||||||
leftSection={
|
leftSection={
|
||||||
|
@ -20,6 +20,7 @@ function HourInput({
|
|||||||
<NumberInput
|
<NumberInput
|
||||||
label={label}
|
label={label}
|
||||||
decimalScale={1}
|
decimalScale={1}
|
||||||
|
step={0.1}
|
||||||
min={0}
|
min={0}
|
||||||
fixedDecimalScale
|
fixedDecimalScale
|
||||||
leftSection={
|
leftSection={
|
||||||
@ -57,6 +58,7 @@ function ZeroHourInput({
|
|||||||
<NumberInput
|
<NumberInput
|
||||||
label={label}
|
label={label}
|
||||||
decimalScale={1}
|
decimalScale={1}
|
||||||
|
step={0.1}
|
||||||
min={0}
|
min={0}
|
||||||
fixedDecimalScale
|
fixedDecimalScale
|
||||||
leftSection={
|
leftSection={
|
||||||
|
Loading…
x
Reference in New Issue
Block a user