Skip to content
Snippets Groups Projects
Commit 71c4330c authored by ali asaria's avatar ali asaria
Browse files

better UI for new workflow

parent 09a8e7ed
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,11 @@ import { ...@@ -3,9 +3,11 @@ import {
DialogContent, DialogContent,
DialogTitle, DialogTitle,
FormControl, FormControl,
FormHelperText,
FormLabel, FormLabel,
Input, Input,
Modal, Modal,
ModalClose,
ModalDialog, ModalDialog,
Stack, Stack,
Textarea, Textarea,
...@@ -18,6 +20,7 @@ export default function NewWorkflowModal({ open, setOpen }) { ...@@ -18,6 +20,7 @@ export default function NewWorkflowModal({ open, setOpen }) {
return ( return (
<Modal open={open} onClose={() => setOpen(false)}> <Modal open={open} onClose={() => setOpen(false)}>
<ModalDialog> <ModalDialog>
<ModalClose />
<DialogTitle>Create new workflow</DialogTitle> <DialogTitle>Create new workflow</DialogTitle>
<DialogContent>Fill in the information.</DialogContent> <DialogContent>Fill in the information.</DialogContent>
<form <form
...@@ -33,7 +36,10 @@ export default function NewWorkflowModal({ open, setOpen }) { ...@@ -33,7 +36,10 @@ export default function NewWorkflowModal({ open, setOpen }) {
</FormControl> </FormControl>
<FormControl> <FormControl>
<FormLabel>Nodes</FormLabel> <FormLabel>Nodes</FormLabel>
<Textarea required minRows={6} /> <Textarea minRows={4} />
<FormHelperText>
Leave Blank to Create an Empty Workflow
</FormHelperText>
</FormControl> </FormControl>
<Button type="submit">Submit</Button> <Button type="submit">Submit</Button>
</Stack> </Stack>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment