lll
parent
c5908167f2
commit
1d0189b0c9
|
@ -8,6 +8,7 @@ import { getCookie, setCookie } from 'react-use-cookie';
|
||||||
import { useHistory } from "react-router-dom";
|
import { useHistory } from "react-router-dom";
|
||||||
import { DataGrid, GridToolbar, frFR } from '@mui/x-data-grid';
|
import { DataGrid, GridToolbar, frFR } from '@mui/x-data-grid';
|
||||||
import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css";
|
import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css";
|
||||||
|
import TextareaAutosize from '@mui/material/TextareaAutosize';
|
||||||
|
|
||||||
import 'react-tooltip/dist/react-tooltip.css'
|
import 'react-tooltip/dist/react-tooltip.css'
|
||||||
import { Tooltip } from 'react-tooltip'
|
import { Tooltip } from 'react-tooltip'
|
||||||
|
@ -6046,85 +6047,57 @@ const Jury = (props) => {
|
||||||
{String(soutenance_data_edit_mode) !== "1" && <div>
|
{String(soutenance_data_edit_mode) !== "1" && <div>
|
||||||
|
|
||||||
<div style={{ width: "100%" }}>
|
<div style={{ width: "100%" }}>
|
||||||
<b> Sujet </b> <br />
|
<b> Sujet 1</b> <br />
|
||||||
<TextField
|
<TextareaAutosize
|
||||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, width: "100%", height:'5rem', }}
|
|
||||||
required
|
|
||||||
name="detail_soutenance_sujet"
|
name="detail_soutenance_sujet"
|
||||||
id="detail_soutenance_sujet"
|
id="detail_soutenance_sujet"
|
||||||
|
aria-label="minimum height"
|
||||||
InputLabelProps={{
|
maxRows={10}
|
||||||
shrink: true,
|
//placeholder="Minimum 3 rows"
|
||||||
|
style={{ border: "1px solid gainsboro", width: '99%', padding: '2px',
|
||||||
|
maxHeight:'15rem', height:'10rem', minHeight:'10rem', marginBottom:'3rem'
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
|
||||||
//fullWidth
|
|
||||||
// sx={{ width: "80%" }}
|
|
||||||
//className="disabled_style"
|
|
||||||
value={p_detail_soutenance_sujet}
|
value={p_detail_soutenance_sujet}
|
||||||
|
|
||||||
|
|
||||||
InputProps={{ style: { border: "1px solid gainsboro", width: '90%', padding:'2px', height:'5rem', margin:'auto' } }}
|
|
||||||
|
|
||||||
|
|
||||||
multiline
|
|
||||||
minRows={2}
|
|
||||||
maxRows={2}
|
|
||||||
rows={2}
|
|
||||||
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div style={{ width: "100%" }}>
|
<div style={{ width: "100%" }}>
|
||||||
<b> Observation </b> <br />
|
<b> Observation </b> <br />
|
||||||
<TextField
|
<TextareaAutosize
|
||||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, width: "100%" }}
|
|
||||||
required
|
|
||||||
name="detail_soutenance_observation"
|
name="detail_soutenance_observation"
|
||||||
id="detail_soutenance_observation"
|
id="detail_soutenance_observation"
|
||||||
|
aria-label="minimum height"
|
||||||
|
|
||||||
InputLabelProps={{
|
maxRows={10}
|
||||||
shrink: true,
|
//placeholder="Minimum 3 rows"
|
||||||
|
style={{ border: "1px solid gainsboro", width: '99%', padding: '2px',
|
||||||
|
maxHeight:'15rem', height:'10rem', minHeight:'10rem', marginBottom:'3rem'
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
|
||||||
//fullWidth
|
|
||||||
// sx={{ width: "80%" }}
|
|
||||||
//className="disabled_style"
|
|
||||||
value={p_detail_soutenance_observation}
|
value={p_detail_soutenance_observation}
|
||||||
|
|
||||||
|
|
||||||
InputProps={{ style: { border: "1px solid gainsboro", width: '90%', padding:'2px', height:'5rem', margin:'auto' } }}
|
|
||||||
|
|
||||||
|
|
||||||
multiline
|
|
||||||
minRows={2}
|
|
||||||
maxRows={2}
|
|
||||||
rows={2}
|
|
||||||
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style={{ width: "100%" }}>
|
<div style={{ width: "100%" }}>
|
||||||
<b> Note </b> <br />
|
<b> Note </b> <br />
|
||||||
<TextField
|
<TextareaAutosize
|
||||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, width: "100%" }}
|
|
||||||
required
|
|
||||||
name="detail_soutenance_note"
|
name="detail_soutenance_note"
|
||||||
id="detail_soutenance_note"
|
id="detail_soutenance_note"
|
||||||
|
aria-label="minimum height"
|
||||||
|
rows={1}
|
||||||
|
|
||||||
InputLabelProps={{
|
style={{ border: "1px solid gainsboro", width: '99%', padding: '2px',
|
||||||
shrink: true,
|
maxHeight:'3rem', height:'3rem', minHeight:'3rem', marginBottom:'3rem'
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
|
||||||
//fullWidth
|
|
||||||
// sx={{ width: "80%" }}
|
|
||||||
//className="disabled_style"
|
|
||||||
value={p_detail_soutenance_note}
|
value={p_detail_soutenance_note}
|
||||||
|
|
||||||
|
|
||||||
InputProps={{ style: { border: "1px solid gainsboro", width: '90%', padding:'2px', margin:'auto' } }}
|
|
||||||
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>}
|
</div>}
|
||||||
|
@ -6133,91 +6106,69 @@ const Jury = (props) => {
|
||||||
|
|
||||||
<div style={{ width: "100%" }}>
|
<div style={{ width: "100%" }}>
|
||||||
<b> Sujet </b> <br />
|
<b> Sujet </b> <br />
|
||||||
<TextField
|
<TextareaAutosize
|
||||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, width: "100%", }}
|
|
||||||
required
|
|
||||||
name="detail_soutenance_sujet"
|
name="detail_soutenance_sujet"
|
||||||
id="detail_soutenance_sujet"
|
id="detail_soutenance_sujet"
|
||||||
|
aria-label="minimum height"
|
||||||
InputLabelProps={{
|
minRows={3}
|
||||||
shrink: true,
|
maxRows={4}
|
||||||
|
//placeholder="Minimum 3 rows"
|
||||||
|
style={{ border: "1px solid gainsboro", width: '99%', padding: '2px',
|
||||||
|
maxHeight:'15rem', height:'10rem', minHeight:'10rem', marginBottom:'3rem'
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
|
||||||
//fullWidth
|
|
||||||
// sx={{ width: "80%" }}
|
|
||||||
//className="disabled_style"
|
|
||||||
value={p_detail_soutenance_sujet}
|
value={p_detail_soutenance_sujet}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
setp_detail_soutenance_sujet(e.target.value);
|
setp_detail_soutenance_sujet(e.target.value);
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
InputProps={{ style: { border: "1px solid gainsboro", width: '90%', padding:'2px', height:'5rem', margin:'auto' } }}
|
|
||||||
|
|
||||||
|
|
||||||
multiline
|
|
||||||
minRows={2}
|
|
||||||
maxRows={2}
|
|
||||||
rows={2}
|
|
||||||
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div style={{ width: "100%" }}>
|
<div style={{ width: "100%" }}>
|
||||||
<b> Observation </b> <br />
|
<b> Observation </b> <br />
|
||||||
<TextField
|
<TextareaAutosize
|
||||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, width: "100%" }}
|
|
||||||
required
|
|
||||||
name="detail_soutenance_observation"
|
name="detail_soutenance_observation"
|
||||||
id="detail_soutenance_observation"
|
id="detail_soutenance_observation"
|
||||||
|
aria-label="minimum height"
|
||||||
InputLabelProps={{
|
minRows={3}
|
||||||
shrink: true,
|
maxRows={4}
|
||||||
|
//placeholder="Minimum 3 rows"
|
||||||
|
style={{ border: "1px solid gainsboro", width: '99%', padding: '2px',
|
||||||
|
maxHeight:'15rem', height:'10rem', minHeight:'10rem', marginBottom:'3rem'
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
|
||||||
//fullWidth
|
|
||||||
// sx={{ width: "80%" }}
|
|
||||||
//className="disabled_style"
|
|
||||||
value={p_detail_soutenance_observation}
|
value={p_detail_soutenance_observation}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
setp_detail_soutenance_observation(e.target.value);
|
setp_detail_soutenance_observation(e.target.value);
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
InputProps={{ style: { border: "1px solid gainsboro", width: '90%', padding:'2px', height:'5rem', margin:'auto' } }}
|
|
||||||
|
|
||||||
|
|
||||||
multiline
|
|
||||||
minRows={2}
|
|
||||||
maxRows={2}
|
|
||||||
rows={2}
|
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style={{ width: "100%" }}>
|
<div style={{ width: "100%" }}>
|
||||||
<b> Note </b> <br />
|
<b> Note </b> <br />
|
||||||
<TextField
|
|
||||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, width: "80%" }}
|
<TextareaAutosize
|
||||||
required
|
|
||||||
name="detail_soutenance_note"
|
name="detail_soutenance_note"
|
||||||
id="detail_soutenance_note"
|
id="detail_soutenance_note"
|
||||||
|
aria-label="minimum height"
|
||||||
|
rows={1}
|
||||||
|
|
||||||
InputLabelProps={{
|
style={{ border: "1px solid gainsboro", width: '99%', padding: '2px',
|
||||||
shrink: true,
|
maxHeight:'3rem', height:'3rem', minHeight:'3rem', marginBottom:'3rem'
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
|
||||||
//fullWidth
|
|
||||||
// sx={{ width: "80%" }}
|
|
||||||
//className="disabled_style"
|
|
||||||
value={p_detail_soutenance_note}
|
value={p_detail_soutenance_note}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
setp_detail_soutenance_note(e.target.value);
|
setp_detail_soutenance_note(e.target.value);
|
||||||
}}
|
}}
|
||||||
|
|
||||||
InputProps={{ style: { border: "1px solid gainsboro", width: '90%', padding:'2px', margin:'auto' } }}
|
|
||||||
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue