25/11/25 - 21h30dd
parent
69605ff135
commit
e27c525cb4
|
|
@ -2904,8 +2904,6 @@ const Jury = (props) => {
|
|||
setDialog_Jury_Membre_open(false);
|
||||
settab_selected_users([]);
|
||||
setp_detail_member_role("");
|
||||
|
||||
|
||||
};
|
||||
|
||||
const fixedVal = [];
|
||||
|
|
|
|||
|
|
@ -215,11 +215,11 @@ const Module_Ent_Message_Public = (props) => {
|
|||
|
||||
var form = new FormData();
|
||||
|
||||
const stored_cookie = getCookie('tokenmysych');
|
||||
const stored_cookie = getCookie('tokenmysypart');
|
||||
|
||||
form.append("token", stored_cookie);
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Published_Ent_Alert_Message/";
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Ent_Alert_Message/";
|
||||
|
||||
axios.post(myurl, form).then(res => {
|
||||
// console.log(" In Get_All_Ent_Message_Public res.data.status = " + res.data.status);
|
||||
|
|
@ -250,7 +250,7 @@ const Module_Ent_Message_Public = (props) => {
|
|||
|
||||
}, [])
|
||||
|
||||
|
||||
const [gridline_id, setgridline_id] = useState("");
|
||||
|
||||
const [display_alert_mysy, setdisplay_alert_mysy] = useState("");
|
||||
const [alert_message, setalert_message] = useState("");
|
||||
|
|
@ -285,10 +285,11 @@ const Module_Ent_Message_Public = (props) => {
|
|||
{/*** FIN Affichage des messages d'alerte*/}
|
||||
|
||||
|
||||
<div className="session_data">
|
||||
<div className="session_data" style={{boxShadow:'none'}}>
|
||||
<div style={{ "border": "None", paddingRight: '10px' }}>
|
||||
|
||||
{Get_All_Notes_Of_Evaluations_result && Get_All_Notes_Of_Evaluations_result.length > 0 && <div style={{ height: 550, width: '100%', paddingRight: '5px' }}>
|
||||
{Get_All_Ent_Message_Public_result && Get_All_Ent_Message_Public_result.length > 0 &&
|
||||
<div style={{ height: 550, width: '100%', paddingRight: '5px' }}>
|
||||
|
||||
<Box
|
||||
sx={{
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import EmailIcon from '@mui/icons-material/Email'
|
|||
import LanguageIcon from '@mui/icons-material/Language';
|
||||
import HomeIcon from '@mui/icons-material/Home'
|
||||
import { Button } from "reactstrap";
|
||||
import Module_Ent_Message_Public from './Module_Ent_Message_Public';
|
||||
|
||||
import { useHistory } from "react-router-dom";
|
||||
import TwitterIcon from '@mui/icons-material/Twitter';
|
||||
|
|
@ -44,6 +45,21 @@ import Popup from 'reactjs-popup';
|
|||
import 'reactjs-popup/dist/index.css';
|
||||
import { CiTrash } from "react-icons/ci";
|
||||
|
||||
import Paper from '@material-ui/core/Paper';
|
||||
import Draggable from 'react-draggable';
|
||||
|
||||
function PaperComponent(props) {
|
||||
return (
|
||||
<Draggable
|
||||
handle="#draggable-dialog-title"
|
||||
cancel={'[class*="MuiDialogContent-root"]'}
|
||||
>
|
||||
<Paper {...props} />
|
||||
</Draggable>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
|
||||
|
|
@ -3390,6 +3406,18 @@ function UpdateParnterInfo(props) {
|
|||
setdisplay_alert_mysy("");
|
||||
}
|
||||
|
||||
const [Dialog_Message_Ent_open, setDialog_Message_Ent_open] = React.useState(false);
|
||||
|
||||
const Dialog_Message_Ent_handleClose = () => {
|
||||
|
||||
};
|
||||
|
||||
const Dialog_Message_Ent_handleClose_buton = () => {
|
||||
setDialog_Message_Ent_open(false);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<div className='updateparnterinfo'>
|
||||
|
|
@ -3494,6 +3522,82 @@ function UpdateParnterInfo(props) {
|
|||
|
||||
{/*** Fin ajout pickup Color */}
|
||||
|
||||
{/*** Dialog Gestion Message ENT */}
|
||||
|
||||
<Dialog
|
||||
open={Dialog_Message_Ent_open}
|
||||
// onClose={Dialog_Message_Ent_handleClose}
|
||||
|
||||
className="displaypartnersession"
|
||||
static
|
||||
onClose={() => null}
|
||||
|
||||
PaperProps={{
|
||||
|
||||
|
||||
className: classes.paper, // Apply the paper style
|
||||
style: {
|
||||
overflowY: 'unset',
|
||||
position: 'absolute',
|
||||
top: '10rem',
|
||||
margin: "2px",
|
||||
width:'70rem'
|
||||
},
|
||||
}}
|
||||
hideBackdrop={true}
|
||||
disableScrollLock
|
||||
classes={{
|
||||
paper: classes.dialog
|
||||
}}
|
||||
|
||||
PaperComponent={PaperComponent}
|
||||
aria-labelledby="draggable-dialog-title"
|
||||
>
|
||||
|
||||
<DialogTitle style={{ cursor: 'move', fontFamily: "DM Sans" }} id="draggable-dialog-title"> Message ENT </DialogTitle>
|
||||
<DialogContent className="DialogContent_width" style={{width:'auto'}}>
|
||||
<DialogContentText>
|
||||
|
||||
</DialogContentText>
|
||||
|
||||
<Module_Ent_Message_Public />
|
||||
|
||||
</DialogContent>
|
||||
|
||||
|
||||
<DialogActions>
|
||||
<div className="div_row">
|
||||
<div className="div_row_gauche">
|
||||
|
||||
<Button onClick={"Add_Member_To_Jury"} className="bton_enreg_dialog" style={{ border: 'none' }}>Ajouter</Button>
|
||||
</div>
|
||||
|
||||
<div className="div_row_droite" style={{ "textAlign": 'center' }}>
|
||||
<Button onClick={Dialog_Message_Ent_handleClose_buton} className="bton_annule_dialog" style={{
|
||||
textAlign: 'center',
|
||||
border: 'none'
|
||||
}} >Fermer</Button>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<IconButton
|
||||
autoFocus
|
||||
onClick={Dialog_Message_Ent_handleClose_buton}
|
||||
color="primary"
|
||||
className={classes.customizedButton}
|
||||
>
|
||||
<CancelPresentationIcon />
|
||||
</IconButton>
|
||||
|
||||
</DialogActions>
|
||||
|
||||
</Dialog>
|
||||
|
||||
{/*** Fin Dialog Gestion Message ENT */}
|
||||
|
||||
|
||||
|
||||
|
||||
<div className="div_row" style={{ paddingTop: '10px' }}>
|
||||
|
|
@ -3616,15 +3720,12 @@ function UpdateParnterInfo(props) {
|
|||
>
|
||||
<OpenInNewIcon />
|
||||
|
||||
</Button>
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
|
||||
onClick={(event) => {
|
||||
window.open(
|
||||
String(partner_ent_student_url),
|
||||
'_blank'
|
||||
);
|
||||
setDialog_Message_Ent_open(true);
|
||||
}}
|
||||
|
||||
style={{ marginTop: '10px' }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue