소스 검색

update reset button in FormWizard

web_access_fix
Jason Chuang 3 주 전
부모
커밋
933bfe2752
3개의 변경된 파일58개의 추가작업 그리고 9개의 파일을 삭제
  1. +25
    -4
      src/pages/authentication/auth-forms/BusCustomFormWizard.js
  2. +22
    -3
      src/pages/authentication/auth-forms/CustomFormWizard.js
  3. +11
    -2
      src/pages/authentication/auth-forms/IAmSmartFormWizard.js

+ 25
- 4
src/pages/authentication/auth-forms/BusCustomFormWizard.js 파일 보기

@@ -651,9 +651,21 @@ const BusCustomFormWizard = (props) => {
<Grid container spacing={3}>
<Grid item xs={12} md={12}>
<Stack direction="column" justifyContent="space-between" alignItems="baseline" sx={{ mb: { xs: -0.5, sm: 0.5 } }}>
<Button variant="outlined" type="reset" onClick={handleReset.bind(null, formik.resetForm)} sx={{ height: '40px' }}><Typography variant="pnspsFormHeader">
<Button
variant="outlined"
type="reset"
onClick={handleReset.bind(null, formik.resetForm)}
sx={{
height: '40px',
borderColor: '#616161',
color: '#424242',
'&:hover': { borderColor: '#424242', backgroundColor: 'rgba(97,97,97,0.08)' },
}}
>
<Typography variant="pnspsFormHeader">
<FormattedMessage id="reset"/>
</Typography></Button>
</Typography>
</Button>
<div style={{ borderBottom: "3px solid #1A4399", width: "100%", margin_right: "15px" }}>
<Typography display="inline" variant="h3" sx={{ color: '#1A4399' }}>
<FormattedMessage id="becomeNewBusinessUser"/>
@@ -1599,8 +1611,17 @@ const BusCustomFormWizard = (props) => {
{formik.errors.captchaField}
</FormHelperText>
)}
<Stack spacing={1} direction="row">
<Button onClick={playCaptchaAudio} aria-label={intl.formatMessage({id:"captchaPlayAudioAria"})}>
<Stack spacing={1} direction="row" sx={{ mt: 0.25 }}>
<Button
variant="contained"
onClick={playCaptchaAudio}
aria-label={intl.formatMessage({ id: "captchaPlayAudioAria" })}
sx={{
backgroundColor: '#0C489E',
color: '#FFFFFF',
'&:hover': { backgroundColor: '#093A7A' },
}}
>
<FormattedMessage id="captchaPlayAudio" />
</Button>
</Stack>


+ 22
- 3
src/pages/authentication/auth-forms/CustomFormWizard.js 파일 보기

@@ -881,7 +881,17 @@ const CustomFormWizard = (props) => {
<Grid container spacing={3}>
<Grid item xs={12} md={12}>
<Stack direction="column" justifyContent="space-between" alignItems="baseline" sx={{ mb: { xs: -0.5, sm: 0.5 } }}>
<Button variant="outlined" type="reset" onClick={handleReset.bind(null, formik.resetForm)} sx={{ height: '40px' }}>
<Button
variant="outlined"
type="reset"
onClick={handleReset.bind(null, formik.resetForm)}
sx={{
height: '40px',
borderColor: '#616161',
color: '#424242',
'&:hover': { borderColor: '#424242', backgroundColor: 'rgba(97,97,97,0.08)' },
}}
>
<Typography variant="pnspsFormHeader">
<FormattedMessage id="reset" />
</Typography>
@@ -1938,8 +1948,17 @@ const CustomFormWizard = (props) => {
{formik.errors.captchaField}
</FormHelperText>
)}
<Stack spacing={1} direction="row">
<Button onClick={playCaptchaAudio} aria-label={intl.formatMessage({id:"captchaPlayAudioAria"})}>
<Stack spacing={1} direction="row" sx={{ mt: 0.25 }}>
<Button
variant="contained"
onClick={playCaptchaAudio}
aria-label={intl.formatMessage({ id: "captchaPlayAudioAria" })}
sx={{
backgroundColor: '#0C489E',
color: '#FFFFFF',
'&:hover': { backgroundColor: '#093A7A' },
}}
>
<FormattedMessage id="captchaPlayAudio" />
</Button>
</Stack>


+ 11
- 2
src/pages/authentication/auth-forms/IAmSmartFormWizard.js 파일 보기

@@ -1062,8 +1062,17 @@ const CustomFormWizard = (props) => {
{formik.errors.captchaField}
</FormHelperText>
)}
<Stack spacing={1} direction="row">
<Button onClick={playCaptchaAudio} aria-label={intl.formatMessage({id:"captchaPlayAudioAria"})}>
<Stack spacing={1} direction="row" sx={{ mt: 0.25 }}>
<Button
variant="contained"
onClick={playCaptchaAudio}
aria-label={intl.formatMessage({ id: "captchaPlayAudioAria" })}
sx={{
backgroundColor: '#0C489E',
color: '#FFFFFF',
'&:hover': { backgroundColor: '#093A7A' },
}}
>
<FormattedMessage id="captchaPlayAudio" />
</Button>
</Stack>


불러오는 중...
취소
저장