26/01/26 - 20h30

branche_01062025
Cherif 2026-01-26 20:35:44 +01:00
parent efcd333581
commit 9fe162a0c0
103 changed files with 40650 additions and 1094 deletions

View File

@ -83,9 +83,9 @@ import img_loading_spin from "./mysy_img/mysy_spin_loading.gif";
function App() {
const New_Marktplace_2026 = lazy(() => import("./pages/marketplace_2026"));
const New_Detailled_Class_2026 = lazy(() => import("./pages/detailled_class_2026"));
const New_Landing_Page_2026 = lazy(() => import("./pages/landing_page_2026"));
const New_Marktplace_2026 = lazy(() => import("./pages/marketplace_2026"));
const New_Detailled_Class_2026 = lazy(() => import("./pages/detailled_class_2026"));
const New_Landing_Page_2026 = lazy(() => import("./pages/landing_page_2026"));
const New_Marktplace_2025 = lazy(() => import("./pages/new_p_marketplace_2025"));
const New_Test_Header_Footer_2025 = lazy(() => import("./pages/new_p_test_header_footer_2025"));
@ -132,6 +132,7 @@ function App() {
const Test_Drag_Drop2 = lazy(() => import("./pages/test_dnd"));
const Test_Drag_Drop = lazy(() => import("./pages/test_drag_drop"));
const TestUrl_New = lazy(() => import("./pages/testurl_new"));
const TestUrl_New_26 = lazy(() => import("./pages/testurl_new_26"));
const Training_Inactive_Or_Not_Found = lazy(() => import("./pages/Traning_Inactif_Or_Not_Exist"));
const OrderConfirmation_3DS = lazy(() => import("./pages/orderconfirmation_3DS"));
const SeDesabonner = lazy(() => import("./pages/sedesabonner"));
@ -145,7 +146,7 @@ function App() {
const AddArticle = lazy(() => import("./pages/addarticle"));
const RechecheArticles = lazy(() => import("./pages/recherchearticles"));
const PartnerLogin1 = lazy(() => import("./pages/partnerlogin1"));
const PartnerLogin0 = lazy(() => import("./pages/partnerlogin0"));
const PartnerLogin0 = lazy(() => import("./pages/partnerlogin0"));
const PartnerLogin = lazy(() => import("./pages/partnerlogin"));
const CreateAccount = lazy(() => import("./pages/createaccount"));
const Partner = lazy(() => import("./pages/partner"));
@ -264,6 +265,8 @@ function App() {
<Route path="/testurl/:course/:tab" exact component={TestUrl} />
<Route path="/testurl_new/:courseid/:tabid" exact component={TestUrl_New} />
<Route path="/testurl_new_26/:courseid/:tabid" exact component={TestUrl_New_26} />
<Route path="/ajout-article" exact component={AddArticleAvis} />
@ -346,9 +349,9 @@ function App() {
<Route path="/jmjcatalogue" exact component={Jmjformation_catalogue} />
{/* Debut Migration */}
<Route path="/marketplace_26" exact component={New_Marktplace_2026} />
<Route path="/detailled_class_26" exact component={New_Detailled_Class_2026} />
<Route path="/landing_page_26" exact component={New_Landing_Page_2026} />
<Route path="/marketplace_26" exact component={New_Marktplace_2026} />
<Route path="/detailled_class_26" exact component={New_Detailled_Class_2026} />
<Route path="/landing_page_26" exact component={New_Landing_Page_2026} />
<Route path="/Partner/:action/:orderid/:packs" exact component={Partner} />
<Route path="/Partner/:action/:orderid" exact component={Partner} />
@ -377,7 +380,7 @@ function App() {
<Route path="/DeleteUserAccount/:token" exact component={DeleteUserAccount} />
<Route path="/mysy-student-ent/:local_props_apprenant_id/:local_props_menu" exact component={Student_Account_Ent} />
<Route path="/mysy-user-account/:local_props_client_id/:local_props_menu" exact component={Intranet_Client_Account} />
<Route path="/mysy-user-account/:local_props_client_id/:local_props_menu" exact component={Intranet_Client_Account} />
{/* Fin Migration */}

View File

@ -7328,22 +7328,22 @@ const AddClassManual = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -7496,22 +7496,22 @@ const AddClassManual = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -8646,22 +8646,22 @@ const AddClassManual = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -8694,22 +8694,22 @@ const AddClassManual = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},

View File

@ -2879,9 +2879,6 @@ const AddParnerClient = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -2920,8 +2917,6 @@ const AddParnerClient = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");

View File

@ -7471,22 +7471,22 @@ const Apprenant = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
}}
@ -8461,10 +8461,7 @@ const Apprenant = (props) => {
{isimgclassdeleted && String(isimgclassdeleted) === "0" && <nav className="okUpdateData"> {isimgclassdeleted_message}</nav>}
{isimgclassSelected && String(isimgclassSaved) === "0" && <nav className="koUpdateData"> {isimgclassSaved_message}</nav>}
</div>
</div>
</div>
<div className="div_row_droite" style={{ width: '70%', paddingRight: '10px' }}>
@ -9590,16 +9587,16 @@ const Apprenant = (props) => {
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
}}
@ -9909,16 +9906,16 @@ const Apprenant = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
}}
@ -10851,22 +10848,22 @@ const Apprenant = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
}}

View File

@ -4861,9 +4861,6 @@ const Autre_RH = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
/// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -8587,12 +8584,12 @@ const Autre_RH = (props) => {
// Gestion des cellule a distance ou presentiel
'& .cell--distantiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
'& .cell--presentiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
@ -8604,11 +8601,11 @@ const Autre_RH = (props) => {
'& .line--statut--inscrit': {
backgroundColor: '#CEF6D8',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--preinscrit': {
backgroundColor: '#F7F2E0',
color: 'black',
color: "#0a2a4d",
},
@ -8619,21 +8616,21 @@ const Autre_RH = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -9785,7 +9782,7 @@ const Autre_RH = (props) => {
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -10346,7 +10343,7 @@ const Autre_RH = (props) => {
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
}}
@ -10417,7 +10414,7 @@ const Autre_RH = (props) => {
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
}}
@ -10634,7 +10631,7 @@ const Autre_RH = (props) => {
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
}}
@ -10901,14 +10898,14 @@ const Autre_RH = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
@ -10918,13 +10915,13 @@ const Autre_RH = (props) => {
'& .line--positionnement_envoye': {
backgroundColor: '#F9E79F',
color: 'black',
color: "#0a2a4d",
},
'& .line--positionnement_repondu': {
backgroundColor: '#ABEBC6',
color: 'black',
color: "#0a2a4d",
fontWeight: '600',
},
@ -11120,16 +11117,16 @@ const Autre_RH = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
}}

View File

@ -1496,21 +1496,21 @@ const Config_Champs_Personnalise = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
[`& .${gridClasses.cell}`]: {
py: 1,

View File

@ -2120,10 +2120,8 @@ const Config_Documents = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
console.log("Le fichier ne doit pas depasser un 1 Méga octets");
return;
}
@ -2648,32 +2646,32 @@ const Config_Documents = (props) => {
// Gestion des cellule a distance ou presentiel
'& .cell--distantiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
'& .cell--presentiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
}}

View File

@ -2054,11 +2054,9 @@ const Config_Documents_Super_Admin = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
console.log("Le fichier ne doit pas depasser un 1 Méga octets");
return;
}
@ -2519,32 +2517,32 @@ const Config_Documents_Super_Admin = (props) => {
// Gestion des cellule a distance ou presentiel
'& .cell--distantiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
'& .cell--presentiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
}}

View File

@ -3364,9 +3364,6 @@ const Conseil_Classe = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
// console.log("Le fichier ne doit pas depasser un 1 Méga octets");
@ -6626,12 +6623,12 @@ const Conseil_Classe = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -8489,21 +8486,21 @@ const Conseil_Classe = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -10516,12 +10513,12 @@ const Conseil_Classe = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -10796,12 +10793,12 @@ const Conseil_Classe = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -11328,7 +11325,7 @@ const Conseil_Classe = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -124,19 +124,19 @@ const CRM_Opportunite = (props) => {
const columns = [
{ field: '_id', headerName: '_id', hide: true },
{ field: 'id', headerName: 'id', hide: true },
{ field: 'partner_client_id', headerName: 'partner_client_id', flex: 1, },
{ field: '_id', headerName: '_id', hide: true, Width: 0, disableExport: true, },
{ field: 'id', headerName: 'id', hide: true, Width: 0, disableExport: true, },
{ field: 'partner_client_id', headerName: 'partner_client_id', hide: true, Width: 0, disableExport: true, },
{ field: 'priorite', headerName: 'Priorite', width: 100, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'titre', headerName: 'titre', flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'description', headerName: 'description', width: 0, hide: true, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'statut', headerName: 'statut', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'revenu_cible', headerName: 'Revenu cible', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'probabilite_gain', headerName: 'Probabilité gain', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'contact_nom', headerName: 'contact_nom', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'contact_email', headerName: 'contact_email', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'revenu_cible', headerName: 'revenu_cible', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'probabilite_gain', headerName: 'probabilite_gain', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'priorite', headerName: 'priorite', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'contact_nom', headerName: 'Nom', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'contact_email', headerName: 'Email', width: 150, flex: 1, hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{
field: "delete", headerName: 'Supprimer',
renderCell: (cellValues) => {
@ -229,7 +229,7 @@ const CRM_Opportunite = (props) => {
return (
<nav>
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop: '5px' }}>
{expanded ? value : value.slice(0, 50)}&nbsp;
{value.length > 50 && (
@ -245,7 +245,7 @@ const CRM_Opportunite = (props) => {
)}
</div>}
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop: '5px' }}>
&nbsp;
</div>
}
@ -1725,7 +1725,7 @@ const CRM_Opportunite = (props) => {
}}><AddCircleIcon style={{ fontSize: "15px", }} /> Devis </Button>
</div>}
<div className="session_caract_Dialog" style={{ marginBottom:'5px'}}> Titre<br />
<div className="session_caract_Dialog" style={{ marginBottom: '5px' }}> Titre<br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
@ -1743,7 +1743,7 @@ const CRM_Opportunite = (props) => {
</div>
<div className="session_caract_Dialog" style={{ marginBottom:'5px'}}> Description<br />
<div className="session_caract_Dialog" style={{ marginBottom: '5px' }}> Description<br />
<TextareaAutosize
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
@ -1764,7 +1764,7 @@ const CRM_Opportunite = (props) => {
/>
</div>
<div className="session_caract_Dialog" style={{ marginBottom:'5px'}}> Client
<div className="session_caract_Dialog" style={{ marginBottom: '5px' }}> Client
{New_Get_List_Partner_Clients_result && New_Get_List_Partner_Clients_result.length > 0 &&
<Autocomplete
@ -1804,9 +1804,9 @@ const CRM_Opportunite = (props) => {
{String(p_detail_partner_client_id).length < 2 &&
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom:'5px'}}>
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom: '5px' }}>
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left" , marginBottom:'5px'}}> Civilité
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom: '5px' }}> Civilité
<Autocomplete
disablePortal
@ -1837,7 +1837,7 @@ const CRM_Opportunite = (props) => {
</div>
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom:'5px'}}> Nom Contact
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom: '5px' }}> Nom Contact
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
@ -1860,9 +1860,9 @@ const CRM_Opportunite = (props) => {
{String(p_detail_partner_client_id).length < 2 &&
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom:'5px'}}>
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom: '5px' }}>
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom:'5px' }}> Email Contact
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom: '5px' }}> Email Contact
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
@ -1881,7 +1881,7 @@ const CRM_Opportunite = (props) => {
</div>
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom:'5px'}}> Téléphone Contact
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom: '5px' }}> Téléphone Contact
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
@ -1902,8 +1902,8 @@ const CRM_Opportunite = (props) => {
</div>}
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom:'5px'}}>
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom:'5px' }}> Statut<br />
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom: '5px' }}>
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom: '5px' }}> Statut<br />
{New_Option_Status && New_Option_Status.length > 0 &&
<Autocomplete
disablePortal
@ -1939,7 +1939,7 @@ const CRM_Opportunite = (props) => {
</div>
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom:'5px' }}> Probabilité de Gain<br />
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom: '5px' }}> Probabilité de Gain<br />
{New_Option_Proba_Gain && <Autocomplete
disablePortal
@ -1969,8 +1969,8 @@ const CRM_Opportunite = (props) => {
</div>
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom:'5px'}}>
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom:'5px' }}> Montant Gain (estimé)
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom: '5px' }}>
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom: '5px' }}> Montant Gain (estimé)
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
@ -1991,7 +1991,7 @@ const CRM_Opportunite = (props) => {
</div>
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom:'5px'}}> Priorité &nbsp;<br />
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom: '5px' }}> Priorité &nbsp;<br />
<nav style={{ paddingTop: '1rem' }}>
<Rating
name="dialog_opport_prio"
@ -2008,8 +2008,8 @@ const CRM_Opportunite = (props) => {
</div>
</div>
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom:'5px'}}>
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom:'5px' }}> Date Fermeture <br />
<div className="session_caract_Dialog" style={{ width: "95%", marginBottom: '5px' }}>
<div className="session_caract_Dialog" style={{ width: "45%", float: "left", textAlign: "left", marginBottom: '5px' }}> Date Fermeture <br />
<DatePicker
name="dialog_opport_date_fermeture"
id="dialog_opport_date_fermeture"
@ -2031,7 +2031,7 @@ const CRM_Opportunite = (props) => {
</div>
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom:'5px'}}> Vendeur <br />
<div className="session_caract_Dialog" style={{ width: "45%", float: "right", marginBottom: '5px' }}> Vendeur <br />
{New_Getall_Training_Employee_No_Filter_result && New_Getall_Training_Employee_No_Filter_result.length > 0 &&
<Autocomplete
disablePortal
@ -2454,11 +2454,11 @@ const CRM_Opportunite = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -547,12 +547,12 @@ registerLocale('fr', fr);
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -717,12 +717,12 @@ const Dashbord_Ressources_Humaines = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -913,12 +913,12 @@ const Dashbord_Ressources_Humaines = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -621,12 +621,12 @@ registerLocale('fr', fr);
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -598,12 +598,12 @@ registerLocale('fr', fr);
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -22,7 +22,7 @@ import img_loading_spin from "./../mysy_img/mysy_spin_loading.gif";
import { tokens } from "./../theme";
import { MdOutlineAddchart,} from "react-icons/md";
import {
useTheme,
useTheme,
} from "@mui/material";
import { ResponsivePie } from '@nivo/pie'
@ -182,7 +182,9 @@ registerLocale('fr', fr);
})
}
const [mouse_x, setmouse_x] = useState("");
const [mouse_y, setmouse_y] = useState("");
const [Getall_Qry_Session_Data_By_Trainer_result_JSON, setGetall_Qry_Session_Data_By_Trainer_result_JSON] = useState([]);
const [Getall_Qry_Session_Data_By_Trainer_api, setGetall_Qry_Session_Data_By_Trainer_api] = useState();

