diff --git a/src/components/AddClassManual.js b/src/components/AddClassManual.js index ba15c80..ee7c04f 100644 --- a/src/components/AddClassManual.js +++ b/src/components/AddClassManual.js @@ -4629,7 +4629,7 @@ const AddClassManual = (props) => { const valueFormatter = (value) => `${value}`; - const [display_view, setdisplay_view] = useState("line"); + const [display_view, setdisplay_view] = useState("bars"); function func_display_line_view() { setdisplay_view("line"); } diff --git a/src/components/Apprenant.js b/src/components/Apprenant.js index da8cbda..ccf9773 100644 --- a/src/components/Apprenant.js +++ b/src/components/Apprenant.js @@ -3085,12 +3085,8 @@ const Apprenant = (props) => { - - const myRef_details = useRef(null) - - const [New_Getall_TrainingSession_result, setNew_Getall_TrainingSession_result] = useState(); const [Getall_TrainingSession_api, setGetall_TrainingSession_api] = useState(); diff --git a/src/components/DisplayPartnerUnite_Enseignement.js b/src/components/DisplayPartnerUnite_Enseignement.js index 6ff0e64..afbc785 100644 --- a/src/components/DisplayPartnerUnite_Enseignement.js +++ b/src/components/DisplayPartnerUnite_Enseignement.js @@ -713,16 +713,12 @@ const DisplayPartnerUnite_Enseignement = (props) => { } - - if (local_ue.support) { setp_detail_support(local_ue.support); } else { setp_detail_support(""); } - - if (local_ue.duration) { setp_detail_duration(local_ue.duration); } else { @@ -779,11 +775,11 @@ const DisplayPartnerUnite_Enseignement = (props) => { if (local_ue.niveau_competence) { setp_detail_tab_competence(local_ue.niveau_competence); var tab_tmp = String(local_ue.niveau_competence).split(","); - setVal(tab_tmp); + // setVal(tab_tmp); } else { setp_detail_tab_competence([]); - setVal([]); + // setVal([]); } if (local_ue.list_competence_code) { @@ -794,8 +790,7 @@ const DisplayPartnerUnite_Enseignement = (props) => { } - if (local_ue.tab_competence_JSON) { - + if (local_ue.tab_competence_JSON) { setVal(local_ue.tab_competence_JSON); } else { @@ -1008,8 +1003,8 @@ const DisplayPartnerUnite_Enseignement = (props) => { form.append("niveau_competence", tab_competence_id); - console.log(" ### val = ", val); - console.log(" ### tab_competence_id = ", tab_competence_id); + // console.log(" ### val = ", val); + //console.log(" ### tab_competence_id = ", tab_competence_id); var description = ""; @@ -2883,7 +2878,7 @@ const DisplayPartnerUnite_Enseignement = (props) => { /> - } + } {ue_data_edit_mode && String(ue_data_edit_mode) === "1" &&
Compétences
@@ -2898,7 +2893,7 @@ const DisplayPartnerUnite_Enseignement = (props) => { }} value={val} options={New_Getall_Partner_Competence_List_result} - className="disabled_style" + className="disabled_style disabled_style_no_border" renderInput={(params) => ( { const [history_securite_read, sethistory_securite_read] = useState(""); + const [New_GetCurrentPartnerClass_result, setNew_GetCurrentPartnerClass_result] = useState([]); + + const [GetCurrentPartnerClass_api, setGetCurrentPartnerClass_api] = useState(); + const [GetCurrentPartnerClass_message, setGetCurrentPartnerClass_message] = useState(); + const [GetCurrentPartnerClass_result, setGetCurrentPartnerClass_result] = useState([]); + function GetCurrentPartnerClass(event) { + var form = new FormData(); + + + //form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA"); + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + form.append("archive", "0"); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/get_partner_class_Without_Scope_Action/"; + + axios.post(myurl, form).then(res => { + //console.log(" In GetCurrentPartnerClass res.data.status = " + res.data.status); + //console.log(" In GetCurrentPartnerClass res.data.message r_class = " + res.data.message); + if (String(res.data.status) === String("true")) { + + setGetCurrentPartnerClass_api("true"); + setGetCurrentPartnerClass_result(res.data.message); + + + var new_data2 = []; + + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_title = JSON.parse(x).title; + var local_external_code = JSON.parse(x).external_code; + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_external_code, + "title": local_title, + "external_code": local_external_code, + }; + new_data2.push(node); + + // return {"_id": " + str(local_id) + ", "label": " + local_courrier_template_ref_interne + '" , "courrier_template_ref_interne": "' + local_courrier_template_ref_interne + '", "nom_champ_technique": "' + local_nom_champ_technique + '", "nom_champ_fonctionel": "' + local_nom_champ_fonctionel + '","valide": "1" }; + + }); + + + if (new_data2.length > 0) + setNew_GetCurrentPartnerClass_result(new_data2); + + + } else if (String(res.data.status) === String("Err_Connexion")) { + alert('Erreur: ' + res.data.message); + history.push("/Connexion"); + } + else { + setGetCurrentPartnerClass_api("false"); + setGetCurrentPartnerClass_message(res.data.message); + alert('Erreur: ' + res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( mysearchtext = ', error); + setGetCurrentPartnerClass_api("false"); + alert(" Impossible de recuperer la liste des formations") + //setmyApimyApiMessage("") + }) + } + + + const [Get_Given_User_Access_Scope_api, setGet_Given_User_Access_Scope_api] = useState(); + const [Get_Given_User_Access_Scope_message, setGet_Given_User_Access_Scope_message] = useState(); + const [Get_Given_User_Access_Scope_result, setGet_Given_User_Access_Scope_result] = useState([]); + function Get_Given_User_Access_Scope() { + + var form = new FormData(); + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + form.append("user_id", selected_id); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_User_Access_Scope/"; + + axios.post(myurl, form).then(res => { + // console.log(" In Get_Given_User_Access_Scope res.data.status = " + res.data.status); + // console.log(" In Get_Given_User_Access_Scope res.data.message r_class = " + res.data.message); + + if (String(res.data.status) === String("true")) { + + setGet_Given_User_Access_Scope_api("true"); + setGet_Given_User_Access_Scope_result(res.data.message); + + var local_perimetre = JSON.parse(res.data.message); + + if (local_perimetre.node_class) { + setscope_class(local_perimetre.node_class); + + } else { + setscope_class([]); + } + + + if (local_perimetre.node_session) { + setscope_session(local_perimetre.node_session); + + } else { + setscope_session([]); + } + + + } + else { + setGet_Given_User_Access_Scope_api("false"); + setGet_Given_User_Access_Scope_message(res.data.message); + // alert(res.data.message); + setdisplay_alert_mysy("1"); + setalert_message(res.data.message); + setalert_type("error"); + + } + + }).catch((error) => { + console.warn('Not good man :( Get_Given_User_Access_Scope = ', error); + setGet_Given_User_Access_Scope_api("false"); + alert(" Impossible de recuperer le périmetre d'accès"); + //setmyApimyApiMessage("") + }) + } + + + const [Update_user_Scope_access_api, setUpdate_user_Scope_access_api] = useState(); + const [Update_user_Scope_access_message, setUpdate_user_Scope_access_message] = useState(); + const [Update_user_Scope_access_result, setUpdate_user_Scope_access_result] = useState(); + function Update_user_Scope_access() { + var form = new FormData(); + //form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA"); + + console.log(" scope_class == ", scope_class); + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + form.append("user_id", selected_id); + + var tab_scope_class_id = [] + for (var i = 0; i < scope_class.length; i++) { + tab_scope_class_id.push(scope_class[i]._id) + } + + var tab_scope_session_id = [] + for (var i = 0; i < scope_session.length; i++) { + tab_scope_session_id.push(scope_session[i]._id) + } + + + form.append("tab_scope_class", tab_scope_class_id); + + form.append("tab_scope_session", tab_scope_session_id); + + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_Update_User_Access_Scope/"; + setLoading(true); + axios.post(myurl, form).then(res => { + //console.log(" In Update_user_Scope_access res.data.status = " + res.data.status); + //console.log(" In Update_user_Scope_access res.data.message r_class = " + res.data.message); + + setLoading(false); + + if (String(res.data.status) === String("true")) { + setUpdate_user_Scope_access_api("true"); + setUpdate_user_Scope_access_result(res.data.message); + setacces_right_data_edit_mode(); + // alert(" La mise à jour a été correctement faite."); + setdisplay_alert_mysy("1"); + setalert_message(" La mise à jour a été correctement faite."); + setalert_type("success"); + + } + else { + setUpdate_user_Scope_access_api("false"); + setUpdate_user_Scope_access_message(res.data.message); + // alert(res.data.message); + setdisplay_alert_mysy("1"); + setalert_message(res.data.message); + setalert_type("error"); + } + + }).catch((error) => { + setLoading(false); + console.warn('UpdateStagiaireData : Not good man :( Update_user_Scope_access = ' + error); + setUpdate_user_Scope_access_api("false"); + // alert(" Impossible de mettre à jour les Droits d'accès de l'employé"); + setdisplay_alert_mysy("1"); + setalert_message(" Impossible de mettre à jour les Droits d'accès de l'employé"); + setalert_type("error"); + + }) + } + + const [New_Getall_TrainingSession_Without_Scope_Action_result, setNew_Getall_TrainingSession_Without_Scope_Action_result] = useState(); + + const [Getall_TrainingSession_Without_Scope_Action_api, setGetall_TrainingSession_Without_Scope_Action_api] = useState(); + const [Getall_TrainingSession_Without_Scope_Action_message, setGetall_TrainingSession_Without_Scope_Action_message] = useState(); + const [Getall_TrainingSession_Without_Scope_Action_result, setGetall_TrainingSession_Without_Scope_Action_result] = useState(); + function Getall_TrainingSession_Without_Scope_Action() { + var form = new FormData(); + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + form.append("archive", "0"); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetAllValideSessionPartner_List_Without_Scope_Action/"; + + + axios.post(myurl, form).then(res => { + // console.log(" In Getall_TrainingSession_Without_Scope_Action res.data.status = " + res.data.status); + // console.log(" In Getall_TrainingSession_Without_Scope_Action res.data.message r_class = " + res.data.message); + + if (String(res.data.status) === String("true")) { + + setGetall_TrainingSession_Without_Scope_Action_api("true"); + setGetall_TrainingSession_Without_Scope_Action_result(res.data.message); + + var new_data2 = []; + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_title_session = JSON.parse(x).titre; + var local_code_session = JSON.parse(x).code_session; + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code_session, + "titre": local_title_session, + "code_session": local_code_session, + }; + new_data2.push(node); + + // return {"_id": " + str(local_id) + ", "label": " + local_courrier_template_ref_interne + '" , "courrier_template_ref_interne": "' + local_courrier_template_ref_interne + '", "nom_champ_technique": "' + local_nom_champ_technique + '", "nom_champ_fonctionel": "' + local_nom_champ_fonctionel + '","valide": "1" }; + + }); + + + if (new_data2.length > 0) + setNew_Getall_TrainingSession_Without_Scope_Action_result(new_data2); + + //console.log(" ### new_data2 = ", new_data2) + + + } + else { + setGetall_TrainingSession_Without_Scope_Action_api("false"); + setGetall_TrainingSession_Without_Scope_Action_message(res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( Getall_TrainingSession_Without_Scope_Action = ', error); + setGetall_TrainingSession_Without_Scope_Action_api("false"); + //setmyApimyApiMessage("") + }) + } + + + useEffect(() => { sethistory_securite_read(props.check_user_acces_right("historique", "read")) @@ -1794,7 +2065,7 @@ const Employes = (props) => { setliste_sessions_file_change_api("true"); clean_all_filters(); Getall_Training_Employee_No_Filter(); - + setdisplay_alert_mysy("1"); setalert_message(" Les employés ont été correctement importés"); setalert_type("success"); @@ -2656,17 +2927,17 @@ const Employes = (props) => { } else { - + setdisplay_alert_mysy("1"); - setalert_message(result['message']); - setalert_type("error"); + setalert_message(result['message']); + setalert_type("error"); } }) .catch((error) => { setLoading(false); console.error('Error:', error); - + setdisplay_alert_mysy("1"); setalert_message(" Impossible de supprimer l'image "); setalert_type("error"); @@ -2690,10 +2961,10 @@ const Employes = (props) => { //alert("file_size = "+file_size+" file_type = "+file_type+" a = "+a); if (file_size > 1000000) { - + setdisplay_alert_mysy("1"); - setalert_message("L'image ne doit pas dépasser un 1 Méga octets"); - setalert_type("error"); + setalert_message("L'image ne doit pas dépasser un 1 Méga octets"); + setalert_type("error"); return; } setisimgclassSelected(event.target.files[0]); @@ -2998,8 +3269,8 @@ const Employes = (props) => { console.log('Delete_Employee : Not good man :( Delete_Employee = ' + error); setDelete_Employee_api("false"); setdisplay_alert_mysy("1"); - setalert_message(" Impossible de supprimer l'employee"); - setalert_type("error"); + setalert_message(" Impossible de supprimer l'employee"); + setalert_type("error"); }) } @@ -3038,7 +3309,7 @@ const Employes = (props) => { setdisplay_alert_mysy("1"); setalert_message(" La fonction a été correctement supprimée."); setalert_type("success"); - + } else { setDelete_affection_api("false"); @@ -3051,9 +3322,9 @@ const Employes = (props) => { }).catch((error) => { setLoading(false); - // console.log('Delete_affection : Not good man :( Delete_affection = ' + error); + // console.log('Delete_affection : Not good man :( Delete_affection = ' + error); setDelete_affection_api("false"); - // alert(" Impossible de supprimer la fonction"); + // alert(" Impossible de supprimer la fonction"); setdisplay_alert_mysy("1"); setalert_message(" Impossible de supprimer la fonction"); setalert_type("error"); @@ -3267,7 +3538,7 @@ const Employes = (props) => { local_value = local_value.replaceAll(",", "."); if (isNaN(local_value)) { - + setdisplay_alert_mysy("1"); setalert_message("Le champ " + spec_field_updated_values_hooks[i].field_label + " doit être numérique."); setalert_type("error"); @@ -3280,7 +3551,7 @@ const Employes = (props) => { } if (String(spec_field_updated_values_hooks[i].is_mandatory) === "1") { if (String(local_value).trim().length <= 0) { - + setalert_message("Le champ " + spec_field_updated_values_hooks[i].field_label + " est obligatoire."); setalert_type("error"); return; @@ -3344,7 +3615,7 @@ const Employes = (props) => { setLoading(false); console.warn('UpdateStagiaireData : Not good man :( Add_One_Employee_Data = ' + error); setAdd_One_Employee_Data_api("false"); - + setdisplay_alert_mysy("1"); setalert_message(" Impossible d'ajouter l'employé"); setalert_type("error"); @@ -3367,10 +3638,8 @@ const Employes = (props) => { async function submenu_detail_employe() { setsubmenu("detail_employe"); - await sleep(5); submenu_color_management("detail_employe"); - //console.log(" ### employee_data_edit_mode = ", employee_data_edit_mode); if (String(employee_data_edit_mode) !== "1") disable_Employee_DetailFields(); @@ -3386,44 +3655,37 @@ const Employes = (props) => { async function submenu_affectation() { setsubmenu("affectation"); - - await sleep(5); submenu_color_management("affectation"); } async function submenu_contrat() { setsubmenu("contrat"); - await sleep(5); submenu_color_management("contrat"); - Get_Partner_List_EMPLOYEE_CONTRACT_Document(); - } async function submenu_evaluation() { setsubmenu("evaluation"); - await sleep(5); submenu_color_management("evaluation"); - } async function submenu_statistiques() { setsubmenu("statistiques"); - await sleep(5); submenu_color_management("statistiques"); - Getall_Employee_Statistic_Question_List(); - } async function submenu_droit_acces() { setsubmenu("droit_acces"); - await sleep(5); + GetCurrentPartnerClass(); + Getall_TrainingSession_Without_Scope_Action(); + + setscope_class([]); submenu_color_management("droit_acces"); setSelectionModel_affectations([]); @@ -3431,29 +3693,26 @@ const Employes = (props) => { setAdd_new_affectation(""); clean_affectation_fields(); clean_nouvelle_affectation_fields(); + Get_Given_User_Access_Scope(); + } async function submenu_competence() { setsubmenu("competence"); - - await sleep(5); submenu_color_management("competence"); - Getall_Partner_Competence_List(); } async function submenu_piece_jointe() { setsubmenu("piece_jointe"); - await sleep(5); submenu_color_management("piece_jointe"); } async function submenu_historique() { setsubmenu("historique"); - await sleep(5); submenu_color_management("historique"); } @@ -3562,7 +3821,7 @@ const Employes = (props) => { setdisplay_alert_mysy("1"); setalert_message(" Impossible de recuperer la liste des compétences "); setalert_type("error"); - + //setmyApimyApiMessage("") }) } @@ -5842,7 +6101,7 @@ const Employes = (props) => { const valueFormatter = (value) => `${value}`; - const [display_view, setdisplay_view] = useState("line"); + const [display_view, setdisplay_view] = useState("bars"); function func_display_line_view() { setdisplay_view("line"); } @@ -6683,6 +6942,23 @@ const Employes = (props) => { setLoading(false); } + const fixedVal_scope_session = []; + const [scope_session, setscope_session] = useState([...fixedVal_scope_session]); + + + const fixedVal_scope_class = []; + const [scope_class, setscope_class] = useState([...fixedVal_scope_class]); + const CustomChip = (chipVal, getTagProps) => { + return chipVal.map((item, index) => ( + + )); + }; + + return (
@@ -7890,7 +8166,7 @@ const Employes = (props) => { - +

Mes employés

@@ -9163,7 +9439,7 @@ const Employes = (props) => { rows_champs_specifics.map((champ_spec) => (
{String(JSON.parse(champ_spec).is_mandatory) === "1" && {JSON.parse(champ_spec).field_label} } - {String(JSON.parse(champ_spec).is_mandatory) !== "1" && {JSON.parse(champ_spec).field_label} }
+ {String(JSON.parse(champ_spec).is_mandatory) !== "1" && {JSON.parse(champ_spec).field_label} }
{String(JSON.parse(champ_spec).field_type) === "float" && { rows_champs_specifics.map((champ_spec) => (
{String(JSON.parse(champ_spec).is_mandatory) === "1" && {JSON.parse(champ_spec).field_label} } - {String(JSON.parse(champ_spec).is_mandatory) !== "1" && {JSON.parse(champ_spec).field_label} }
+ {String(JSON.parse(champ_spec).is_mandatory) !== "1" && {JSON.parse(champ_spec).field_label} }
{String(JSON.parse(champ_spec).field_type) === "float" && {
} {String(submenu) === "droit_acces" &&
- +
@@ -10927,6 +11203,95 @@ const Employes = (props) => {
+ +
zzz + + +

Périmetre d'accès  

+
+ + {New_GetCurrentPartnerClass_result && New_GetCurrentPartnerClass_result.length > 0 &&
Liste formations
+ + { + setscope_class([ + ...fixedVal_scope_class, + ...newValue.filter((i) => fixedVal_scope_class.indexOf(i) === -1), + ]); + + }} + value={scope_class} + options={New_GetCurrentPartnerClass_result} + renderInput={(params) => + } + /> + +
} + + {New_Getall_TrainingSession_Without_Scope_Action_result && New_Getall_TrainingSession_Without_Scope_Action_result.length > 0 &&
Liste Sessions / Promotions
+ + { + setscope_session([ + ...fixedVal_scope_session, + ...newValue.filter((i) => fixedVal_scope_session.indexOf(i) === -1), + ]); + + }} + + + value={scope_session} + options={New_Getall_TrainingSession_Without_Scope_Action_result} + renderInput={(params) => + } + /> + +
} + + +
+
+   +
+ +
+ +
+ + + +
+ +
+ +
+
+ +
+   +
+ +
} diff --git a/src/styles/components/_displayPartnerunite_enseignement.scss b/src/styles/components/_displayPartnerunite_enseignement.scss index 3289b6d..8c4aa79 100644 --- a/src/styles/components/_displayPartnerunite_enseignement.scss +++ b/src/styles/components/_displayPartnerunite_enseignement.scss @@ -45,7 +45,7 @@ .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; @@ -75,8 +75,8 @@ border-radius: 1rem; } - .div_row_dialog { - font-family: DM sans; + .div_row_dialog { + font-family: DM sans; float: left; //border: 1px solid #d5d8dc; border-width: 0.01rem; @@ -200,7 +200,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; @@ -244,7 +244,7 @@ } .session_caract { - font-family: DM Sans; + font-family: DM Sans; width: 100%; padding: 5px; float: left; @@ -325,7 +325,7 @@ } .bton_enreg { - font-family: DM sans; + font-family: DM sans; border-radius: 5rem; font-size: small; background: #81BC3A !important; @@ -495,8 +495,8 @@ border-radius: 1rem; } - .div_row_dialog { - font-family: DM sans; + .div_row_dialog { + font-family: DM sans; float: left; border-width: 0.01rem; width: 100%; @@ -533,7 +533,7 @@ } .bton_enreg { - font-family: DM sans; + font-family: DM sans; border-radius: 5rem; font-size: small; background: #81BC3A !important; @@ -609,7 +609,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; @@ -734,9 +734,10 @@ .block_ue_div_50_percent_droite { width: 100%; float: left; - - + + } + .block_ue_div_50_percent_gauche { width: 100%; float: left; @@ -859,7 +860,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; @@ -904,7 +905,7 @@ } .session_caract { - font-family: DM Sans; + font-family: DM Sans; width: 50%; padding: 5px; float: left; @@ -994,7 +995,7 @@ } .bton_enreg { - font-family: DM sans; + font-family: DM sans; border-radius: 5rem; font-size: small; background: #81BC3A !important; @@ -1165,8 +1166,8 @@ border-radius: 1rem; } - .div_row_dialog { - font-family: DM sans; + .div_row_dialog { + font-family: DM sans; float: left; //border: 1px solid #d5d8dc; border-width: 0.01rem; @@ -1207,7 +1208,7 @@ } .bton_enreg { - font-family: DM sans; + font-family: DM sans; border-radius: 5rem; font-size: small; background: #81BC3A !important; @@ -1276,7 +1277,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; @@ -1401,8 +1402,9 @@ width: 50%; float: left; border-left: thick double #32a1ce; - + } + .block_ue_div_50_percent_gauche { width: 50%; float: left; @@ -1433,8 +1435,8 @@ } - .div_row_dialog { - font-family: DM sans; + .div_row_dialog { + font-family: DM sans; float: left; //border: 1px solid #d5d8dc; border-width: 0.01rem; @@ -1583,7 +1585,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; @@ -1627,7 +1629,7 @@ } .session_caract { - font-family: DM Sans; + font-family: DM Sans; width: 33%; padding: 5px; float: left; @@ -1721,7 +1723,7 @@ } .bton_enreg { - font-family: DM sans; + font-family: DM sans; border-radius: 5rem; font-size: small; background: #81BC3A !important; @@ -2008,8 +2010,9 @@ width: 50%; float: left; border-left: thick double #32a1ce; - + } + .block_ue_div_50_percent_gauche { width: 50%; float: left; @@ -2038,8 +2041,8 @@ border-radius: 1rem; } - .div_row_dialog { - font-family: DM sans; + .div_row_dialog { + font-family: DM sans; float: left; //border: 1px solid #d5d8dc; border-width: 0.01rem; @@ -2202,7 +2205,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; @@ -2246,7 +2249,7 @@ } .session_caract { - font-family: DM Sans; + font-family: DM Sans; width: 33%; padding: 5px; float: left; @@ -2447,7 +2450,7 @@ } .bton_enreg { - font-family: DM sans; + font-family: DM sans; border-radius: 5rem; font-size: small; background: #81BC3A !important; @@ -2739,14 +2742,14 @@ .div_row_gauche_dialog_session { - font-family: 'DM Sans'; + font-family: 'DM Sans'; width: 30%; float: left; font-weight: 700; } .div_row_droite_dialog_session { - font-family: 'DM Sans'; + font-family: 'DM Sans'; width: 69%; float: right; } @@ -2781,8 +2784,9 @@ width: 50%; float: left; border-left: thick double #32a1ce; - + } + .block_ue_div_50_percent_gauche { width: 50%; float: left; @@ -2792,6 +2796,10 @@ // end media + .disabled_style_no_border { + border: none !important; + } + .disabled_style_with_visualiser { width: 80% !important; @@ -2823,7 +2831,7 @@ } .session_caract_Dialog { - font-family: 'DM Sans'; + font-family: 'DM Sans'; width: 100%; padding: 5px; float: left; @@ -2922,7 +2930,7 @@ } .css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root { -font-family: DM Sans !important; + font-family: DM Sans !important; height: 3.5rem !important; } diff --git a/src/styles/components/_employes.scss b/src/styles/components/_employes.scss index 4506250..96d654f 100644 --- a/src/styles/components/_employes.scss +++ b/src/styles/components/_employes.scss @@ -2392,15 +2392,20 @@ } + + + // end media + + .disabled_style_no_border{ + border: none !important; + } + .datagridclass { font-size: small !important; padding: 5px !important; font-family: 'DM Sans'; } - - // end media - - + .separator { display: flex; align-items: center;