1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #3951: Rename application form steps (#220)

* Fix height dialog form

* Rename application form steps
This commit is contained in:
Sergio Betanzos 2020-09-16 19:02:14 +02:00 committed by GitHub
parent 648710bf83
commit 2721b50625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 6 deletions

View File

@ -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>

View File

@ -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: () => (

View File

@ -18,7 +18,7 @@ const Networks = () => {
return useMemo(
() => ({
id: STEP_ID,
label: 'Networks configuration',
label: 'Configure Networking',
content: FormList,
preRender: () => {
getVNetworks();

View File

@ -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