|
|
|
@ -26,6 +26,13 @@ const FormContainer = styled("div")`
|
|
|
|
justify-content: space-between;
|
|
|
|
justify-content: space-between;
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const FormRowBlock = styled("div")`
|
|
|
|
|
|
|
|
margin: 6px 0 0 0;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
gap: ${({ theme }) => theme.spacing(1)};
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
const ModalImport = (props: IModalImportProps) => {
|
|
|
|
const ModalImport = (props: IModalImportProps) => {
|
|
|
|
const { onHide, onImport, importing } = props;
|
|
|
|
const { onHide, onImport, importing } = props;
|
|
|
|
|
|
|
|
|
|
|
|
@ -74,19 +81,24 @@ const ModalImport = (props: IModalImportProps) => {
|
|
|
|
className="relative px-4 py-3 flex-auto"
|
|
|
|
className="relative px-4 py-3 flex-auto"
|
|
|
|
height={""}
|
|
|
|
height={""}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<TextField label="yaml url" name="url" required={true} />
|
|
|
|
<TextField label="YAML URL" name="url" required={true} />
|
|
|
|
|
|
|
|
|
|
|
|
<label htmlFor="visibility" className="lbl-util">
|
|
|
|
<FormRowBlock>
|
|
|
|
Visibility
|
|
|
|
<label
|
|
|
|
</label>
|
|
|
|
htmlFor="visibility"
|
|
|
|
|
|
|
|
className="block text-xs font-bold text-gray-700"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
Make project public
|
|
|
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
<input
|
|
|
|
id="visibility"
|
|
|
|
id="visibility"
|
|
|
|
name="visibility"
|
|
|
|
name="visibility"
|
|
|
|
className="checkbox-util"
|
|
|
|
className="checkbox-util"
|
|
|
|
type="checkbox"
|
|
|
|
type="checkbox"
|
|
|
|
onChange={formik.handleChange}
|
|
|
|
onChange={formik.handleChange}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
</FormRowBlock>
|
|
|
|
|
|
|
|
|
|
|
|
{importing && <>importing</>}
|
|
|
|
{importing && <>importing</>}
|
|
|
|
</ScrollView>
|
|
|
|
</ScrollView>
|
|
|
|
|