mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
* Fix height dialog form * Rename application form steps
This commit is contained in:
parent
648710bf83
commit
2721b50625
@ -31,7 +31,11 @@ const DialogForm = memo(
|
||||
maxWidth="lg"
|
||||
scroll="paper"
|
||||
PaperProps={{
|
||||
style: { height: '100%', minHeight: '80%', minWidth: '80%' }
|
||||
style: {
|
||||
height: isMobile ? '100%' : '80%',
|
||||
minHeight: '80%',
|
||||
minWidth: '80%'
|
||||
}
|
||||
}}
|
||||
>
|
||||
<DialogTitle>{title}</DialogTitle>
|
||||
|
@ -6,11 +6,11 @@ import FormWithSchema from 'client/components/Forms/FormWithSchema';
|
||||
import { FORM_FIELDS, STEP_FORM_SCHEMA } from './schema';
|
||||
|
||||
const BasicConfiguration = () => {
|
||||
const STEP_ID = 'service';
|
||||
const STEP_ID = 'application';
|
||||
|
||||
return {
|
||||
id: STEP_ID,
|
||||
label: 'Service configuration',
|
||||
label: 'Application Overview',
|
||||
content: FormStep,
|
||||
resolver: STEP_FORM_SCHEMA,
|
||||
FormComponent: () => (
|
||||
|
@ -18,7 +18,7 @@ const Networks = () => {
|
||||
return useMemo(
|
||||
() => ({
|
||||
id: STEP_ID,
|
||||
label: 'Networks configuration',
|
||||
label: 'Configure Networking',
|
||||
content: FormList,
|
||||
preRender: () => {
|
||||
getVNetworks();
|
||||
|
@ -9,13 +9,13 @@ import FlowWithFAB from 'client/components/Flows/FlowWithFAB';
|
||||
import Steps from './Steps';
|
||||
|
||||
const Roles = () => {
|
||||
const STEP_ID = 'roles';
|
||||
const STEP_ID = 'tiers';
|
||||
const { steps, defaultValues, resolvers } = Steps();
|
||||
|
||||
return useMemo(
|
||||
() => ({
|
||||
id: STEP_ID,
|
||||
label: 'Defining each role',
|
||||
label: 'Tier Definition',
|
||||
content: FormList,
|
||||
DEFAULT_DATA: defaultValues,
|
||||
resolver: yup
|
||||
|
Loading…
x
Reference in New Issue
Block a user