View File

@ -2376,7 +2376,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2548,7 +2548,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2842,7 +2842,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: bg_color
}
}
@ -5958,7 +5958,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};
@ -9708,7 +9708,6 @@ const DisplayPartnerPromotion = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -9745,11 +9744,8 @@ const DisplayPartnerPromotion = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
setalert_message("Le fichier ne doit pas depasser un 1 Méga octets");
setalert_type("error");
@ -13036,7 +13032,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -20920,23 +20916,23 @@ const DisplayPartnerPromotion = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -20944,7 +20940,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20957,16 +20953,16 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21225,23 +21221,23 @@ const DisplayPartnerPromotion = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21249,7 +21245,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21262,16 +21258,16 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21416,23 +21412,23 @@ const DisplayPartnerPromotion = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21440,7 +21436,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21453,16 +21449,16 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21615,23 +21611,23 @@ const DisplayPartnerPromotion = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21639,7 +21635,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21652,16 +21648,16 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21942,23 +21938,23 @@ const DisplayPartnerPromotion = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21966,7 +21962,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21979,16 +21975,16 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -22236,23 +22232,23 @@ const DisplayPartnerPromotion = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -22260,7 +22256,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -22273,16 +22269,16 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -22426,23 +22422,23 @@ const DisplayPartnerPromotion = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -22450,7 +22446,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -22463,16 +22459,16 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -23134,7 +23130,7 @@ const DisplayPartnerPromotion = (props) => {
inputProps={{
sx: {
color: 'black',
color: '#0a2a4d',
paddingLeft: '15px',
//fontSize: '20px',
},
@ -23163,7 +23159,7 @@ const DisplayPartnerPromotion = (props) => {
inputProps={{
sx: {
color: 'black',
color: '#0a2a4d',
paddingLeft: '15px',
//fontSize: '20px',
},
@ -24601,8 +24597,8 @@ const DisplayPartnerPromotion = (props) => {
paddingRight: '2px',
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -25399,7 +25395,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -26262,7 +26258,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -27820,19 +27816,19 @@ const DisplayPartnerPromotion = (props) => {
paddingRight: '2px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--emarg_envoye': {
backgroundColor: '#ffffcc',
color: 'black',
color: '#0a2a4d',
},
'& .line--emarg_fait': {
backgroundColor: '#ccffcc',
color: 'black',
color: '#0a2a4d',
fontWeight: '600',
},
@ -28068,22 +28064,22 @@ const DisplayPartnerPromotion = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -28445,22 +28441,22 @@ const DisplayPartnerPromotion = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},

View File

@ -2378,7 +2378,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2551,7 +2551,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2849,7 +2849,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: bg_color
}
}
@ -5976,7 +5976,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};
@ -9781,11 +9781,7 @@ const DisplayPartnerSession = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
if (file_size > 10000000) {
setdisplay_alert_mysy("1");
setalert_message("Le fichier ne doit pas depasser un 1 Méga octets");
setalert_type("error");
@ -13278,7 +13274,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -14716,7 +14712,6 @@ const DisplayPartnerSession = (props) => {
var form = new FormData();
//form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA");
const stored_cookie = getCookie('tokenmysypart');
form.append("token", stored_cookie);
form.append("_id", local_session_id);
@ -20720,23 +20715,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -20744,7 +20739,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20754,19 +20749,17 @@ const DisplayPartnerSession = (props) => {
fontWeight: '700'
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21027,23 +21020,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21051,7 +21044,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21064,16 +21057,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21218,23 +21211,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21242,7 +21235,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21255,16 +21248,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21417,23 +21410,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21441,7 +21434,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21454,16 +21447,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21744,23 +21737,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21768,7 +21761,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21781,16 +21774,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -22038,23 +22031,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -22062,7 +22055,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -22075,16 +22068,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -22228,23 +22221,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: '#0a2a4d',
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -22252,7 +22245,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -22265,16 +22258,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -22936,7 +22929,7 @@ const DisplayPartnerSession = (props) => {
inputProps={{
sx: {
color: 'black',
color: '#0a2a4d',
paddingLeft: '15px',
//fontSize: '20px',
},
@ -22965,7 +22958,7 @@ const DisplayPartnerSession = (props) => {
inputProps={{
sx: {
color: 'black',
color: '#0a2a4d',
paddingLeft: '15px',
//fontSize: '20px',
},
@ -23935,7 +23928,7 @@ const DisplayPartnerSession = (props) => {
<div className="session_caract"> Formateur <br />
<Autocomplete
{New_Getall_Training_Employee_No_Filter_result && New_Getall_Training_Employee_No_Filter_result.length > 0 && <Autocomplete
disablePortal
name="formateur_id"
id="formateur_id"
@ -23958,7 +23951,7 @@ const DisplayPartnerSession = (props) => {
/>
}
/>
/>}
</div>
</div>
@ -24401,8 +24394,8 @@ const DisplayPartnerSession = (props) => {
paddingRight: '2px',
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -25205,7 +25198,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -26075,7 +26068,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -27656,19 +27649,19 @@ const DisplayPartnerSession = (props) => {
paddingRight: '2px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--emarg_envoye': {
backgroundColor: '#ffffcc',
color: 'black',
color: '#0a2a4d',
},
'& .line--emarg_fait': {
backgroundColor: '#ccffcc',
color: 'black',
color: '#0a2a4d',
fontWeight: '600',
},
@ -27907,22 +27900,22 @@ const DisplayPartnerSession = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -28141,14 +28134,14 @@ const DisplayPartnerSession = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
@ -28158,13 +28151,13 @@ const DisplayPartnerSession = (props) => {
'& .line--positionnement_envoye': {
backgroundColor: '#F9E79F',
color: 'black',
color: '#0a2a4d',
},
'& .line--positionnement_repondu': {
backgroundColor: '#ABEBC6',
color: 'black',
color: '#0a2a4d',
fontWeight: '600',
},

View File

@ -1377,7 +1377,7 @@ const DisplayPartnerStagiaires = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -10284,22 +10284,22 @@ const DisplayPartnerStagiaires = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
}}
@ -10518,22 +10518,22 @@ const DisplayPartnerStagiaires = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
}}
@ -12904,7 +12904,7 @@ const DisplayPartnerStagiaires = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -12918,7 +12918,7 @@ const DisplayPartnerStagiaires = (props) => {
color: 'black',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
@ -13662,7 +13662,7 @@ const DisplayPartnerStagiaires = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -14063,7 +14063,7 @@ const DisplayPartnerStagiaires = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -14077,7 +14077,7 @@ const DisplayPartnerStagiaires = (props) => {
color: 'black',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
@ -14206,7 +14206,7 @@ const DisplayPartnerStagiaires = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -14220,7 +14220,7 @@ const DisplayPartnerStagiaires = (props) => {
color: 'black',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},

View File

@ -349,7 +349,19 @@ const DistplayPartnerTraningsPage = (props) => {
})
}
const isValidJSON = (text) => {
let isValid = false;
try {
JSON.parse(text);
isValid = true;
} catch (e) {
isValid = false;
console.error('[isValidJSON], invalid JSON text', text);
}
return isValid;
}
const [selectionModel, setSelectionModel] = React.useState([]);
const [rowss, setRows] = useState([]);
@ -374,8 +386,13 @@ const DistplayPartnerTraningsPage = (props) => {
.then((data) => data.json())
.then((data) => {
console.log('GetAllClass_WOfilter : Success:', data['message'], "data['status'] = ", data['status']);
setTableData(data['message']);
setRows(data['message']);
if (data['message'].length) {
setTableData(data['message']);
setRows(data['message']);
} else {
setTableData([]);
setRows([]);
}
//alert(" GetAllClass_WOfilter OKK "+refreshgrid);
setrefreshgrid("1");
@ -434,24 +451,35 @@ const DistplayPartnerTraningsPage = (props) => {
})
.then((data) => data.json())
.then((data) => {
// console.log('GetAllClass_new ==> Success:', data['message'], "data['status'] = ", data['status']);
//console.log('GetAllClass_new ==> Success:', data['message'], "data['status'] = ", data['status']);
// console.log(" String(data['status'] = ", String(data['status']));
setTableData(data['message']);
setRows(data['message']);
setloading_datagrid(false);
if (String(data['status']) === String("false")) {
//console.log("erreur rrrr:" + data['status'])
setmyApiResponse("False");
setTableData([]);
setRows([]);
}
else {
setmyApiResponse("True");
setmyApiResponse("True");
if (data['message'].length > 0) {
setTableData(data['message']);
setRows(data['message']);
} else {
setTableData([]);
setRows([]);
}
}
}).catch((error) => {
console.error('Error:', error);
setmyApiResponse("false");
setloading_datagrid(false);
setTableData([]);
setRows([]);
});
}
@ -474,15 +502,23 @@ const DistplayPartnerTraningsPage = (props) => {
.then((data) => data.json())
.then((data) => {
//console.log('Success:', data['message'], "data['status'] = ", data['status']);
setTableData(data['message']);
setRows(data['message']);
if (String(data['status']) === String("false")) {
//console.log("erreur rrrr:" + data['status'])
setmyApiResponse("False");
setTableData([]);
setRows([]);
}
else {
setmyApiResponse("True");
if (data['message'].length > 0 ) {
setTableData(data['message']);
setRows(data['message']);
} else {
setTableData([]);
setRows([]);
}
}
@ -509,7 +545,7 @@ const DistplayPartnerTraningsPage = (props) => {
return (
<nav>
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop: '5px' }}>
{expanded ? value : value.slice(0, 50)}&nbsp;
{value.length > 50 && (
@ -525,7 +561,7 @@ const DistplayPartnerTraningsPage = (props) => {
)}
</div>}
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop: '5px' }}>
&nbsp;
</div>
}
@ -2398,7 +2434,7 @@ const DistplayPartnerTraningsPage = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -2619,7 +2655,7 @@ const DistplayPartnerTraningsPage = (props) => {
function getExcelData(apiRef) {
// Select rows and columns
const filteredSortedRowIds = gridFilteredSortedRowIdsSelector(apiRef);
const visibleColumnsField = gridVisibleColumnFieldsSelector(apiRef).filter((data) => (data) !== "__check__" );
const visibleColumnsField = gridVisibleColumnFieldsSelector(apiRef).filter((data) => (data) !== "__check__");
// Format the data. Here we only keep the value
const data = filteredSortedRowIds.map((id) => {
@ -2644,7 +2680,7 @@ const DistplayPartnerTraningsPage = (props) => {
function handleExport(apiRef, data_colums) {
const data = getExcelData(apiRef);
const visibleColumnsField = gridVisibleColumnFieldsSelector(apiRef).filter((data) => (data) !== "__check__" );
const visibleColumnsField = gridVisibleColumnFieldsSelector(apiRef).filter((data) => (data) !== "__check__");
const local_config = {
@ -2825,7 +2861,7 @@ const DistplayPartnerTraningsPage = (props) => {
<DialogContent className="DialogContent_width">
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Code
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2834,7 +2870,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Titre
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2843,7 +2879,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Domaine
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2852,7 +2888,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Coût
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2862,7 +2898,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Durée
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2875,7 +2911,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Présentiel
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2888,7 +2924,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Distanciel
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2902,7 +2938,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Publié Web
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2914,7 +2950,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
</div>
<div className="div_row_dialog">
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
Cible
</div>
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
@ -2970,7 +3006,7 @@ const DistplayPartnerTraningsPage = (props) => {
<hr />
<div onClick={closeTrainingForm} className="parter_div_filtrer_center" style={{marginBottom:'3rem'}}>
<div onClick={closeTrainingForm} className="parter_div_filtrer_center" style={{ marginBottom: '3rem' }}>
<AiFillCloseCircle alt="Fermer detail formation" />FERMER
</div>
@ -2989,7 +3025,7 @@ const DistplayPartnerTraningsPage = (props) => {
<hr />
<div onClick={Closecreatetraining} className="parter_div_filtrer_center" style={{marginBottom:'3rem'}}>
<div onClick={Closecreatetraining} className="parter_div_filtrer_center" style={{ marginBottom: '3rem' }}>
<AiFillCloseCircle alt="Fermer detail formation" />FERMER
</div>
@ -3114,7 +3150,7 @@ const DistplayPartnerTraningsPage = (props) => {
disablePortal
name="filtre2"
id="filtre2"
// sx={{ float: "right" }}
// sx={{ float: "right" }}
className="disabled_style"
value={New_Option_Filter.filter((data) => (data).value === String(p_filtre2))[0].label}
options={New_Option_Filter}
@ -3222,7 +3258,7 @@ const DistplayPartnerTraningsPage = (props) => {
disablePortal
name="filtre3"
id="filtre3"
// sx={{ float: "right" }}
// sx={{ float: "right" }}
className="disabled_style"
value={New_Option_Filter.filter((data) => (data).value === String(p_filtre3))[0].label}
options={New_Option_Filter}
@ -3401,8 +3437,8 @@ const DistplayPartnerTraningsPage = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -3418,8 +3454,8 @@ const DistplayPartnerTraningsPage = (props) => {
New_Get_List_Categorie_result.length > 0 &&
<DataGrid
loading={loading_datagrid}
loading={loading_datagrid}
checkboxSelection
components={{
Toolbar: CustomToolbar
@ -3571,8 +3607,8 @@ const DistplayPartnerTraningsPage = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -3863,8 +3899,8 @@ const DistplayPartnerTraningsPage = (props) => {
<Button variant="outlined" onClick={changeHandler2} className="detail_class_submenu bton_add_session_long"
id='menu_import_formation' name='menu_import_formation'
style={{ maxWidth: "20rem" }}
>Choisir un fichier et importer &nbsp;<GrDocumentCsv style={{ "fontSize": "medium" }} /> <SendIcon />
style={{ maxWidth: "20rem" }}
>Choisir un fichier et importer &nbsp;<GrDocumentCsv style={{ "fontSize": "medium" }} /> <SendIcon />
</Button>
<input type="file"

View File

@ -2581,22 +2581,22 @@ const DisplayPartnerUnite_Enseignement = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -3841,13 +3841,13 @@ const DisplayPartnerUnite_Enseignement = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -7,7 +7,7 @@ import SendIcon from '@mui/icons-material/Send';
import { useParams } from 'react-router-dom'
import axios from "axios";
import Popup from 'reactjs-popup';
import 'reactjs-popup/dist/index.css';
import 'reactjs-popup/dist/index.css';
import { Helmet } from "react-helmet";
import 'react-slideshow-image/dist/styles.css'
@ -2874,7 +2874,6 @@ const Display_Partner_Catalog_DetailClass_new_v2 = (props) => {
<hr style={{ "width": "100%", border: "1px solid #E2E9FB", margin: '0px' }} />
{String(isqualiopi) === "1" && <div className="sticky_div_hilight">
<div className="sticky_img_hilight1">
<img src="https://img.mysy-training.com/certificat_img/IMG_Qualiopi.jpg" alt="Qualiopi" className="img_hili" />
</div>

View File

@ -822,7 +822,7 @@ function Emarge_QR_Code() {
paddingRight: '2px',
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
}, [`& .${gridClasses.cell}`]: {
py: 1,

View File

@ -4935,9 +4935,6 @@ const Employes = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
/// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -9279,12 +9276,12 @@ const Employes = (props) => {
// Gestion des cellule a distance ou presentiel
'& .cell--distantiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
'& .cell--presentiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
@ -9296,11 +9293,11 @@ const Employes = (props) => {
'& .line--statut--inscrit': {
backgroundColor: '#CEF6D8',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--preinscrit': {
backgroundColor: '#F7F2E0',
color: 'black',
color: "#0a2a4d",
},
@ -9311,21 +9308,21 @@ const Employes = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -9596,7 +9593,7 @@ const Employes = (props) => {
</div>
</div>
</div>
</div>
<div className="session_data" >
@ -11192,7 +11189,7 @@ const Employes = (props) => {
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -11753,7 +11750,7 @@ const Employes = (props) => {
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
}}
@ -11824,7 +11821,7 @@ const Employes = (props) => {
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
}}
@ -12041,7 +12038,7 @@ const Employes = (props) => {
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
}}
@ -12400,14 +12397,14 @@ const Employes = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
@ -12417,13 +12414,13 @@ const Employes = (props) => {
'& .line--positionnement_envoye': {
backgroundColor: '#F9E79F',
color: 'black',
color: "#0a2a4d",
},
'& .line--positionnement_repondu': {
backgroundColor: '#ABEBC6',
color: 'black',
color: "#0a2a4d",
fontWeight: '600',
},
@ -12619,16 +12616,16 @@ const Employes = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
}}

View File

@ -1509,9 +1509,6 @@ const Equipe_Team = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
// console.log("Le fichier ne doit pas depasser un 1 Méga octets");
@ -1545,9 +1542,6 @@ const Equipe_Team = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
console.log("Le fichier ne doit pas depasser un 1 Méga octets");
@ -2299,21 +2293,21 @@ const Equipe_Team = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -2957,12 +2951,12 @@ const Equipe_Team = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -5666,8 +5666,6 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
console.log("Le fichier ne doit pas depasser un 1 Méga octets");

View File

@ -1250,8 +1250,6 @@ const Groupe_Apprenant = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
console.log("Le fichier ne doit pas depasser un 1 Méga octets");
@ -1286,8 +1284,6 @@ const Groupe_Apprenant = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
console.log("Le fichier ne doit pas depasser un 1 Méga octets");
@ -3605,21 +3601,21 @@ const Groupe_Apprenant = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -4223,7 +4219,7 @@ const Groupe_Apprenant = (props) => {
{String(props.check_user_acces_right("stagiaire", "write")) === "1" && String(add_one_grp_apprenant) === "1" && String(display_grp_apprenant) !== "1" && <div className="div_row session_data">
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600", "paddingTop": "10px", "paddingLeft": "5px" }}> Ajouter un nouveau groupe </nav>
<nav style={{ "border": "None", "fontSize": "18px", "fontWeight": "600", "paddingTop": "10px", "paddingLeft": "5px", fontFamily:'DM Sans' }}> Ajouter un nouveau groupe </nav>
<div>
@ -4649,12 +4645,12 @@ const Groupe_Apprenant = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -4751,7 +4751,7 @@ const Intranet_Commande_Devis = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -6814,21 +6814,21 @@ const Intranet_Commande_Devis = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
}}
@ -8239,12 +8239,12 @@ const Intranet_Commande_Devis = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -3702,20 +3702,20 @@ const Intranet_Factures_Client = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
@ -4535,11 +4535,11 @@ const Intranet_Factures_Client = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -4696,7 +4696,7 @@ const Intranet_Factures_Client = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -977,7 +977,7 @@ registerLocale('fr', fr);
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -7937,22 +7937,22 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
}}
@ -8168,22 +8168,22 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
}}
@ -10819,7 +10819,7 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -10833,7 +10833,7 @@ registerLocale('fr', fr);
color: 'black',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},

View File

@ -2637,10 +2637,6 @@ const Jury = (props) => {
let file_size = event.target.files[0].size;
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
// console.log("Le fichier ne doit pas depasser un 1 Méga octets");
@ -2674,9 +2670,6 @@ const Jury = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
console.log("Le fichier ne doit pas depasser un 1 Méga octets");
@ -5497,21 +5490,21 @@ const Jury = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -6054,7 +6047,7 @@ const Jury = (props) => {
</DialogActions>}
</Dialog>
</Dialog>
{/*** FIn Dialog detail eventement */}
@ -6350,34 +6343,31 @@ const Jury = (props) => {
// Gestion des cellule a distance ou presentiel
'& .cell--distantiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: '#0a2a4d',
},
'& .cell--presentiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: '#0a2a4d',
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -6709,7 +6699,7 @@ const Jury = (props) => {
{selected_jury_cible && New_Option_Cible_Jury &&
New_Get_List_UE_From_Session_Id_result && New_Get_List_UE_From_Session_Id_result.length > 0 &&
<div className="session_caract"> <b> / UE</b> <br />
<div className="session_caract"> <b> UE</b> <br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
@ -7854,21 +7844,21 @@ const Jury = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--noted_changed': {
@ -8343,7 +8333,7 @@ const Jury = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

File diff suppressed because it is too large Load Diff

View File

@ -3588,20 +3588,20 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
}}
@ -4493,21 +4493,21 @@ registerLocale('fr', fr);
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
@ -5151,21 +5151,21 @@ registerLocale('fr', fr);
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},

View File

@ -3427,20 +3427,20 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
}}
@ -4331,21 +4331,21 @@ registerLocale('fr', fr);
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
@ -4990,21 +4990,21 @@ registerLocale('fr', fr);
paddingRight: '1px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},

View File

@ -1245,7 +1245,7 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1024,12 +1024,12 @@ const Module_Attestation_Formation = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -411,11 +411,9 @@ const Module_Editique = (props) => {
setGet_Given_Session_List_Relance_Automation_api("true");
if (isValidJSON(res.data.message)) {
console.log(" ### YES JSON");
if (isValidJSON(res.data.message)) {
setGet_Given_Session_List_Relance_Automation_result(JSON.parse(res.data.message));
} else {
console.log(" ### KOOO JSON");
} else {
setGet_Given_Session_List_Relance_Automation_result([]);
}

View File

@ -1950,22 +1950,22 @@ const Module_Ent_Internal_Email_Management = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--not_read': {
backgroundColor: '#FFFFFF',

View File

@ -1913,21 +1913,21 @@ const Module_Ent_Mes_Formations = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -2225,7 +2225,7 @@ const Module_Ent_Mes_Formations = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -2239,7 +2239,7 @@ const Module_Ent_Mes_Formations = (props) => {
color: 'black',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},

View File

@ -578,22 +578,22 @@ const Module_Ent_Mes_Notes = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
}}

View File

@ -1229,7 +1229,7 @@ const Module_Ent_Message_Public = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -1243,7 +1243,7 @@ const Module_Ent_Message_Public = (props) => {
color: 'black',
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},

View File

@ -1213,17 +1213,17 @@ const Module_Evaluation_Positionnement = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},

View File

@ -1949,22 +1949,22 @@ const Module_Internal_Email_Management = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--not_read': {
backgroundColor: '#FFFFFF',

View File

@ -1950,22 +1950,22 @@ const Module_Intranet_Client_Internal_Email_Management = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--not_read': {
backgroundColor: '#FFFFFF',

File diff suppressed because it is too large Load Diff

View File

@ -821,12 +821,12 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -1209,21 +1209,21 @@ const Module_RH_Tutorat = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -1269,7 +1269,7 @@ const Module_RH_Tutorat = (props) => {
comment: JSON.parse(item).comment,
}
))}
))}
columns={columns}
pageSize={10}

View File

@ -816,12 +816,12 @@ const Module_Selection_Apprenants = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -1350,12 +1350,12 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -3233,7 +3233,7 @@ const Module_Session_Evaluation = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -3534,7 +3534,7 @@ const Module_Session_Evaluation = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -3843,7 +3843,7 @@ const Module_Session_Evaluation = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -4233,7 +4233,7 @@ const Module_Session_Evaluation = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -4588,7 +4588,7 @@ const Module_Session_Evaluation = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -4942,7 +4942,7 @@ const Module_Session_Evaluation = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -102,7 +102,7 @@ const Module_Session_Notes_Classement = (props) => {
return (
<nav>
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop: '5px' }}>
{expanded ? value : String(value).slice(0, 50)}&nbsp;
{value.length > 50 && (
@ -1300,7 +1300,7 @@ const Module_Session_Notes_Classement = (props) => {
var node = {
"_id": local_id,
"id": localid,
"label": local_code+" - "+String(local_titre).substring(0, 20),
"label": local_code + " - " + String(local_titre).substring(0, 20),
"code": local_code,
"titre": local_titre,
"credit": local_credit,
@ -1395,12 +1395,12 @@ const Module_Session_Notes_Classement = (props) => {
var local_seuil_validation = JSON.parse(x).seuil_validation;
//---
var node = {
"_id": local_id,
"id": localid,
"label": local_code+" - "+String(local_titre).substring(0, 20),
"label": local_code + " - " + String(local_titre).substring(0, 20),
"code": local_code,
"titre": local_titre,
"credit": local_credit,
@ -1811,7 +1811,7 @@ const Module_Session_Notes_Classement = (props) => {
form.append("jury_note", p_detail_jury_note);
form.append("jury_validation", p_detail_jury_validation);
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_Update_Inscrit_Juy_Promo_Decision/";
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_Update_Inscrit_Jury_Promo_Decision/";
setLoading(true);
@ -2572,18 +2572,23 @@ const Module_Session_Notes_Classement = (props) => {
</div>
{/*<div className="session_caract_Dialog" > <b> Note </b> <br />
<div className="session_caract_Dialog" > <b> Note </b> <br />
<TextareaAutosize
<TextField
name="detail_jury_note"
id="detail_jury_note"
aria-label="minimum height"
rows={1}
style={{
border: "1px solid gainsboro", width: '99%', padding: '2px',
maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem'
type="number"
InputLabelProps={{
shrink: true,
}}
fullWidth
// className="disabled_style"
inputProps={{ min: "1", max: "1000", }}
value={p_detail_jury_note}
onChange={(e) => {
setp_detail_jury_note(e.target.value);
@ -2591,7 +2596,7 @@ const Module_Session_Notes_Classement = (props) => {
/>
</div>*/}
</div>
{/*<div className="session_caract_Dialog" > <b> Validation </b> <br />
{New_Option_Valisation_Jury && New_Option_Valisation_Jury.length > 0 && jury_cell_editable === true && <Autocomplete
@ -2711,25 +2716,25 @@ const Module_Session_Notes_Classement = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--isvalide': {
backgroundColor: '#ABEBC6',
color: 'black',
color: "#0a2a4d",
fontWeight: '600',
},
@ -3253,12 +3258,12 @@ const Module_Session_Notes_Classement = (props) => {
// Gestion des cellule a distance ou presentiel
'& .cell--distantiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
'& .cell--presentiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
@ -3270,11 +3275,11 @@ const Module_Session_Notes_Classement = (props) => {
'& .line--statut--inscrit': {
backgroundColor: '#CEF6D8',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--preinscrit': {
backgroundColor: '#F7F2E0',
color: 'black',
color: "#0a2a4d",
},
@ -3285,25 +3290,25 @@ const Module_Session_Notes_Classement = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--isvalide': {
backgroundColor: '#ABEBC6',
color: 'black',
color: "#0a2a4d",
fontWeight: '600',
},
@ -3453,12 +3458,12 @@ const Module_Session_Notes_Classement = (props) => {
// Gestion des cellule a distance ou presentiel
'& .cell--distantiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
'& .cell--presentiel': {
backgroundColor: '#AFE1AF',
color: 'black',
color: "#0a2a4d",
},
@ -3470,11 +3475,11 @@ const Module_Session_Notes_Classement = (props) => {
'& .line--statut--inscrit': {
backgroundColor: '#CEF6D8',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--preinscrit': {
backgroundColor: '#F7F2E0',
color: 'black',
color: "#0a2a4d",
},
@ -3485,21 +3490,21 @@ const Module_Session_Notes_Classement = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
[`& .${gridClasses.cell}`]: {
py: 1,

View File

@ -2580,7 +2580,7 @@ const Module_Session_Planification = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};

View File

@ -100,8 +100,7 @@ const useStyles = makeStyles((theme) => ({
backgroundColor: 'lightgray',
color: 'gray',
},
}));
}));
const Modules_Mes_Documents = (props) => {
registerLocale('fr', fr);
@ -461,7 +460,7 @@ const Modules_Mes_Documents = (props) => {
var nom_fichier_cmd = String(file_business_object) + "." + String(file_extention);
console.log(" nom_fichier_cmd = ", nom_fichier_cmd, " --- doc_id = ", doc_id);
// console.log(" nom_fichier_cmd = ", nom_fichier_cmd, " --- doc_id = ", doc_id);
var url = process.env.REACT_APP_API_URL + "myclass/api/Get_Stored_Downloaded_File_From_Id/" + stored_cookie + "/" + doc_id;
@ -1827,20 +1826,20 @@ const Modules_Mes_Documents = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},
@ -1974,20 +1973,20 @@ const Modules_Mes_Documents = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
},

View File

@ -1996,12 +1996,12 @@ const Mon_Tableau_De_Bord = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -2163,12 +2163,12 @@ const Mon_Tableau_De_Bord = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -2641,9 +2641,6 @@ const Notes_Evaluation = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -2681,8 +2678,6 @@ const Notes_Evaluation = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -3132,7 +3127,7 @@ const Notes_Evaluation = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};
@ -4160,6 +4155,8 @@ const Notes_Evaluation = (props) => {
</Dialog>
{/*** Fin ajout ressource */}
<h3 style={{ fontFamily: 'DM Sans' }}> Notes & évaluations </h3>
<div className="div_row">
<div className="titre1"> Utilisez les filtres !</div>
@ -4483,21 +4480,21 @@ const Notes_Evaluation = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
[`& .${gridClasses.cell}`]: {
py: 1,
@ -4629,7 +4626,7 @@ const Notes_Evaluation = (props) => {
</div>}
{String(submenu) === "detail_evaluation" && <div>
{String(display_evaluation) === "1" && String(add_one_evaluation) !== "1" && <div className="div_row session_data" >
@ -5404,7 +5401,9 @@ const Notes_Evaluation = (props) => {
{String(add_one_evaluation) === "1" && String(display_evaluation) !== "1" && <div className="div_row session_data">
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600", "paddingTop": "10px", "paddingLeft": "5px" }}> Planifier une nouvelle évaluation </nav>
<nav style={{ "border": "None", "fontSize": "18px", "fontWeight": "600", "paddingTop": "10px", "paddingLeft": "5px",
fontFamily:'DM Sans'
}}> Planifier une nouvelle évaluation </nav>
<div>
@ -5913,12 +5912,12 @@ const Notes_Evaluation = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -2275,7 +2275,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2447,7 +2447,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2741,7 +2741,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: bg_color
}
}
@ -5844,7 +5844,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};
@ -9528,8 +9528,6 @@ const DisplayPartnerPromotion = (props) => {
let file_size = event.target.files[0].size;
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -9567,8 +9565,6 @@ const DisplayPartnerPromotion = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -12851,7 +12847,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -20067,7 +20063,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20080,7 +20076,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -20372,7 +20368,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20385,7 +20381,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -20563,7 +20559,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20576,7 +20572,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -20762,7 +20758,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20775,7 +20771,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21089,7 +21085,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21102,7 +21098,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21383,7 +21379,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21396,7 +21392,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21573,7 +21569,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21586,7 +21582,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -23723,7 +23719,7 @@ const DisplayPartnerPromotion = (props) => {
paddingRight: '2px',
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
}, [`& .${gridClasses.cell}`]: {
py: 1,
@ -24521,7 +24517,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -25382,7 +25378,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -26936,7 +26932,7 @@ const DisplayPartnerPromotion = (props) => {
paddingRight: '2px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -27183,13 +27179,13 @@ const DisplayPartnerPromotion = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -27417,7 +27413,7 @@ const DisplayPartnerPromotion = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -2379,7 +2379,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2552,7 +2552,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2850,7 +2850,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: bg_color
}
}
@ -5977,7 +5977,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};
@ -9739,8 +9739,6 @@ const DisplayPartnerSession = (props) => {
let file_size = event.target.files[0].size;
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -9778,8 +9776,6 @@ const DisplayPartnerSession = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -13271,7 +13267,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -20736,7 +20732,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20749,7 +20745,7 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21043,7 +21039,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21056,7 +21052,7 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21234,7 +21230,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21247,7 +21243,7 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21433,7 +21429,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21446,7 +21442,7 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21760,7 +21756,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21773,7 +21769,7 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -22054,7 +22050,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -22067,7 +22063,7 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -22244,7 +22240,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -22257,7 +22253,7 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -24393,7 +24389,7 @@ const DisplayPartnerSession = (props) => {
paddingRight: '2px',
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
}, [`& .${gridClasses.cell}`]: {
py: 1,
@ -25197,7 +25193,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -26067,7 +26063,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -27634,7 +27630,7 @@ const DisplayPartnerSession = (props) => {
paddingRight: '2px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -27885,13 +27881,13 @@ const DisplayPartnerSession = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -28119,7 +28115,7 @@ const DisplayPartnerSession = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -2275,7 +2275,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2447,7 +2447,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2741,7 +2741,7 @@ const DisplayPartnerPromotion = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: bg_color
}
}
@ -5844,7 +5844,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};
@ -9525,7 +9525,6 @@ const DisplayPartnerPromotion = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -9563,8 +9562,6 @@ const DisplayPartnerPromotion = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -12847,7 +12844,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -20063,7 +20060,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20076,7 +20073,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -20368,7 +20365,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20381,7 +20378,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -20559,7 +20556,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20572,7 +20569,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -20758,7 +20755,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20771,7 +20768,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21085,7 +21082,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21098,7 +21095,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21379,7 +21376,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21392,7 +21389,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -21569,7 +21566,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21582,7 +21579,7 @@ const DisplayPartnerPromotion = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -23719,7 +23716,7 @@ const DisplayPartnerPromotion = (props) => {
paddingRight: '2px',
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
}, [`& .${gridClasses.cell}`]: {
py: 1,
@ -24517,7 +24514,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -25378,7 +25375,7 @@ const DisplayPartnerPromotion = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -26932,7 +26929,7 @@ const DisplayPartnerPromotion = (props) => {
paddingRight: '2px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -27179,13 +27176,13 @@ const DisplayPartnerPromotion = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -27413,7 +27410,7 @@ const DisplayPartnerPromotion = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -2379,7 +2379,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2552,7 +2552,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: String(bg_color)
}
}
@ -2850,7 +2850,7 @@ const DisplayPartnerSession = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: bg_color
}
}
@ -5978,7 +5978,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};
@ -9741,7 +9741,6 @@ const DisplayPartnerSession = (props) => {
let file_type = event.target.files[0].type;
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
@ -9779,10 +9778,8 @@ const DisplayPartnerSession = (props) => {
console.log("file_size = ", file_size, " file_type = ", file_type);
if (file_size > 10000000) {
alert("Le fichier ne doit pas depasser un 1 Méga octets");
setdisplay_alert_mysy("1");
setalert_message("Le fichier ne doit pas depasser un 1 Méga octets");
setalert_type("error");
@ -13272,7 +13269,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -20713,23 +20710,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -20737,7 +20734,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -20750,16 +20747,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21020,23 +21017,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21044,7 +21041,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21057,16 +21054,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21211,23 +21208,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21235,7 +21232,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21248,16 +21245,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21410,23 +21407,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21434,7 +21431,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21447,16 +21444,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -21737,23 +21734,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -21761,7 +21758,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -21774,16 +21771,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -22031,23 +22028,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -22055,7 +22052,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -22068,16 +22065,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -22221,23 +22218,23 @@ const DisplayPartnerSession = (props) => {
'& .line--etape--projet': {
backgroundColor: 'yellow',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planification': {
backgroundColor: 'red',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--planifie': {
backgroundColor: 'blue',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--termine': {
backgroundColor: 'orange',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--facture': {
backgroundColor: '#D5F5E3',
color: 'black',
color: "#0a2a4d",
},
'& .line--etape--annule': {
backgroundColor: '#566573',
@ -22245,7 +22242,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -22258,16 +22255,16 @@ const DisplayPartnerSession = (props) => {
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -22929,7 +22926,7 @@ const DisplayPartnerSession = (props) => {
inputProps={{
sx: {
color: 'black',
color: "#0a2a4d",
paddingLeft: '15px',
//fontSize: '20px',
},
@ -22958,7 +22955,7 @@ const DisplayPartnerSession = (props) => {
inputProps={{
sx: {
color: 'black',
color: "#0a2a4d",
paddingLeft: '15px',
//fontSize: '20px',
},
@ -24394,8 +24391,8 @@ const DisplayPartnerSession = (props) => {
paddingRight: '2px',
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -25198,7 +25195,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -26068,7 +26065,7 @@ const DisplayPartnerSession = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -27635,19 +27632,19 @@ const DisplayPartnerSession = (props) => {
paddingRight: '2px',
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--emarg_envoye': {
backgroundColor: '#ffffcc',
color: 'black',
color: "#0a2a4d",
},
'& .line--emarg_fait': {
backgroundColor: '#ccffcc',
color: 'black',
color: "#0a2a4d",
fontWeight: '600',
},
@ -27886,22 +27883,22 @@ const DisplayPartnerSession = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: "#0a2a4d",
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: "#0a2a4d",
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -28120,14 +28117,14 @@ const DisplayPartnerSession = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: "#0a2a4d",
},
@ -28137,13 +28134,13 @@ const DisplayPartnerSession = (props) => {
'& .line--positionnement_envoye': {
backgroundColor: '#F9E79F',
color: 'black',
color: "#0a2a4d",
},
'& .line--positionnement_repondu': {
backgroundColor: '#ABEBC6',
color: 'black',
color: "#0a2a4d",
fontWeight: '600',
},

View File

@ -4145,12 +4145,12 @@ const Partner_Configuration_Technique = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -4418,12 +4418,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -4593,12 +4593,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -4806,12 +4806,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -4995,12 +4995,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5186,12 +5186,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5367,12 +5367,12 @@ const Partner_Configuration_Technique = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5868,12 +5868,12 @@ const Partner_Configuration_Technique = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -6525,12 +6525,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -3727,20 +3727,20 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
@ -4631,11 +4631,11 @@ registerLocale('fr', fr);
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -4805,7 +4805,7 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -67,6 +67,7 @@ import Jury from "./Jurys";
import Conseil_Classe from "./Conseil_Classe";
import Module_Internal_Email_Management from "./Module_Internal_Email_Management";
import CompareArrowsIcon from '@mui/icons-material/CompareArrows';
import Mon_Tableau_De_Bord from "./Mon_Tableau_De_Bord";
import Dashbord_Formation from "./Dashbord_Formation";
import Partner_Prix_Achat from "./Partner_Prix_Achat";
@ -99,9 +100,11 @@ import LocalOfferIcon from '@mui/icons-material/LocalOffer';
import DisplayPartnerUnite_Enseignement from "./DisplayPartnerUnite_Enseignement";
import Partner_Domaine_Categorie_Metier from "./Partner_Domaine_Categorie_Metier";
import Partner_Config_Ftion_Initiale from "./Partner_Config_Ftion_Initiale";
import Partner_Admission_Process_Ftion_Initiale from "./Partner_Admission_Process_Ftion_Initiale";
import Notes_Evaluation from "./Notes_Evaluation";
import ScoreboardIcon from '@mui/icons-material/Scoreboard';
import Groupe_Apprenant from "./Groupe_Apprenant";
import Session_Admission_FI from "./Session_Admission_FI";
import Equipe_Team from "./Equipe_Team";
import Groups2Icon from '@mui/icons-material/Groups2';
import Diversity3Icon from '@mui/icons-material/Diversity3';
@ -465,7 +468,7 @@ const Partner = (props) => {
"dashbord_inscriptions", "mes_salles", "mes_opportunites", "config_formulaires", "dashbord_factures", "mes_ue",
"domaine_categorie_metier", "config_formation_initiale", "note_evaluation", "groupe_apprenant",
"part_produit_service", "config_document_super_admin", "tous_mes_document", "equipe_team",
"jurys", "mes_promotions", "autre_rh", "conseil_classe"]
"jurys", "mes_promotions", "autre_rh", "conseil_classe", "admission_process", "admission_session"]
if (action && list_menu.includes(action)) {
@ -513,7 +516,7 @@ const Partner = (props) => {
setLoading(false);
if (String(res.data.status) === String("true")) {
//console.log(" In Get_Nb_Unread_Emails res.data.status = " + res.data.status);
// console.log(" In Get_Nb_Unread_Emails res.data.message r_class = " + res.data.message);
// console.log(" In Get_Nb_Unread_Emails res.data.message r_class = " + res.data.message);
setGet_Nb_Unread_Emails_api("true");
setGet_Nb_Unread_Emails_result(res.data.message);
}
@ -542,7 +545,8 @@ const Partner = (props) => {
const list_menu_header_names = ['my_account', 'my_class', 'my_session', 'my_apprenant', 'my_ressource', 'my_planning',
'my_partners', 'my_invoices', 'my_prix_achat', 'my_e_learning', 'my_configuration', 'my_tbd', 'my_ue', 'domaine_categorie_metier',
'config_formation_initiale', 'note_evaluation', 'groupe_apprenant', 'part_produit_service', 'monactivite', 'mon_tableau_de_bord',
'tous_mes_document', 'equipe_team', 'conseil_class', 'autre_rh', 'jury', 'conseil_classe', 'internal_email']
'tous_mes_document', 'equipe_team', 'conseil_class', 'autre_rh', 'jury', 'conseil_classe', 'internal_email', "admission_process",
"admission_session"]
for (let i = 0; i < list_menu_header_names.length; i++) {
if (document.getElementsByName(String(list_menu_header_names[i])) && document.getElementsByName(String(list_menu_header_names[i]))[0]) {
document.getElementsByName(String(list_menu_header_names[i]))[0].style.fontWeight = "400";
@ -559,7 +563,8 @@ const Partner = (props) => {
const list_menu_header_names = ['my_account', 'my_class', 'my_session', 'my_apprenant', 'my_ressource', 'my_planning',
'my_partners', 'my_invoices', 'my_prix_achat', 'my_e_learning', 'my_configuration', 'my_tbd', 'my_ue', 'domaine_categorie_metier',
'config_formation_initiale', 'note_evaluation', 'groupe_apprenant', 'part_produit_service', 'monactivite', 'mon_tableau_de_bord',
'tous_mes_document', 'equipe_team', 'conseil_class', 'autre_rh', 'jury', 'conseil_classe', 'internal_email']
'tous_mes_document', 'equipe_team', 'conseil_class', 'autre_rh', 'jury', 'conseil_classe', 'internal_email', "admission_process",
"admission_session"]
for (let i = 0; i < list_menu_header_names.length; i++) {
if (document.getElementsByName(String(list_menu_header_names[i])) && document.getElementsByName(String(list_menu_header_names[i]))[0]) {
document.getElementsByName(String(list_menu_header_names[i]))[0].style.fontWeight = "400";
@ -665,6 +670,20 @@ const Partner = (props) => {
}
}
function config_admission_process_func(event) {
var security_retval = check_user_acces_right("config_document", "read");
if (security_retval === 1) {
setmenu("admission_process");
setapiexcelimportmessage();
setformation_file_name();
history.push("/Partner/admission_process");
document.body.style.backgroundColor = "#ffffff";
inactive_active_menu_header("admission_process");
} else {
Dialog_1_handle_acces_insuffisant("Vos droits ne sont pas suffisants pour accéder à la gestion des documents");
}
}
function config_specfic_fields_func(event) {
@ -1110,6 +1129,20 @@ const Partner = (props) => {
}
}
function admission_session_func(event) {
var security_retval = check_user_acces_right("stagiaire", "read");
if (security_retval === 1) {
setmenu("admission_session");
setapiexcelimportmessage();
setformation_file_name();
history.push("/Partner/admission_session");
document.body.style.backgroundColor = "#ffffff";
inactive_active_menu_header("admission_session");
} else {
Dialog_1_handle_acces_insuffisant("Vos droits ne sont pas suffisants pour accéder à la gestion des stagiaires");
}
}
function equipe_team_func(event) {
var security_retval = check_user_acces_right("equipe", "read");
if (security_retval === 1) {
@ -1648,7 +1681,7 @@ const Partner = (props) => {
my_lms_url = (JSON.parse(res.data.message).lms_virtualhost_url) + "user_portal.php?recid=" + encodeURIComponent(JSON.parse(res.data.message).lms_part_recid) +
"&mysytoken=" + encodeURIComponent(JSON.parse(res.data.message).lms_pwd_mask);
// console.log(" ### LMS url = ", my_lms_url);
// console.log(" ### LMS url = ", my_lms_url);
setpartner_lms_url(my_lms_url);
setpartner_lms_virtualhost_url((JSON.parse(res.data.message).lms_virtualhost_url));
@ -2035,11 +2068,11 @@ const Partner = (props) => {
</Menu>}
{String(menu) === "internal_email" && <Menu className="my_menu bck_menu_seul_selected" id="my_internal_email" name="my_internal_email"
onClick={Display_Internal_Boite_Email} >&nbsp;<MailIcon className="icone_menu" color={"primary"} /> &nbsp; EMAILS &nbsp;&nbsp; <StyledBadge_mysy_color1 badgeContent={Get_Nb_Unread_Emails_result} style={{ "cursor": "pointer" }}
onClick={(event) => {
// monactivite_func();
}}></StyledBadge_mysy_color1></Menu>}
{String(menu) === "internal_email" && <Menu className="my_menu bck_menu_seul_selected" id="my_internal_email" name="my_internal_email"
onClick={Display_Internal_Boite_Email} >&nbsp;<MailIcon className="icone_menu" color={"primary"} /> &nbsp; EMAILS &nbsp;&nbsp; <StyledBadge_mysy_color1 badgeContent={Get_Nb_Unread_Emails_result} style={{ "cursor": "pointer" }}
onClick={(event) => {
// monactivite_func();
}}></StyledBadge_mysy_color1></Menu>}
</Sidebar>
</div>
@ -2114,6 +2147,10 @@ const Partner = (props) => {
{String(menu) !== "mes_stagiaires" && <MenuItem onClick={DiplayStagiaireList} className="sousmenu" icon={<FcReading className="icone_menu" />}> INSCRIPTIONS </MenuItem>}
{String(menu) === "mes_stagiaires" && <MenuItem onClick={DiplayStagiaireList} className="sousmenu_selected" icon={<FcReading className="icone_menu" />}> INSCRIPTIONS </MenuItem>}
{String(formation_initiale) === "1" && String(menu) !== "admission_session" && <MenuItem onClick={admission_session_func} className="sousmenu" icon={<CompareArrowsIcon className="icone_menu" />}> ADMISSIONS </MenuItem>}
{String(formation_initiale) === "1" && String(menu) === "admission_session" && <MenuItem onClick={admission_session_func} className="sousmenu_selected" icon={<CompareArrowsIcon className="icone_menu" />}> ADMISSIONS </MenuItem>}
{String(formation_initiale) === "1" && String(menu) !== "groupe_apprenant" && <MenuItem onClick={groupe_apprenant_func} className="sousmenu" icon={<Groups2Icon className="icone_menu" />}> GROUPE APPRENANTS </MenuItem>}
{String(formation_initiale) === "1" && String(menu) === "groupe_apprenant" && <MenuItem onClick={groupe_apprenant_func} className="sousmenu_selected" icon={<Groups2Icon className="icone_menu" />}> GROUPE APPRENANTS </MenuItem>}
@ -2370,6 +2407,9 @@ const Partner = (props) => {
{String(menu) !== "config_formation_initiale" && <MenuItem onClick={config_ftion_initale_general_func} className="sousmenu" icon={<FcFinePrint className="icone_menu" />}> GENERAL </MenuItem>}
{String(menu) === "config_formation_initiale" && <MenuItem onClick={config_ftion_initale_general_func} className="sousmenu_selected" icon={<FcFinePrint className="icone_menu" />}> GENERAL </MenuItem>}
{String(menu) !== "admission_process" && <MenuItem onClick={config_admission_process_func} className="sousmenu" icon={<FcFinePrint className="icone_menu" />}> PROCESS ADMINISSION </MenuItem>}
{String(menu) === "admission_process" && <MenuItem onClick={config_admission_process_func} className="sousmenu_selected" icon={<FcFinePrint className="icone_menu" />}> ADMINISSION </MenuItem>}
</SubMenu>
@ -2414,7 +2454,7 @@ const Partner = (props) => {
<div className="koUpdateData"> Impossible de contacter l'hote distant. Merci de contacter votre administrateur </div>
</div>
}
}
{String(menu) === "affichage" &&
<div className="div_droite">
@ -2427,7 +2467,7 @@ const Partner = (props) => {
}
{String(menu) === "tous_mes_document" &&
<div className="div_droite">
<div className="div_droite">
<Modules_Mes_Documents ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale}
check_user_acces_right={check_user_acces_right}
@ -2491,10 +2531,21 @@ const Partner = (props) => {
<div className="div_droite">
<Partner_Config_Ftion_Initiale ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale} />
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale}
check_user_acces_right={check_user_acces_right} />
</div>
}
{String(menu) === "admission_process" &&
<div className="div_droite">
<Partner_Admission_Process_Ftion_Initiale ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale}
check_user_acces_right={check_user_acces_right} />
</div>
}
{String(menu) === "note_evaluation" &&
<div className="div_droite">
@ -2538,6 +2589,15 @@ const Partner = (props) => {
</div>
}
{String(menu) === "admission_session" &&
<div className="div_droite">
<Session_Admission_FI ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale}
check_user_acces_right={check_user_acces_right} reduce={"0"} />
</div>
}
@ -3152,6 +3212,13 @@ const Partner = (props) => {
</a>
<hr className="my_hr" />
<Tooltip className="tooltip_css" id="tooltip_id_1111" />
{String(formation_initiale) === "1" && <a data-tooltip-id="tooltip_id_1111" data-tooltip-html="ADMISSION">
{String(menu) !== "admission_session" && <div className="sousmenu" onClick={admission_session_func} > <CompareArrowsIcon className="icone_menu" />&nbsp; </div>}
{String(menu) === "admission_session" && <div className="sousmenu_selected" onClick={admission_session_func} ><CompareArrowsIcon className="icone_menu" /> &nbsp;</div>}
</a>}
<hr className="my_hr" />
<Tooltip className="tooltip_css" id="tooltip_id_111" />
{String(formation_initiale) === "1" && <a data-tooltip-id="tooltip_id_111" data-tooltip-html="GROUPE APPRENANTS">
@ -3373,6 +3440,15 @@ const Partner = (props) => {
</div>
}
{String(menu) === "admission_process" &&
<div className="div_droite div_droite_ralonge">
<Partner_Admission_Process_Ftion_Initiale ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale}
check_user_acces_right={check_user_acces_right} />
</div>
}
{String(menu) === "note_evaluation" &&
<div className="div_droite div_droite_ralonge">
@ -3449,6 +3525,16 @@ const Partner = (props) => {
}
{String(menu) === "admission_session" &&
<div className="div_droite div_droite_ralonge">
<Session_Admission_FI ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale}
check_user_acces_right={check_user_acces_right} reduce={"1"}/>
</div>
}
{String(menu) === "checkout" && <div className="div_droite div_droite_ralonge">
<Button onClick={"returntoorder"} className="btn_retour_ps"> Retour aux produits & Services </Button>
<CheckOut packs={location.state.new_pack} periodicity={location.state.period} mypackprice={location.state.price} />

File diff suppressed because it is too large Load Diff

View File

@ -681,7 +681,7 @@ const Partner_Client = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
}
};
@ -1393,12 +1393,12 @@ const Partner_Client = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -4878,7 +4878,7 @@ const Partner_Commande = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 16
},
@ -7340,21 +7340,21 @@ const Partner_Commande = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
}}
@ -8941,12 +8941,12 @@ const Partner_Commande = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -2508,22 +2508,22 @@ const Partner_Config_Formulaires = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},
@ -2815,7 +2815,7 @@ const Partner_Config_Formulaires = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
@ -3188,16 +3188,16 @@ const Partner_Config_Formulaires = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
}, [`& .${gridClasses.cell}`]: {
py: 1,
},

View File

@ -1238,12 +1238,12 @@ const Partner_Config_Ftion_Initiale = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -1701,12 +1701,12 @@ const Partner_Config_Ftion_Initiale = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -822,7 +822,7 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -4676,12 +4676,12 @@ const Partner_Configuration_Technique = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -4949,12 +4949,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5124,12 +5124,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5337,12 +5337,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5526,12 +5526,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5717,12 +5717,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5899,12 +5899,12 @@ const Partner_Configuration_Technique = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -6400,12 +6400,12 @@ const Partner_Configuration_Technique = (props) => {
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -7057,12 +7057,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -7230,12 +7230,12 @@ const Partner_Configuration_Technique = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -2020,12 +2020,12 @@ registerLocale('fr', fr);
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -2335,12 +2335,12 @@ registerLocale('fr', fr);
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -2697,12 +2697,12 @@ registerLocale('fr', fr);
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {

View File

@ -4588,20 +4588,20 @@ const Partner_Facture = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
@ -5548,11 +5548,11 @@ const Partner_Facture = (props) => {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
},
'& .line--statut--pair': {
@ -5722,7 +5722,7 @@ const Partner_Facture = (props) => {
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -743,21 +743,21 @@ registerLocale('fr', fr);
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
}}

View File

@ -1399,20 +1399,20 @@ registerLocale('fr', fr);
},*/
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
color: 'black',
backgroundColor: '#e9f7f1',
color: '#0a2a4d',
},
'& .line--statut--pair': {
backgroundColor: 'rgba(235, 235, 235, .7)',
color: 'black',
color: '#0a2a4d',
},
'& .line--statut--impair': {
backgroundColor: '#FFFFFF',
color: 'black',
color: '#0a2a4d',
},
}}

File diff suppressed because it is too large Load Diff

View File

@ -800,7 +800,7 @@ function Survey_Eval_QR_Code() {
paddingRight: '2px',
'& .line--statut--selected': {
backgroundColor: '#FBF2EF',
backgroundColor: '#e9f7f1',
color: 'black',
}, [`& .${gridClasses.cell}`]: {
py: 1,

View File

@ -1264,7 +1264,7 @@ const TestUrl_New = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: randomColor({ luminosity: "light", seed: "IFOD_22_Sess_AOUT_DEV_2412" })
},
onDoubleClick: () => { console.log('You clicked double 0111!') }
@ -1289,7 +1289,7 @@ const TestUrl_New = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: randomColor({ luminosity: "light", seed: "tetet" })
},
onDoubleClick: () => { console.log('You clicked double 0 2222!') }
@ -1314,7 +1314,7 @@ const TestUrl_New = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: randomColor({ luminosity: "light", seed: "sess_test" })
}
}
@ -1338,7 +1338,7 @@ const TestUrl_New = (props) => {
"canMove": false,
itemProps: {
style: {
color: "black",
color: "#0a2a4d",
background: randomColor({ luminosity: "light", seed: "IFOD_44_Sess_RESA_DEV" })
}
}
@ -1360,7 +1360,7 @@ const TestUrl_New = (props) => {
]
console.log(" ### items22 == ", items22);
const defaultTimeStart = moment().startOf("day").add(-3, "day").toDate();
const defaultTimeEnd = moment().startOf("day").add(10, "day").toDate();

View File

@ -0,0 +1,522 @@
:root{
--bg: #f6f8fb;
--card: #ffffff;
--text: #0f172a;
--muted: #64748b;
--border: #e5e7eb;
--shadow: 0 10px 25px rgba(2, 6, 23, .06);
--green-700: #0f6b53;
--green-600: #167a5e;
--green-100: #e9f7f1;
--blue-600: #2563eb;
--radius: 14px;
--radius-sm: 10px;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
margin:0;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
color: var(--text);
background: var(--bg);
}
.mi-app{
display:flex;
min-height:100vh;
}
/* Sidebar */
.mi-sidebar{
width: 260px;
background: linear-gradient(180deg, #0f6b53 0%, #0b5a45 100%);
color: white;
padding: 16px 14px;
display:flex;
flex-direction:column;
gap: 14px;
}
.mi-brand{
display:flex;
align-items:center;
gap:10px;
padding: 6px 8px;
}
.mi-logo{
font-weight: 800;
letter-spacing: .6px;
font-size: 20px;
}
.mi-profile{
background: rgba(255,255,255,.08);
border: 1px solid rgba(255,255,255,.12);
border-radius: 14px;
padding: 12px;
display:flex;
align-items:center;
gap: 12px;
}
.mi-avatar{
width: 46px;
height: 46px;
border-radius: 999px;
background: rgba(255,255,255,.18);
display:grid;
place-items:center;
font-weight: 700;
}
.mi-profileName{ font-weight: 700; }
.mi-profileRole{ font-size: 12px; opacity:.9; margin-top: 2px; }
.mi-nav{
display:flex;
flex-direction:column;
gap: 2px;
margin-top: 6px;
}
.mi-navItem{
color: rgba(255,255,255,.92);
text-decoration:none;
padding: 10px 10px;
border-radius: 12px;
font-size: 14px;
}
.mi-navItem:hover{ background: rgba(255,255,255,.08); }
.mi-navItem.active{
background: rgba(255,255,255,.14);
border: 1px solid rgba(255,255,255,.12);
}
.mi-navSep{
height: 1px;
background: rgba(255,255,255,.14);
margin: 10px 6px;
}
.mi-sidebarFoot{
margin-top:auto;
}
.mi-ghostBtn{
width:100%;
background: rgba(255,255,255,.10);
border: 1px solid rgba(255,255,255,.14);
color:white;
padding: 10px 12px;
border-radius: 12px;
cursor:pointer;
}
.mi-ghostBtn:hover{ background: rgba(255,255,255,.14); }
/* Main */
.mi-main{
flex:1;
display:flex;
flex-direction:column;
min-width: 0;
}
.mi-topbar{
height: 64px;
background: rgba(255,255,255,.75);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
display:flex;
align-items:center;
justify-content:space-between;
padding: 0 18px;
position: sticky;
top:0;
z-index:10;
}
.mi-topbarLeft{
display:flex;
align-items:center;
gap: 12px;
min-width: 0;
}
.mi-breadcrumbs{
color: var(--muted);
font-size: 13px;
white-space: nowrap;
overflow:hidden;
text-overflow: ellipsis;
}
.mi-breadcrumbs span{ color: var(--text); font-weight:600; }
.mi-topbarRight{
display:flex;
align-items:center;
gap: 10px;
}
.mi-content{
padding: 18px;
display:flex;
flex-direction:column;
gap: 16px;
}
.mi-card{
background: var(--card);
border: 1px solid var(--border);
border-radius: 14px;
box-shadow: var(--shadow);
}
.mi-cardPad{ padding: 16px; }
.mi-title{
margin: 0;
font-size: 22px;
letter-spacing: -0.2px;
}
.mi-titleRow{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom: 12px;
}
.mi-searchRow{
display:flex;
gap: 10px;
align-items:center;
margin-bottom: 14px;
}
.mi-inputIcon{
flex: 1;
display:flex;
align-items:center;
gap: 8px;
border: 1px solid var(--border);
border-radius: 12px;
padding: 10px 12px;
background: #fff;
}
.mi-inputIconGlyph{ opacity:.7; }
.mi-input{
border: none;
outline: none;
width: 100%;
font-size: 14px;
}
.mi-select{
border: 1px solid var(--border);
border-radius: 12px;
padding: 10px 12px;
background:#fff;
font-size: 14px;
min-width: 160px;
}
.mi-iconBtn{
border: 1px solid var(--border);
background: #fff;
border-radius: 12px;
padding: 10px 11px;
cursor:pointer;
}
.mi-iconBtn:hover{ background:#f8fafc; }
.mi-primaryBtn{
background: var(--blue-600);
color: white;
border: 1px solid rgba(37,99,235,.5);
border-radius: 12px;
padding: 10px 14px;
cursor:pointer;
font-weight: 600;
}
.mi-primaryBtn:hover{ filter: brightness(.97); }
.mi-primaryBtnSmall{
padding: 8px 12px;
border-radius: 12px;
}
.mi-secondaryBtn{
background: var(--green-700);
color: white;
border: 1px solid rgba(15,107,83,.4);
border-radius: 12px;
padding: 10px 14px;
cursor:pointer;
font-weight: 600;
}
.mi-secondaryBtn:hover{ background: var(--green-600); }
.mi-tertiaryBtn{
background: #f1f5f9;
color: #0f172a;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 10px 12px;
cursor:pointer;
font-weight: 600;
white-space: nowrap;
}
.mi-tertiaryBtn:hover{ background:#eaf0f7; }
.mi-ghostBtnSmall{
background: #fff;
border: 1px solid var(--border);
border-radius: 12px;
padding: 8px 10px;
cursor:pointer;
color: var(--muted);
font-weight: 600;
}
.mi-ghostBtnSmall:hover{ background:#f8fafc; }
.mi-tableWrap{
border: 1px solid var(--border);
border-radius: 14px;
overflow:hidden;
}
.mi-table{
width:100%;
border-collapse: separate;
border-spacing: 0;
font-size: 14px;
}
.mi-th, .mi-td{
padding: 12px 12px;
border-bottom: 1px solid var(--border);
vertical-align: middle;
}
.mi-th{
background: #f1f5f9;
color: #334155;
text-align:left;
font-weight: 700;
font-size: 13px;
}
.mi-thCheck, .mi-tdCheck{ width: 42px; }
.mi-thActions{ width: 110px; text-align: right; }
.mi-actionsCell{ text-align:right; }
.mi-tr{
background: #fff;
cursor:pointer;
}
.mi-tr:hover{ background: #fafcff; }
.mi-tr.isSelected{
background: var(--green-100);
}
.mi-td{ color: #0f172a; }
.mi-mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13px; }
.mi-muted{ color: var(--muted); }
.mi-pill{
display:inline-flex;
align-items:center;
gap:6px;
padding: 6px 10px;
border-radius: 999px;
font-weight: 700;
font-size: 12px;
}
.mi-pillSuccess{
background: #d1fae5;
color: #065f46;
border: 1px solid #a7f3d0;
}
.mi-miniIconBtn{
border: 1px solid var(--border);
background: #fff;
border-radius: 10px;
padding: 7px 8px;
cursor:pointer;
margin-left: 6px;
}
.mi-miniIconBtn:hover{ background:#f8fafc; }
.mi-empty{
text-align:center;
color: var(--muted);
padding: 18px;
}
.mi-details{ padding: 14px; }
.mi-detailsHeader{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap: 16px;
padding-bottom: 10px;
}
.mi-detailsIdentity{
display:flex;
align-items:center;
gap: 12px;
min-width: 0;
}
.mi-avatarLg{
width: 58px;
height: 58px;
border-radius: 999px;
background: #eef2ff;
border: 1px solid #e5e7eb;
display:grid;
place-items:center;
font-weight: 800;
color: #3730a3;
}
.mi-detailsMeta{ min-width:0; }
.mi-detailsName{
font-size: 18px;
font-weight: 800;
letter-spacing: -0.2px;
white-space: nowrap;
overflow:hidden;
text-overflow: ellipsis;
}
.mi-detailsSub{
margin-top: 4px;
color: var(--muted);
font-size: 13px;
display:flex;
flex-wrap: wrap;
gap: 8px;
}
.mi-detailsActions{
display:flex;
gap: 10px;
flex-wrap: wrap;
justify-content:flex-end;
}
.mi-tabs{
display:flex;
gap: 8px;
padding-top: 10px;
border-top: 1px solid var(--border);
margin-top: 6px;
}
.mi-tab{
background: #fff;
border: 1px solid var(--border);
padding: 10px 12px;
border-radius: 12px;
cursor:pointer;
font-weight: 700;
color: #334155;
}
.mi-tab.active{
background: #eef2ff;
border-color: #dbeafe;
color: #1e3a8a;
}
.mi-detailsGrid{
margin-top: 12px;
display:grid;
grid-template-columns: 1.2fr 1fr;
gap: 14px;
}
.mi-subCard{
background: #fff;
border: 1px solid var(--border);
border-radius: 14px;
box-shadow: 0 6px 18px rgba(2,6,23,.04);
padding: 14px;
}
.mi-subCardTitle{
font-weight: 900;
letter-spacing: -0.2px;
margin-bottom: 10px;
}
.mi-subCardTitleRow{
display:flex;
align-items:center;
justify-content:space-between;
gap: 10px;
margin-bottom: 10px;
}
.mi-rightCol{
display:flex;
flex-direction:column;
gap: 14px;
}
.mi-formGrid{
display:grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.mi-field{
display:flex;
flex-direction:column;
gap: 6px;
}
.mi-field span{
color: #475569;
font-size: 12px;
font-weight: 700;
}
.mi-fieldFull{ grid-column: 1 / -1; }
.mi-textarea{
border: 1px solid var(--border);
border-radius: 12px;
padding: 10px 12px;
min-height: 110px;
outline:none;
resize: vertical;
font-size: 14px;
}
.mi-editorBar{
border: 1px solid var(--border);
border-bottom: none;
border-radius: 12px 12px 0 0;
padding: 8px 10px;
display:flex;
align-items:center;
gap: 8px;
color: #475569;
background: #f8fafc;
}
.mi-editorChip{
border: 1px solid #e2e8f0;
background: #fff;
padding: 5px 8px;
border-radius: 10px;
font-weight: 700;
font-size: 12px;
}
.mi-editorIcon{
border: 1px solid #e2e8f0;
background: #fff;
padding: 5px 8px;
border-radius: 10px;
font-weight: 800;
font-size: 12px;
}
.mi-editor{
border: 1px solid var(--border);
border-radius: 0 0 12px 12px;
padding: 12px;
min-height: 120px;
outline:none;
resize: vertical;
font-size: 14px;
}
@media (max-width: 1100px){
.mi-detailsGrid{ grid-template-columns: 1fr; }
}
@media (max-width: 900px){
.mi-sidebar{ display:none; }
.mi-searchRow{ flex-direction:column; align-items:stretch; }
.mi-select{ min-width: unset; }
}

View File

@ -0,0 +1,366 @@
import React, { useMemo, useState } from "react";
import "./MesInscriptions.css";
const MOCK_ROWS = [
{ id: 2345, createdAt: "12/04", firstName: "Hugo", lastName: "Sorel", email: "hugo.sorel@example.com", classe: "Classe 4", statut: "Nouveau" },
{ id: 2344, createdAt: "12/04", firstName: "Lisa", lastName: "Serre", email: "lisa.serre@example.com", classe: "Classe 4", statut: "Nouveau" },
{ id: 2343, createdAt: "12/04", firstName: "Karim", lastName: "Verdier", email: "karim.verdier@example.com", classe: "Classe 4", statut: "Nouveau" },
{ id: 2342, createdAt: "12/04", firstName: "Stéphane", lastName: "Sorel", email: "stephane.sorel@example.com", classe: "Classe 3", statut: "Nouveau" },
{ id: 2341, createdAt: "12/04", firstName: "Sarah", lastName: "Robert", email: "sarah.robert@example.com", classe: "Classe 3", statut: "Nouveau" },
{ id: 2340, createdAt: "12/04", firstName: "Sophie", lastName: "Durand", email: "sophie.durand@example.com", classe: "Classe 3", statut: "Nouveau" },
];
function cx(...classes) {
return classes.filter(Boolean).join(" ");
}
export default function MesInscriptions() {
const [query, setQuery] = useState("");
const [classeFilter, setClasseFilter] = useState("Tous");
const [selectedId, setSelectedId] = useState(MOCK_ROWS[3].id);
const [tab, setTab] = useState("details"); // details | commentaires
const [selectedRows, setSelectedRows] = useState(() => new Set([MOCK_ROWS[3].id]));
const selected = useMemo(
() => MOCK_ROWS.find((r) => r.id === selectedId) ?? MOCK_ROWS[0],
[selectedId]
);
const filteredRows = useMemo(() => {
const q = query.trim().toLowerCase();
return MOCK_ROWS.filter((r) => {
const inText =
!q ||
`${r.id} ${r.firstName} ${r.lastName} ${r.email} ${r.classe} ${r.statut}`.toLowerCase().includes(q);
const inClasse = classeFilter === "Tous" || r.classe === classeFilter;
return inText && inClasse;
});
}, [query, classeFilter]);
function toggleRow(id) {
setSelectedRows((prev) => {
const next = new Set(prev);
if (next.has(id)) next.delete(id);
else next.add(id);
return next;
});
}
function toggleAll() {
setSelectedRows((prev) => {
const allIds = filteredRows.map((r) => r.id);
const allSelected = allIds.every((id) => prev.has(id));
if (allSelected) return new Set();
return new Set(allIds);
});
}
return (
<div className="mi-app">
{/* Sidebar */}
<aside className="mi-sidebar">
<div className="mi-brand">
<div className="mi-logo">MYSA</div>
</div>
<div className="mi-profile">
<div className="mi-avatar" aria-hidden="true">OM</div>
<div className="mi-profileText">
<div className="mi-profileName">Olivier Malré</div>
<div className="mi-profileRole">Partenaire</div>
</div>
</div>
<nav className="mi-nav">
<a className="mi-navItem" href="#/tableau">Tableau</a>
<a className={cx("mi-navItem", "active")} href="#/inscriptions">Mes inscriptions</a>
<a className="mi-navItem" href="#/calendrier">Calendrier</a>
<a className="mi-navItem" href="#/planification">Planification</a>
<a className="mi-navItem" href="#/stagiaires">Stagiaires</a>
<a className="mi-navItem" href="#/formateurs">Formateurs</a>
<a className="mi-navItem" href="#/sessions">Sessions</a>
<div className="mi-navSep" />
<a className="mi-navItem" href="#/documents">Documents</a>
<a className="mi-navItem" href="#/mon-profil">Mon profil</a>
</nav>
<div className="mi-sidebarFoot">
<button className="mi-ghostBtn"> Paramètres</button>
</div>
</aside>
{/* Main */}
<main className="mi-main">
{/* Topbar */}
<header className="mi-topbar">
<div className="mi-topbarLeft">
<button className="mi-iconBtn" aria-label="Menu"></button>
<div className="mi-breadcrumbs">Partenaire / <span>Mes inscriptions</span></div>
</div>
<div className="mi-topbarRight">
<button className="mi-primaryBtn">Nouvelle inscription</button>
<button className="mi-iconBtn" aria-label="Compte">👤</button>
</div>
</header>
<div className="mi-content">
{/* Title + Search */}
<section className="mi-card mi-cardPad">
<div className="mi-titleRow">
<h1 className="mi-title">Mes Inscriptions</h1>
</div>
<div className="mi-searchRow">
<div className="mi-inputIcon">
<span className="mi-inputIconGlyph" aria-hidden="true">🔎</span>
<input
className="mi-input"
placeholder="Rechercher"
value={query}
onChange={(e) => setQuery(e.target.value)}
/>
</div>
<select
className="mi-select"
value={classeFilter}
onChange={(e) => setClasseFilter(e.target.value)}
>
<option>Tous</option>
<option>Classe 3</option>
<option>Classe 4</option>
</select>
<button className="mi-secondaryBtn" onClick={() => {}}>
Rechercher
</button>
</div>
{/* Table */}
<div className="mi-tableWrap">
<table className="mi-table" role="grid">
<thead>
<tr>
<th className="mi-th mi-thCheck">
<input
type="checkbox"
aria-label="Tout sélectionner"
checked={filteredRows.length > 0 && filteredRows.every((r) => selectedRows.has(r.id))}
onChange={toggleAll}
/>
</th>
<th className="mi-th">ID</th>
<th className="mi-th">Date Création</th>
<th className="mi-th">Prénom</th>
<th className="mi-th">Nom</th>
<th className="mi-th">Email</th>
<th className="mi-th">Classe</th>
<th className="mi-th">Statut inscription</th>
<th className="mi-th mi-thActions">Actions</th>
</tr>
</thead>
<tbody>
{filteredRows.map((r) => (
<tr
key={r.id}
className={cx("mi-tr", r.id === selectedId && "isSelected")}
onClick={() => setSelectedId(r.id)}
role="row"
>
<td className="mi-td mi-tdCheck" onClick={(e) => e.stopPropagation()}>
<input
type="checkbox"
checked={selectedRows.has(r.id)}
onChange={() => toggleRow(r.id)}
aria-label={`Sélectionner ${r.firstName} ${r.lastName}`}
/>
</td>
<td className="mi-td">{r.id}</td>
<td className="mi-td">{r.createdAt}</td>
<td className="mi-td">{r.firstName}</td>
<td className="mi-td">{r.lastName}</td>
<td className="mi-td mi-mono">{r.email}</td>
<td className="mi-td">{r.classe}</td>
<td className="mi-td">
<span className="mi-pill mi-pillSuccess">{r.statut}</span>
</td>
<td className="mi-td mi-actionsCell" onClick={(e) => e.stopPropagation()}>
<button className="mi-miniIconBtn" title="Voir">👁</button>
<button className="mi-miniIconBtn" title="Ouvrir"></button>
</td>
</tr>
))}
{filteredRows.length === 0 && (
<tr>
<td className="mi-td mi-empty" colSpan={9}>
Aucun résultat. (Le moteur de recherche fait son timide.)
</td>
</tr>
)}
</tbody>
</table>
</div>
</section>
{/* Details */}
<section className="mi-card mi-details">
<div className="mi-detailsHeader">
<div className="mi-detailsIdentity">
<div className="mi-avatarLg" aria-hidden="true">
{selected.firstName?.[0]}{selected.lastName?.[0]}
</div>
<div className="mi-detailsMeta">
<div className="mi-detailsName">
{selected.firstName} {selected.lastName} <span className="mi-muted">#{selected.id}</span>
</div>
<div className="mi-detailsSub">
ID: <span className="mi-mono">{selected.email}</span> · <span>{selected.classe}</span> ·{" "}
<span className="mi-pill mi-pillSuccess">{selected.statut}</span>
</div>
</div>
</div>
<div className="mi-detailsActions">
<button className="mi-tertiaryBtn">Conduite inscrirae</button>
<button className="mi-tertiaryBtn">Convention de stage</button>
<button className="mi-tertiaryBtn">Codes</button>
<button className="mi-secondaryBtn">Envoyer Email</button>
</div>
</div>
<div className="mi-tabs">
<button
className={cx("mi-tab", tab === "details" && "active")}
onClick={() => setTab("details")}
>
Détails stagiaire
</button>
<button
className={cx("mi-tab", tab === "commentaires" && "active")}
onClick={() => setTab("commentaires")}
>
Commentaires
</button>
</div>
<div className="mi-detailsGrid">
{/* Left form card */}
<div className="mi-subCard">
<div className="mi-subCardTitle">Détails stagiaire</div>
<div className="mi-formGrid">
<label className="mi-field">
<span>Prénom</span>
<input className="mi-input" defaultValue={selected.firstName} />
</label>
<label className="mi-field">
<span>Nom</span>
<input className="mi-input" defaultValue={selected.lastName} />
</label>
<label className="mi-field">
<span>Email</span>
<input className="mi-input" defaultValue={selected.email} />
</label>
<label className="mi-field">
<span>Téléphone</span>
<input className="mi-input" placeholder="07..." />
</label>
<label className="mi-field">
<span>Pays</span>
<select className="mi-select" defaultValue="France">
<option>France</option>
<option>Belgique</option>
<option>Suisse</option>
</select>
</label>
<label className="mi-field">
<span>Ville</span>
<input className="mi-input" placeholder="Paris" />
</label>
<label className="mi-field mi-fieldFull">
<span>Notes</span>
<textarea className="mi-textarea" placeholder="Notes internes…" />
</label>
</div>
</div>
{/* Right column */}
<div className="mi-rightCol">
<div className="mi-subCard">
<div className="mi-subCardTitleRow">
<div className="mi-subCardTitle">En entreprise</div>
<button className="mi-ghostBtnSmall">Contrats / pièces</button>
</div>
<div className="mi-formGrid">
<label className="mi-field">
<span>ID</span>
<input className="mi-input" placeholder="G-494" />
</label>
<label className="mi-field">
<span>Statut</span>
<select className="mi-select" defaultValue="Nouveau">
<option>Nouveau</option>
<option>En cours</option>
<option>Terminé</option>
</select>
</label>
<label className="mi-field">
<span>Adresse</span>
<input className="mi-input" placeholder="France" />
</label>
<label className="mi-field">
<span>Date de naissance</span>
<input className="mi-input" placeholder="02/03/2024" />
</label>
<label className="mi-field">
<span>Code postal</span>
<input className="mi-input" placeholder="75001" />
</label>
<label className="mi-field">
<span>Date inscription</span>
<input className="mi-input" placeholder="01/09/2024" />
</label>
</div>
</div>
<div className="mi-subCard">
<div className="mi-subCardTitleRow">
<div className="mi-subCardTitle">Envoyer email à {selected.email}</div>
<button className="mi-primaryBtn mi-primaryBtnSmall">Envoyer</button>
</div>
<div className="mi-editorBar" aria-hidden="true">
<span className="mi-editorChip">Sujet</span>
<span className="mi-editorIcon">B</span>
<span className="mi-editorIcon">I</span>
<span className="mi-editorIcon">U</span>
<span className="mi-editorIcon"></span>
<span className="mi-editorIcon">1.</span>
<span className="mi-editorIcon">🔗</span>
</div>
<textarea
className="mi-editor"
placeholder="Votre message… (promis, on nenverra pas cc tout seul)"
/>
</div>
</div>
</div>
</section>
</div>
</main>
</div>
);
}

View File

@ -1035,7 +1035,7 @@ function UpdateAttendeeList() {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},
@ -1159,7 +1159,7 @@ function UpdateAttendeeList() {
},
"& .MuiDataGrid-columnHeaders": {
backgroundColor: "#c8cfd5",
color: "black",
color: "#0a2a4d",
fontSize: 14
},

View File

@ -2286,8 +2286,7 @@ function UpdateParnterInfo(props) {
sethandleSubmission_bg_message("");
sethandleSubmission_bg_api("");
console.log("file_size = ", file_size, " file_type = ", file_type, " naturalWidth = ", fileUploaded.naturalWidth);
if (file_size > 10000000) {
// alert("Le fichier ne doit pas dépasser un 1 Méga octets");
setdisplay_alert_mysy("1");

View File

@ -21,7 +21,7 @@ import Paper from '@material-ui/core/Paper';
import Draggable from 'react-draggable';
import { IconButton } from '@material-ui/core';
function PaperComponent(props) {
return (
<Draggable
@ -40,7 +40,7 @@ const useStyles = makeStyles((theme) => ({
// left: 10,
top: 400
},
paper: {
overflowY: 'unset',
},
@ -160,7 +160,7 @@ const Header = () => {
setsomeoneconnected("0");
setDialog_1_open(false);
history.push("/recherche-formation");
}
}
function user_logout_confirmation() {
/* si c'est une connexion partner qui est active */
@ -211,7 +211,7 @@ const Header = () => {
aria-labelledby="draggable-dialog-title"
>
<DialogTitle style={{ cursor: 'move', fontFamily:"DM Sans"}} id="draggable-dialog-title" >MySy Information</DialogTitle>
<DialogTitle style={{ cursor: 'move', fontFamily: "DM Sans" }} id="draggable-dialog-title" >MySy Information</DialogTitle>
<DialogContent className="DialogContent_width">
<DialogContentText>
Confirmez la deconnexion <br />
@ -278,8 +278,8 @@ const Header = () => {
<div className="separator"></div>
<a href="/marketplace" className="menu-link">Marketplace</a>
<div className="separator"></div>
<a href="/marketplace_26" className="menu-link">Marketplace 26</a>
{/*<div className="separator"></div>
<a href="/marketplace_26" className="menu-link">Marketplace 26</a>*/}
</nav>
</div>

View File

@ -0,0 +1,13 @@
import TestUrl_New_26 from "../components/Test_Files/MesInscriptions";
import Navigation from "../components/Navigation";
export default function Recherche() {
return (
<div>
<Navigation />
<TestUrl_New_26 />
</div>
);
}

View File

@ -753,7 +753,7 @@
width: 25%;
float: right;
cursor: pointer;
text-align: center;
}
@ -1443,7 +1443,7 @@
width: 15%;
float: right;
cursor: pointer;
text-align: center;
}
.block_groupe_class {
@ -2052,7 +2052,7 @@
width: 12%;
float: right;
cursor: pointer;
text-align: center;
}
.block_groupe_class {
@ -2841,6 +2841,7 @@
width: 8%;
float: right;
cursor: pointer;
text-align: center;
}
.DialogContent_width_for_week_model {
@ -2959,7 +2960,6 @@
}
.kanban_item_css {
padding: 5px;
margin-bottom: 10px;
@ -3029,7 +3029,7 @@
font-size: large;
padding-top: 10px;
}
.disabled_style_left_text_with_visualiser_icone {
width: 80% !important;
float: left;

View File

@ -698,7 +698,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;
@ -1331,7 +1331,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;
@ -1858,7 +1858,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;

View File

@ -123,7 +123,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;
@ -698,7 +698,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;
@ -1331,7 +1331,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;
@ -1858,7 +1858,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;

File diff suppressed because it is too large Load Diff

View File

@ -111,7 +111,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;

View File

@ -129,7 +129,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -131,7 +131,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;

View File

@ -163,7 +163,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;

View File

@ -180,7 +180,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;
@ -794,7 +794,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;
@ -1451,7 +1451,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
}
@ -1984,7 +1984,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
}

View File

@ -180,7 +180,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;
@ -795,7 +795,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
}
@ -1451,7 +1451,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
}
@ -1984,7 +1984,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
}

View File

@ -159,7 +159,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;

View File

@ -159,7 +159,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;

View File

@ -163,7 +163,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;

View File

@ -108,7 +108,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;
@ -708,7 +708,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: 10px;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
max-height: 2rem !important;
@ -1348,7 +1348,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: 10px;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
max-height: 2rem !important;
@ -1865,7 +1865,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: 10px;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
max-height: 2rem !important;

View File

@ -2,13 +2,13 @@
.tooltip_css {
background: #81BC3A;
z-index: 9999;
font-family: "DM Sans", "sans-serif";
font-size:"13px";
}
font-family: "DM Sans", "sans-serif";
font-size: "13px";
}
.Mui-disabled {
font-family:'DM Sans','Sans-serif';
font-family: 'DM Sans', 'Sans-serif';
font-size: small !important;
padding: 0px !important;
padding-left: 5px !important;
@ -110,7 +110,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: x-small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;
@ -152,7 +152,7 @@
}
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled {
font-family:'DM Sans','Sans-serif';
font-family: 'DM Sans', 'Sans-serif';
font: inherit;
letter-spacing: inherit;
color: currentColor;
@ -198,7 +198,7 @@
}
.session_caract {
font-family: DM Sans;
font-family: DM Sans;
width: 100%;
padding: 5px;
float: left;
@ -254,7 +254,7 @@
width: 6%;
}
.icon_plus_line {
width: 3%;
}
@ -301,7 +301,7 @@
}
.bton_enreg {
font-family: DM sans;
font-family: DM sans;
border-radius: 5rem;
font-size: small;
background: #81BC3A !important;
@ -500,7 +500,7 @@
}
.bton_enreg {
font-family: DM sans;
font-family: DM sans;
border-radius: 5rem;
font-size: small;
background: #81BC3A !important;
@ -561,7 +561,7 @@
}
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled {
font-family:'DM Sans','Sans-serif';
font-family: 'DM Sans', 'Sans-serif';
font: inherit;
letter-spacing: inherit;
color: currentColor;
@ -671,7 +671,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: x-small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
}
@ -715,7 +715,7 @@
border-radius: 5px;
background: white;
border: solid gainsboro 1px;
}
.training_caract {
@ -725,7 +725,7 @@
}
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled {
font-family:'DM Sans','Sans-serif';
font-family: 'DM Sans', 'Sans-serif';
font: inherit;
letter-spacing: inherit;
color: currentColor;
@ -771,7 +771,7 @@
}
.session_caract {
font-family: DM Sans;
font-family: DM Sans;
width: 50%;
padding: 5px;
float: left;
@ -833,7 +833,7 @@
width: 6%;
}
.icon_plus_line {
width: 4%;
}
@ -880,7 +880,7 @@
}
.bton_enreg {
font-family: DM sans;
font-family: DM sans;
border-radius: 5rem;
font-size: small;
background: #81BC3A !important;
@ -1083,7 +1083,7 @@
}
.bton_enreg {
font-family: DM sans;
font-family: DM sans;
border-radius: 5rem;
font-size: small;
background: #81BC3A !important;
@ -1136,7 +1136,7 @@
}
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled {
font-family:'DM Sans','Sans-serif';
font-family: 'DM Sans', 'Sans-serif';
font: inherit;
letter-spacing: inherit;
color: currentColor;
@ -1273,7 +1273,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: x-small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
}
@ -1317,7 +1317,7 @@
border-radius: 5px;
background: white;
border: solid gainsboro 1px;
}
.training_caract {
@ -1327,7 +1327,7 @@
}
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled {
font-family:'DM Sans','Sans-serif';
font-family: 'DM Sans', 'Sans-serif';
font: inherit;
letter-spacing: inherit;
color: currentColor;
@ -1350,7 +1350,7 @@
}
.css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input {
padding: 1px !important;
@ -1376,7 +1376,7 @@
}
.session_caract {
font-family: DM Sans;
font-family: DM Sans;
width: 33%;
padding: 5px;
float: left;
@ -1439,7 +1439,7 @@
width: 8%;
}
.icon_plus_line {
width: 3%;
}
@ -1486,7 +1486,7 @@
}
.bton_enreg {
font-family: DM sans;
font-family: DM sans;
border-radius: 5rem;
font-size: small;
background: #81BC3A !important;
@ -1753,7 +1753,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: x-small;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
}
@ -1815,7 +1815,7 @@
}
.session_caract_Dialog {
font-family: 'DM Sans';
font-family: 'DM Sans';
width: 100%;
padding: 5px;
float: left;
@ -1842,7 +1842,7 @@
}
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled {
font-family:'DM Sans','Sans-serif';
font-family: 'DM Sans', 'Sans-serif';
font: inherit;
letter-spacing: inherit;
color: currentColor;
@ -1890,7 +1890,7 @@
.session_caract {
font-family: DM Sans;
font-family: DM Sans;
width: 33%;
padding: 5px;
float: left;
@ -2082,7 +2082,7 @@
}
.bton_enreg {
font-family: DM sans;
font-family: DM sans;
border-radius: 5rem;
font-size: small;
background: #81BC3A !important;
@ -2265,7 +2265,7 @@
text-align: center;
}
.css-l4u8b9-MuiInputBase-root-MuiInput-root{
.css-l4u8b9-MuiInputBase-root-MuiInput-root {
text-align: left !important;
}
@ -2293,23 +2293,120 @@
margin-left: 10px;
margin-right: 10px;
}
}
// end media
// --------------
.detailsGrid_2_Col {
margin-top: 12px;
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 14px;
}
.subCard {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 14px;
box-shadow: 0 6px 18px rgba(2, 6, 23, .04);
padding: 14px;
}
.rightCol {
display: flex;
flex-direction: column;
gap: 14px;
}
.formGrid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.field {
display: flex;
flex-direction: column;
gap: 6px;
}
.field span {
color: #475569;
font-size: 12px;
font-weight: 700;
}
.fieldFull {
grid-column: 1 / -1;
}
.textarea {
border: 1px solid var(--border);
border-radius: 12px;
padding: 10px 12px;
min-height: 110px;
outline: none;
resize: vertical;
font-size: 14px;
}
.css-md26zr-MuiInputBase-root-MuiOutlinedInput-root{
// --------------
.separator {
display: flex;
align-items: center;
text-align: center;
margin-bottom: 0.5rem !important;
}
.separator::before {
content: '';
flex: 1;
border-top: 4px double #999;
}
.separator::after {
content: '';
flex: 1;
border-top: 4px double #999;
}
.separator:not(:empty)::before {
margin-right: .35em;
}
.separator:not(:empty)::after {
margin-left: .35em;
}
.separator_label {
width: 10rem;
float: left;
font-family: 'DM Sans';
color: #1a59d0;
font-weight: 600;
font-size: 14px;
background: #d5d8dc;
text-align: center;
border: none;
width: auto;
letter-spacing: 2px;
}
.css-md26zr-MuiInputBase-root-MuiOutlinedInput-root {
height: 3.5rem !important;
}
.css-1bp1ao6{
.css-1bp1ao6 {
height: 3.5rem !important;
}
.session_caract_Dialog {
font-family: 'DM Sans';
font-family: 'DM Sans';
width: 100%;
padding: 5px;
float: left;
@ -2368,27 +2465,27 @@
align-items: center;
text-align: center;
margin-bottom: 0.5rem !important;
}
.separator::before,
.separator::after {
}
.separator::before,
.separator::after {
content: '';
flex: 1;
border-bottom: 1px solid #e0e0e0;
}
.separator:not(:empty)::before {
margin-right: .35em;
}
.separator:not(:empty)::after {
margin-left: .35em;
}
}
.MuiSelect-select{
.separator:not(:empty)::before {
margin-right: .35em;
}
.separator:not(:empty)::after {
margin-left: .35em;
}
.MuiSelect-select {
//height: 3rem !important;
}
}
}
@ -2414,7 +2511,7 @@
}
.css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root {
font-family: DM Sans !important;
font-family: DM Sans !important;
height: 3.5rem !important;
font-size: small !important;
}
@ -2425,8 +2522,8 @@ font-family: DM Sans !important;
width: 110%;
}
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input {
font-size: small !important;
font-family: "DM Sans" !important;
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input {
font-size: small !important;
font-family: "DM Sans" !important;
padding-left: 5px !important;
}

Some files were not shown because too many files have changed in this diff Show More