fixing input
This commit is contained in:
parent
09ec73d1b4
commit
048d9f2f10
@ -30,7 +30,6 @@ export default function InputUploadPdf() {
|
|||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="update">
|
<div className="update">
|
||||||
|
|||||||
@ -16,7 +16,7 @@ input[type="file"] {
|
|||||||
label {
|
label {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-top: -30px;
|
margin-top: 10px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin-left: 69px;
|
margin-left: 69px;
|
||||||
background-color: #254F7F;
|
background-color: #254F7F;
|
||||||
|
|||||||
@ -22,6 +22,7 @@ import { GetServerSideProps } from 'next';
|
|||||||
import getAPIClient from '../../../services/ssrApi';
|
import getAPIClient from '../../../services/ssrApi';
|
||||||
|
|
||||||
import FormData from 'form-data';
|
import FormData from 'form-data';
|
||||||
|
import { InputUploadView } from '../../../components/inputUploadImg/inputUploadView';
|
||||||
|
|
||||||
const style = {
|
const style = {
|
||||||
position: 'absolute' as const,
|
position: 'absolute' as const,
|
||||||
@ -196,8 +197,26 @@ export default function clients({clients, userName}) {
|
|||||||
client_id: value.target.value
|
client_id: value.target.value
|
||||||
})
|
})
|
||||||
}} variant="outlined" />
|
}} variant="outlined" />
|
||||||
<input type="file" onChange={onChange}/>
|
<InputUploadView>
|
||||||
{/* <InputUpload /> */}
|
|
||||||
|
<div className='imgContainer'>
|
||||||
|
<article>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="update">
|
||||||
|
|
||||||
|
<form action="">
|
||||||
|
<div >
|
||||||
|
<label htmlFor="arquivo"> <p className='TitleButton'> Enviar foto de Perfil </p> </label>
|
||||||
|
<input type="file" name='arquivo' id='arquivo' onChange={onChange} />
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</InputUploadView>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<FaqButton1 title='Cancelar' onClick={() => setOpen(false)} />
|
<FaqButton1 title='Cancelar' onClick={() => setOpen(false)} />
|
||||||
<FaqButton2 title='Salvar' onClick={() => handleCreateClient(client)}/>
|
<FaqButton2 title='Salvar' onClick={() => handleCreateClient(client)}/>
|
||||||
|
|||||||
@ -13,6 +13,7 @@ import FormData from 'form-data';
|
|||||||
|
|
||||||
import Snackbar from '@mui/material/Snackbar';
|
import Snackbar from '@mui/material/Snackbar';
|
||||||
import MuiAlert, { AlertProps } from '@mui/material/Alert';
|
import MuiAlert, { AlertProps } from '@mui/material/Alert';
|
||||||
|
import { InputUploadView } from '../../../components/inputUploadPdf/inputUploadView'
|
||||||
|
|
||||||
const Alert = React.forwardRef<HTMLDivElement, AlertProps>(function Alert(
|
const Alert = React.forwardRef<HTMLDivElement, AlertProps>(function Alert(
|
||||||
props,
|
props,
|
||||||
@ -69,8 +70,17 @@ export default function industryInfo({userName}: any) {
|
|||||||
<Header name={userName} />
|
<Header name={userName} />
|
||||||
<div className='title'>
|
<div className='title'>
|
||||||
<PageTitle title='Info Setorial' subtitle='Realize o upload da última versão de info setorial' />
|
<PageTitle title='Info Setorial' subtitle='Realize o upload da última versão de info setorial' />
|
||||||
<input type="file" onChange={onChange}/>
|
<InputUploadView>
|
||||||
<InputUploadPdf/>
|
<div className="update">
|
||||||
|
<form action="">
|
||||||
|
<div className='testess'>
|
||||||
|
<label htmlFor="arquivo"> <p className='TitleButton'> Enviar PDF </p> </label>
|
||||||
|
<input type="file" name='arquivo' id='arquivo' onChange={onChange} />
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</InputUploadView>
|
||||||
|
{/* <InputUploadPdf/> */}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<BasicButton onClick={() => handleCreateClient()} title='Atualizar'/>
|
<BasicButton onClick={() => handleCreateClient()} title='Atualizar'/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user