11/04/2024 - 17h02

recette2
cherif 2024-04-11 17:02:30 +02:00
parent 25dc282bd9
commit 0aa1322630
4 changed files with 49 additions and 16 deletions

View File

@ -2901,8 +2901,8 @@ const AddClassManual = (props) => {
<div className="training_caract">
<Tooltip className="tooltip_css" id="tooltip_img_profil_01" />
<a data-tooltip-id="tooltip_img_profil_01" data-tooltip-html="L'image de profil de la formation. <br/>L'ordre de priorité d'affichage des images est : <br/>
1 - Image Bannière <br/>
2 - L'image carrée téléchargéeen bas de page <br/>
1 - L'image carrée téléchargée en bas de page <br/>
2 - Image Bannière <br/>
3 - L'image par defaut du métier dans le système
">
<TextField
@ -3573,8 +3573,8 @@ const AddClassManual = (props) => {
<Tooltip className="tooltip_css" id="tooltip_img_profil" />
<a data-tooltip-id="tooltip_img_profil" data-tooltip-html="L'image de profil de la formation. <br/>L'ordre de priorité d'affichage des images est : <br/>
1 - Image Bannière <br/>
2 - L'image carrée téléchargéeen bas de page <br/>
1 - L'image carrée téléchargée en bas de page <br/>
2 - Image Bannière <br/>
3 - L'image par defaut du métier dans le système
">
<div className="div_row_gauche_image"> Image de profil <br />

View File

@ -2023,6 +2023,14 @@ const DisplayPartnerSession = (props) => {
setsubmenu("detail_session");
submenu_color_management("detail_session");
await sleep(2);
if (edit_session_form === false) {
desableSessionFields();
}
/*
//await sleep(5);
if (!edit_session_form) {
@ -5473,8 +5481,6 @@ const DisplayPartnerSession = (props) => {
}
if (mylocaltraining.formateur_id) {
setp_formateur_id(mylocaltraining.formateur_id);
setp_formateur_label(mylocaltraining.formateur_nom_prenom);
@ -10605,7 +10611,7 @@ const DisplayPartnerSession = (props) => {
var nom_fichier_cmd = "export_reponses.xlsx";
var url = process.env.REACT_APP_API_URL + "myclass/api/Export_To_Excel_Survey_with_filter/" + stored_cookie + "/" + selected_session_id+"/hot_eval/";
var url = process.env.REACT_APP_API_URL + "myclass/api/Export_To_Excel_Survey_with_filter/" + stored_cookie + "/" + selected_session_id + "/hot_eval/";
setLoading(true);
@ -17740,11 +17746,11 @@ const DisplayPartnerSession = (props) => {
}}>Actualiser la liste</Button>
<Button className="bton_emarge"onClick={(event) => {
<Button className="bton_emarge" onClick={(event) => {
Export_survey_hot_eval_datatab_class();
}}>Exporter (excel)</Button>
</div>
<div style={{ height: "750px", width: '100%', padding: "10px" }} className="session_data">
<Box

View File

@ -136,8 +136,8 @@ const Employes = (props) => {
},
{ field: 'nom', headerName: 'Nom', flex: 1, hide: false, minWidth: 150, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'prenom', headerName: 'Prénom', flex: 1, hide: false, minWidth: 150, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'nom', headerName: 'Nom', flex: 1, hide: false, minWidth: 180, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'prenom', headerName: 'Prénom', flex: 1, hide: false, minWidth: 180, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'email', headerName: 'Email', minWidth: 300, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'user_login', headerName: 'Login', minWidth: 200, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{
@ -7234,7 +7234,7 @@ const Employes = (props) => {
<div style={{ "paddingLeft": "10px" }}>
<Tooltip className="tooltip_css" id="deb_inscription" style={{ "fontSize": "12px" }} />
<a data-tooltip-id="deb_inscription" data-tooltip-html=" Après avoir créé le compte utilisateur, pensez également lui accorder les niveaux d'accès nécessaires à partir du bouton <i>'DROITS D'ACCES'</i> ">
Login &nbsp; <FcInfo /><br />
Login Gestion <FcInfo /><br />
</a>
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, background: "#ECEFF1", color: "black" }}
@ -7254,20 +7254,20 @@ const Employes = (props) => {
{String(p_detail_user_login) === "" && <div style={{ "paddingLeft": "10px", "width": "30%", "float": "left" }}>
<Button variant="contained" className="bton_action1" onClick={Dialog_1_handle_change_login_pwd}> Créer login & pwd
{String(p_detail_user_login) === "" && <div className="block_login_pwd" >
<Button variant="contained" className="bton_action1" onClick={Dialog_1_handle_change_login_pwd}> login & pwd
</Button>
</div>
}
{String(p_detail_user_login) !== "" && <div style={{ "paddingLeft": "10px", "width": "30%", "float": "left" }}>
{String(p_detail_user_login) !== "" && <div className="block_login_pwd">
<Button variant="contained" className="bton_action1" onClick={Dialog_1_handle_change_login_pwd}> M.A.J PWD &nbsp;
</Button>
</div>
}
{String(p_detail_user_login) !== "" && String(p_detail_user_login_locked) !== "1"
&& <div style={{ "paddingLeft": "10px", "width": "30%", "float": "left" }}>
&& <div className="block_login_pwd">
<Popup
trigger={
<Button variant="contained" className="bton_action1" style={{ "background": "gray", "color": "black" }} > Désactiver

View File

@ -604,6 +604,13 @@
margin-bottom: 1.5rem;
}
.block_login_pwd {
padding-left: 5px;
width: 100%;
float: left;
}
}
@media only screen and (min-width: 601px) and (max-width: 991px) {
@ -1199,6 +1206,13 @@
margin-bottom: 1.5rem;
}
.block_login_pwd {
padding-left: 5px;
width: 100%;
float: left;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
@ -1693,7 +1707,12 @@
margin-bottom: 1.5rem;
}
.block_login_pwd {
padding-left: 5px;
width: 33%;
float: left;
}
}
@ -2281,6 +2300,14 @@
}
.block_login_pwd {
padding-left: 5px;
width: 33%;
float: left;
}
}
.session_caract_Dialog_comment_2_lines {