From 100b808754c936996a7852febbfd807e415475ba Mon Sep 17 00:00:00 2001 From: Cherif Date: Fri, 15 May 2026 17:46:51 +0200 Subject: [PATCH] 15/05/2026 - 17h30 --- src/components/Abonnement.js | 30 +- src/components/AddClassManual.js | 2 +- src/components/AddClassManual_ARG.js | 2 +- src/components/AddPartnerClient.js | 92 +- src/components/AddPartnerClient_ARG_100526.js | 86 +- src/components/Apprenant.js | 252 ++- src/components/Autre_RH.js | 70 +- src/components/CheckOut.js | 32 +- src/components/Config_Champs_Personnalise.js | 14 +- ...g_Competence_Pedagogique_Ftion_Initiale.js | 11 +- src/components/Config_Document.js | 12 +- src/components/Config_Document_Super_Admin.js | 12 +- .../Config_Ref_Pedagogique_Ftion_Initiale.js | 6 +- src/components/Conseil_Classe.js | 40 +- src/components/Crm_Opportunite.js | 2 +- src/components/DisplayDetailArticle.js | 8 +- src/components/DisplayPartnerPromotion.js | 220 +-- src/components/DisplayPartnerSession.js | 181 +-- src/components/DisplayPartnerStagiaires.js | 1388 +++++++++++----- .../DisplayPartnerUnite_Enseignement.js | 1400 ++++++++++------- .../DisplayPartnerUnite_Enseignement_ARG.js | 2 +- .../DisplayPartner_Module_Formation.js | 2 +- src/components/Employes.js | 899 +++-------- src/components/Employes_ARG.js | 62 +- src/components/Equipe_Team.js | 2 +- src/components/Facture.js | 32 +- src/components/GestionAdministrative.js | 82 +- src/components/Groupe_Apprenant.js | 2 +- src/components/Intranet_Commande_Devis.js | 62 +- src/components/Intranet_Factures_Client.js | 62 +- src/components/Intranet_Mes_Stagiaires.js | 112 +- src/components/Jurys.js | 38 +- src/components/Jurys_Admission.js | 38 +- src/components/Materiel_Salle.js | 58 +- src/components/Materiels.js | 42 +- src/components/Module_Actvitie_Pedagogique.js | 34 +- .../Module_Bloc_Competence_Pedagogique.js | 213 ++- .../Module_Competence_Pedagogique.js | 44 +- .../Module_Domaine_Competence_Pedagogique.js | 14 +- src/components/Module_Editique.js | 2 +- .../Module_Ent_Internal_Email_Management.js | 2 +- src/components/Module_Ent_Message_Public.js | 4 +- src/components/Module_Gestion_Stage.js | 18 +- .../Module_Internal_Email_Management.js | 2 +- ...tranet_Client_Internal_Email_Management.js | 2 +- .../Module_Jury_Admission_Detail_Examen.js | 2 +- .../Module_Plateform_Admin_Partners.js | 2 +- .../Module_Pole_Actvitie_Pedagogique.js | 12 +- src/components/Module_RH_Tutorat.js | 2 +- .../Module_Session_Notes_Classement.js | 2 +- src/components/Module_Tache_Pedagogique.js | 4 +- src/components/Modules_Mes_Documents.js | 92 +- src/components/Notes_Evaluation.js | 10 +- .../PROD_050426/DisplayPartnerSession.js | 144 +- .../PROD_050426/DisplayPartnerSession_ARCH.js | 142 +- src/components/PartnerClient_Activite.js | 18 +- src/components/PartnerClient_Activite_ARG.js | 12 +- .../PartnerClient_Activite_For_Client.js | 12 +- ...artner_Admission_Process_Ftion_Initiale.js | 14 +- src/components/Partner_Commande.js | 62 +- src/components/Partner_Commande_ARG.js | 62 +- src/components/Partner_Config_Formulaires.js | 28 +- .../Partner_Config_Ftion_Initiale.js | 925 ++++++++++- .../Partner_Config_Session_Steps.js | 6 +- src/components/Partner_Config_Technique.js | 625 +++++++- .../Partner_Domaine_Categorie_Metier.js | 22 +- src/components/Partner_Facture.js | 68 +- src/components/Partner_Facture_ARG.js | 72 +- src/components/Partner_Invoicing_Data.js | 36 +- src/components/Partner_Product_Service.js | 2 +- src/components/Partner_Securite_Data.js | 8 +- src/components/Pricing.js | 24 +- src/components/Session_Admission_FI.js | 32 +- src/components/UpdatePartnerInfo.js | 32 +- src/components/UpdatePartnerInfo_v2.js | 36 +- src/components/UpdatePartnerInfo_v2_ARG.js | 32 +- src/components/UpdateUserGoals.js | 14 +- src/components/UpdateUserInfo.js | 74 +- .../UpdateUserInfo_Intranet_Client.js | 74 +- src/components/UpdateUserProfil.js | 6 +- src/styles/components/_addclassmanual.scss | 2 +- ..._admission_pedagogique_ftion_initiale.scss | 10 +- src/styles/components/_apprenant.scss | 8 +- .../_config_champs_personnalise.scss | 10 +- ...competence_pedagogique_ftion_initiale.scss | 10 +- src/styles/components/_config_document.scss | 10 +- src/styles/components/_conseil_classe.scss | 12 +- src/styles/components/_crm_opportunite.scss | 8 +- .../components/_dashbord_formation.scss | 8 +- src/styles/components/_dashbord_session.scss | 8 +- .../_displayPartnerunite_enseignement.scss | 10 +- .../components/_displaypartnersession.scss | 14 +- .../components/_displaypartnerstagiaire.scss | 12 +- .../_displaypartnertrainingpagination.scss | 8 +- src/styles/components/_emarge_qr_code.scss | 10 +- src/styles/components/_employes.scss | 10 +- src/styles/components/_equipe_team.scss | 12 +- src/styles/components/_esign.scss | 10 +- src/styles/components/_fonctionnalite_v1.scss | 2 +- src/styles/components/_groupe_apprenant.scss | 12 +- .../components/_groupe_apprenant_dialog.scss | 10 +- .../components/_intranet_factures_client.scss | 10 +- .../components/_intranet_mes_stagiaires.scss | 12 +- .../components/_intranet_tous_documents.scss | 10 +- src/styles/components/_jurys.scss | 12 +- src/styles/components/_jurys_admission.scss | 12 +- src/styles/components/_materiel_salle.scss | 12 +- src/styles/components/_materiels.scss | 8 +- src/styles/components/_module_absence.scss | 10 +- .../_module_activite_pedagogique.scss | 10 +- .../_module_admission_candidat_document.scss | 10 +- .../_module_admission_candidat_synthese.scss | 10 +- src/styles/components/_module_agenda.scss | 10 +- .../_module_alert_confirmation.scss | 10 +- .../_module_attestation_formation.scss | 10 +- .../_module_bloc_competence_pedagogique.scss | 10 +- .../_module_competence_pedagogique.scss | 10 +- ...module_domaine_competence_pedagogique.scss | 10 +- src/styles/components/_module_editique.scss | 10 +- .../components/_module_email_management.scss | 10 +- .../components/_module_ent_mes_documents.scss | 12 +- .../_module_ent_mes_formations.scss | 12 +- .../components/_module_ent_mes_notes.scss | 12 +- .../components/_module_ent_mon_planning.scss | 12 +- .../_module_evaluation_positionnement.scss | 10 +- .../components/_module_gestion_stage.scss | 12 +- .../components/_module_historique_action.scss | 10 +- .../_module_inscrit_suivi_paiement.scss | 12 +- .../_module_internal_email_management.scss | 10 +- .../_module_jury_selection_apprenants.scss | 10 +- .../_module_pole_activite_pedagogique.scss | 10 +- .../_module_referentiel_pedagogique.scss | 10 +- .../_module_relance_client_facture.scss | 12 +- src/styles/components/_module_rh_tutorat.scss | 10 +- .../_module_session_note_classement.scss | 10 +- .../components/_module_tache_pedagogique.scss | 10 +- src/styles/components/_moduleactivite.scss | 12 +- src/styles/components/_moduleia.scss | 10 +- .../components/_modules_mes_documents.scss | 10 +- .../_moduleselectionapprenants.scss | 10 +- .../_moduleselectionevaluationapprenants.scss | 10 +- .../components/_modulesessionevaluation.scss | 10 +- .../_modulesessionplanification.scss | 10 +- .../components/_mon_tableau_de_bord.scss | 8 +- src/styles/components/_note_evaluation.scss | 12 +- .../components/_partner_catalog_pub.scss | 16 +- src/styles/components/_partner_commande.scss | 10 +- .../_partner_configiguration_formulaires.scss | 10 +- .../_partner_configuration_jours_travail.scss | 12 +- .../_partner_configuration_session_step.scss | 10 +- .../_partner_configuration_technique.scss | 10 +- .../_partner_domaine_categorie_metier.scss | 10 +- src/styles/components/_partner_facture.scss | 10 +- ..._partner_ftion_initiale_configuration.scss | 10 +- .../components/_partner_prix_achat.scss | 8 +- .../components/_partner_product_service.scss | 12 +- src/styles/components/_quisommesnous_v2.scss | 2 +- src/styles/components/_quisommesnous_v3.scss | 2 +- src/styles/components/_quisommesnous_v4.scss | 2 +- .../components/_session_admission_fi.scss | 12 +- src/styles/components/_surveydocument.scss | 10 +- src/styles/components/_test_drag_drop.scss | 10 +- src/styles/components/_testurl_new.scss | 12 +- .../components/_updateattendeelist.scss | 10 +- src/styles/components/_updateuserinfo.scss | 8 +- 165 files changed, 5701 insertions(+), 3541 deletions(-) diff --git a/src/components/Abonnement.js b/src/components/Abonnement.js index ef476cc..b60cc13 100644 --- a/src/components/Abonnement.js +++ b/src/components/Abonnement.js @@ -414,25 +414,25 @@ function Abonnement(props) { //document.getElementsByName("nom")[0].style.backgroundColor = "#FFFFFF"; document.getElementsByName("telephone")[0].disabled = true; - //document.getElementsByName("telephone")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("telephone")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("email")[0].disabled = true; - // document.getElementsByName("email")[0].style.backgroundColor = "#ECEFF1"; + // document.getElementsByName("email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_street")[0].disabled = true; - //document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_zip")[0].disabled = true; - //document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_city")[0].disabled = true; - //document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_country")[0].disabled = true; - //document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("vat_num")[0].disabled = true; - //document.getElementsByName("vat_num")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("vat_num")[0].style.backgroundColor = "#f8f9fa"; } const [getCurrentUserData_result, setgetCurrentUserData_result] = useState([]); @@ -493,55 +493,55 @@ function Abonnement(props) { document.getElementsByName("vat_num")[0].disabled = true; - document.getElementsByName("vat_num")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("vat_num")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_vat_num) { document.getElementsByName("vat_num")[0].value = mylocaltraining.invoice_vat_num; } document.getElementsByName("nom")[0].disabled = true; - document.getElementsByName("nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nom")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_nom) { document.getElementsByName("nom")[0].value = mylocaltraining.invoice_nom; } document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_adr_street) { document.getElementsByName("adr_street")[0].value = mylocaltraining.invoice_adr_street; } document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_adr_city) { document.getElementsByName("adr_city")[0].value = mylocaltraining.invoice_adr_city; } document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_adr_zip) { document.getElementsByName("adr_zip")[0].value = mylocaltraining.invoice_adr_zip; } document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_adr_country) { document.getElementsByName("adr_country")[0].value = mylocaltraining.invoice_adr_country; } document.getElementsByName("email")[0].disabled = true; - document.getElementsByName("email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("email")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_email) { document.getElementsByName("email")[0].value = mylocaltraining.invoice_email; } document.getElementsByName("telephone")[0].disabled = true; - document.getElementsByName("telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("telephone")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_telephone) { document.getElementsByName("telephone")[0].value = mylocaltraining.invoice_telephone; diff --git a/src/components/AddClassManual.js b/src/components/AddClassManual.js index 74695de..08c869c 100644 --- a/src/components/AddClassManual.js +++ b/src/components/AddClassManual.js @@ -7094,7 +7094,7 @@ const AddClassManual = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} diff --git a/src/components/AddClassManual_ARG.js b/src/components/AddClassManual_ARG.js index 5033306..3687829 100644 --- a/src/components/AddClassManual_ARG.js +++ b/src/components/AddClassManual_ARG.js @@ -6687,7 +6687,7 @@ const AddClassManual_ARG = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} diff --git a/src/components/AddPartnerClient.js b/src/components/AddPartnerClient.js index b55a46c..fcd08df 100644 --- a/src/components/AddPartnerClient.js +++ b/src/components/AddPartnerClient.js @@ -1894,97 +1894,97 @@ const AddParnerClient = (props) => { function Disable_fields() { if (document.getElementsByName("client_email") && document.getElementsByName("client_email")[0]) { document.getElementsByName("client_email")[0].disabled = true; - document.getElementsByName("client_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_nom") && document.getElementsByName("client_nom")[0]) { document.getElementsByName("client_nom")[0].disabled = true; - document.getElementsByName("client_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_raison_sociale") && document.getElementsByName("client_raison_sociale")[0]) { document.getElementsByName("client_raison_sociale")[0].disabled = true; - document.getElementsByName("client_raison_sociale")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_raison_sociale")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_adresse") && document.getElementsByName("client_adresse")[0]) { document.getElementsByName("client_adresse")[0].disabled = true; - document.getElementsByName("client_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_ville") && document.getElementsByName("client_ville")[0]) { document.getElementsByName("client_ville")[0].disabled = true; - document.getElementsByName("client_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_pays") && document.getElementsByName("client_pays")[0]) { document.getElementsByName("client_pays")[0].disabled = true; - document.getElementsByName("client_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_email") && document.getElementsByName("client_pays")[0]) { document.getElementsByName("client_email")[0].disabled = true; - document.getElementsByName("client_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_siret") && document.getElementsByName("client_pays")[0]) { document.getElementsByName("client_siret")[0].disabled = true; - document.getElementsByName("client_siret")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_siret")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_type_id") && document.getElementsByName("client_type_id")[0]) { document.getElementsByName("client_type_id")[0].disabled = true; - document.getElementsByName("client_type_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_type_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_groupe_id") && document.getElementsByName("client_groupe_id")[0]) { document.getElementsByName("client_groupe_id")[0].disabled = true; - document.getElementsByName("client_groupe_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_groupe_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_type_financeur_id") && document.getElementsByName("client_type_financeur_id")[0]) { document.getElementsByName("client_type_financeur_id")[0].disabled = true; - document.getElementsByName("client_type_financeur_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_type_financeur_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_type_pouvoir_public_id") && document.getElementsByName("client_type_pouvoir_public_id")[0]) { document.getElementsByName("client_type_pouvoir_public_id")[0].disabled = true; - document.getElementsByName("client_type_pouvoir_public_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_type_pouvoir_public_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_tva") && document.getElementsByName("client_tva")[0]) { document.getElementsByName("client_tva")[0].disabled = true; - document.getElementsByName("client_tva")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_tva")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_responsable_compte") && document.getElementsByName("client_responsable_compte")[0]) { document.getElementsByName("client_responsable_compte")[0].disabled = true; - document.getElementsByName("client_responsable_compte")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_responsable_compte")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_website") && document.getElementsByName("client_website")[0]) { document.getElementsByName("client_website")[0].disabled = true; - document.getElementsByName("client_website")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_website")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_code_postal") && document.getElementsByName("client_code_postal")[0]) { document.getElementsByName("client_code_postal")[0].disabled = true; - document.getElementsByName("client_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_comment") && document.getElementsByName("client_comment")[0]) { document.getElementsByName("client_comment")[0].disabled = true; - document.getElementsByName("client_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_comment")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_telephone") && document.getElementsByName("client_telephone")[0]) { document.getElementsByName("client_telephone")[0].disabled = true; - document.getElementsByName("client_telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_telephone")[0].style.backgroundColor = "#f8f9fa"; } @@ -2096,70 +2096,70 @@ const AddParnerClient = (props) => { if (document.getElementsByName("contact_email")) { document.getElementsByName("contact_email")[0].disabled = true; - document.getElementsByName("contact_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_nom")) { document.getElementsByName("contact_nom")[0].disabled = true; - document.getElementsByName("contact_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_prenom")) { document.getElementsByName("contact_prenom")[0].disabled = true; - document.getElementsByName("contact_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_fonction")) { document.getElementsByName("contact_fonction")[0].disabled = true; - document.getElementsByName("contact_fonction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_fonction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_civilite")) { document.getElementsByName("contact_civilite")[0].disabled = true; - document.getElementsByName("contact_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_siret")) { document.getElementsByName("contact_siret")[0].disabled = true; - document.getElementsByName("contact_siret")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_siret")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_tva")) { document.getElementsByName("contact_tva")[0].disabled = true; - document.getElementsByName("contact_tva")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_tva")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_adresse")) { document.getElementsByName("contact_adresse")[0].disabled = true; - document.getElementsByName("contact_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_ville")) { document.getElementsByName("contact_ville")[0].disabled = true; - document.getElementsByName("contact_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_code_postal")) { document.getElementsByName("contact_code_postal")[0].disabled = true; - document.getElementsByName("contact_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_pays")) { document.getElementsByName("contact_pays")[0].disabled = true; - document.getElementsByName("contact_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_telephone")) { document.getElementsByName("contact_telephone")[0].disabled = true; - document.getElementsByName("contact_telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_telephone")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_telephone_mobile")) { document.getElementsByName("contact_telephone_mobile")[0].disabled = true; - document.getElementsByName("contact_telephone_mobile")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_telephone_mobile")[0].style.backgroundColor = "#f8f9fa"; } } @@ -2815,61 +2815,61 @@ const AddParnerClient = (props) => { function Disable_invoice_fields() { if (document.getElementsByName("client_invoice_email")) { document.getElementsByName("client_invoice_email")[0].disabled = true; - document.getElementsByName("client_invoice_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_nom")) { document.getElementsByName("client_invoice_nom")[0].disabled = true; - document.getElementsByName("client_invoice_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_client_facture_id") && document.getElementsByName("field_client_facture_id")[0]) { document.getElementsByName("field_client_facture_id")[0].disabled = true; - document.getElementsByName("field_client_facture_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_client_facture_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_siret")) { document.getElementsByName("client_invoice_siret")[0].disabled = true; - document.getElementsByName("client_invoice_siret")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_siret")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_tva")) { document.getElementsByName("client_invoice_tva")[0].disabled = true; - document.getElementsByName("client_invoice_tva")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_tva")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_paiement_condition")) { console.log(" client_invoice_paiement_condition") // document.getElementsByName("client_invoice_paiement_condition")[0].disabled = true; - document.getElementsByName("client_invoice_paiement_condition")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_paiement_condition")[0].style.backgroundColor = "#f8f9fa"; console.log(" client_invoice_paiement_condition 022") } if (document.getElementsByName("client_invoice_adresse")) { document.getElementsByName("client_invoice_adresse")[0].disabled = true; - document.getElementsByName("client_invoice_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_ville")) { document.getElementsByName("client_invoice_ville")[0].disabled = true; - document.getElementsByName("client_invoice_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_code_postal")) { document.getElementsByName("client_invoice_code_postal")[0].disabled = true; - document.getElementsByName("client_invoice_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_pays") && document.getElementsByName("client_invoice_pays")[0]) { document.getElementsByName("client_invoice_pays")[0].disabled = true; - document.getElementsByName("client_invoice_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_pays")[0].style.backgroundColor = "#f8f9fa"; //console.log("iiiiii"); } if (document.getElementsByName("facturation_automatique") && document.getElementsByName("facturation_automatique")[0]) { document.getElementsByName("facturation_automatique")[0].disabled = true; - document.getElementsByName("facturation_automatique")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("facturation_automatique")[0].style.backgroundColor = "#f8f9fa"; } @@ -4862,7 +4862,7 @@ const AddParnerClient = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_client_comment} @@ -5533,7 +5533,7 @@ const AddParnerClient = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_client_comment} @@ -7047,7 +7047,7 @@ const AddParnerClient = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_client_comment} @@ -7661,7 +7661,7 @@ const AddParnerClient = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_client_comment} diff --git a/src/components/AddPartnerClient_ARG_100526.js b/src/components/AddPartnerClient_ARG_100526.js index 1f19090..316a2ca 100644 --- a/src/components/AddPartnerClient_ARG_100526.js +++ b/src/components/AddPartnerClient_ARG_100526.js @@ -1665,92 +1665,92 @@ const AddPartnerClient_ARG_100526 = (props) => { function Disable_fields() { if (document.getElementsByName("client_email") && document.getElementsByName("client_email")[0]) { document.getElementsByName("client_email")[0].disabled = true; - document.getElementsByName("client_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_nom") && document.getElementsByName("client_nom")[0]) { document.getElementsByName("client_nom")[0].disabled = true; - document.getElementsByName("client_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_raison_sociale") && document.getElementsByName("client_raison_sociale")[0]) { document.getElementsByName("client_raison_sociale")[0].disabled = true; - document.getElementsByName("client_raison_sociale")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_raison_sociale")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_adresse") && document.getElementsByName("client_adresse")[0]) { document.getElementsByName("client_adresse")[0].disabled = true; - document.getElementsByName("client_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_ville") && document.getElementsByName("client_ville")[0]) { document.getElementsByName("client_ville")[0].disabled = true; - document.getElementsByName("client_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_pays") && document.getElementsByName("client_pays")[0]) { document.getElementsByName("client_pays")[0].disabled = true; - document.getElementsByName("client_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_email") && document.getElementsByName("client_pays")[0]) { document.getElementsByName("client_email")[0].disabled = true; - document.getElementsByName("client_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_siret") && document.getElementsByName("client_pays")[0]) { document.getElementsByName("client_siret")[0].disabled = true; - document.getElementsByName("client_siret")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_siret")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_type_id") && document.getElementsByName("client_type_id")[0]) { document.getElementsByName("client_type_id")[0].disabled = true; - document.getElementsByName("client_type_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_type_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_groupe_id") && document.getElementsByName("client_groupe_id")[0]) { document.getElementsByName("client_groupe_id")[0].disabled = true; - document.getElementsByName("client_groupe_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_groupe_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_type_financeur_id") && document.getElementsByName("client_type_financeur_id")[0]) { document.getElementsByName("client_type_financeur_id")[0].disabled = true; - document.getElementsByName("client_type_financeur_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_type_financeur_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_type_pouvoir_public_id") && document.getElementsByName("client_type_pouvoir_public_id")[0]) { document.getElementsByName("client_type_pouvoir_public_id")[0].disabled = true; - document.getElementsByName("client_type_pouvoir_public_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_type_pouvoir_public_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_tva") && document.getElementsByName("client_tva")[0]) { document.getElementsByName("client_tva")[0].disabled = true; - document.getElementsByName("client_tva")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_tva")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_website") && document.getElementsByName("client_website")[0]) { document.getElementsByName("client_website")[0].disabled = true; - document.getElementsByName("client_website")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_website")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_code_postal") && document.getElementsByName("client_code_postal")[0]) { document.getElementsByName("client_code_postal")[0].disabled = true; - document.getElementsByName("client_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_comment") && document.getElementsByName("client_comment")[0]) { document.getElementsByName("client_comment")[0].disabled = true; - document.getElementsByName("client_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_comment")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_telephone") && document.getElementsByName("client_telephone")[0]) { document.getElementsByName("client_telephone")[0].disabled = true; - document.getElementsByName("client_telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_telephone")[0].style.backgroundColor = "#f8f9fa"; } @@ -1857,70 +1857,70 @@ const AddPartnerClient_ARG_100526 = (props) => { if (document.getElementsByName("contact_email")) { document.getElementsByName("contact_email")[0].disabled = true; - document.getElementsByName("contact_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_nom")) { document.getElementsByName("contact_nom")[0].disabled = true; - document.getElementsByName("contact_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_prenom")) { document.getElementsByName("contact_prenom")[0].disabled = true; - document.getElementsByName("contact_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_fonction")) { document.getElementsByName("contact_fonction")[0].disabled = true; - document.getElementsByName("contact_fonction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_fonction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_civilite")) { document.getElementsByName("contact_civilite")[0].disabled = true; - document.getElementsByName("contact_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_siret")) { document.getElementsByName("contact_siret")[0].disabled = true; - document.getElementsByName("contact_siret")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_siret")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_tva")) { document.getElementsByName("contact_tva")[0].disabled = true; - document.getElementsByName("contact_tva")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_tva")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_adresse")) { document.getElementsByName("contact_adresse")[0].disabled = true; - document.getElementsByName("contact_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_ville")) { document.getElementsByName("contact_ville")[0].disabled = true; - document.getElementsByName("contact_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_code_postal")) { document.getElementsByName("contact_code_postal")[0].disabled = true; - document.getElementsByName("contact_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_pays")) { document.getElementsByName("contact_pays")[0].disabled = true; - document.getElementsByName("contact_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_telephone")) { document.getElementsByName("contact_telephone")[0].disabled = true; - document.getElementsByName("contact_telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_telephone")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("contact_telephone_mobile")) { document.getElementsByName("contact_telephone_mobile")[0].disabled = true; - document.getElementsByName("contact_telephone_mobile")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("contact_telephone_mobile")[0].style.backgroundColor = "#f8f9fa"; } } @@ -2571,61 +2571,61 @@ const AddPartnerClient_ARG_100526 = (props) => { function Disable_invoice_fields() { if (document.getElementsByName("client_invoice_email")) { document.getElementsByName("client_invoice_email")[0].disabled = true; - document.getElementsByName("client_invoice_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_nom")) { document.getElementsByName("client_invoice_nom")[0].disabled = true; - document.getElementsByName("client_invoice_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_client_facture_id") && document.getElementsByName("field_client_facture_id")[0]) { document.getElementsByName("field_client_facture_id")[0].disabled = true; - document.getElementsByName("field_client_facture_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_client_facture_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_siret")) { document.getElementsByName("client_invoice_siret")[0].disabled = true; - document.getElementsByName("client_invoice_siret")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_siret")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_tva")) { document.getElementsByName("client_invoice_tva")[0].disabled = true; - document.getElementsByName("client_invoice_tva")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_tva")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_paiement_condition")) { console.log(" client_invoice_paiement_condition") // document.getElementsByName("client_invoice_paiement_condition")[0].disabled = true; - document.getElementsByName("client_invoice_paiement_condition")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_paiement_condition")[0].style.backgroundColor = "#f8f9fa"; console.log(" client_invoice_paiement_condition 022") } if (document.getElementsByName("client_invoice_adresse")) { document.getElementsByName("client_invoice_adresse")[0].disabled = true; - document.getElementsByName("client_invoice_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_ville")) { document.getElementsByName("client_invoice_ville")[0].disabled = true; - document.getElementsByName("client_invoice_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_code_postal")) { document.getElementsByName("client_invoice_code_postal")[0].disabled = true; - document.getElementsByName("client_invoice_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("client_invoice_pays")) { document.getElementsByName("client_invoice_pays")[0].disabled = true; - document.getElementsByName("client_invoice_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("client_invoice_pays")[0].style.backgroundColor = "#f8f9fa"; //console.log("iiiiii"); } if (document.getElementsByName("facturation_automatique")) { document.getElementsByName("facturation_automatique")[0].disabled = true; - document.getElementsByName("facturation_automatique")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("facturation_automatique")[0].style.backgroundColor = "#f8f9fa"; } @@ -4422,7 +4422,7 @@ const AddPartnerClient_ARG_100526 = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_client_comment} @@ -5091,7 +5091,7 @@ const AddPartnerClient_ARG_100526 = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_client_comment} diff --git a/src/components/Apprenant.js b/src/components/Apprenant.js index cfd7310..16734c1 100644 --- a/src/components/Apprenant.js +++ b/src/components/Apprenant.js @@ -726,6 +726,10 @@ const Apprenant = (props) => { // fin 04/06/2025 + const [p_detail_nom_fille, setp_detail_nom_fille] = useState(""); + const [p_detail_cvec, setp_detail_cvec] = useState(""); + const [p_detail_handicap_detail, setp_detail_handicap_detail] = useState(""); + const [p_detail_nom, setp_detail_nom] = useState(""); const [p_detail_prenom, setp_detail_prenom] = useState(""); const [p_detail_telephone, setp_detail_telephone] = useState(""); @@ -1348,6 +1352,11 @@ const Apprenant = (props) => { formData.append("object_owner_id", selected_apprenant_id); formData.append("type_document", ""); + var is_secure_file = "0"; + if (securised_file) + is_secure_file = "1" + formData.append("is_secure_file", is_secure_file); + //formData.append("class_internal_url", internal_url); //console.log("token = " + stored_cookie); @@ -1621,7 +1630,7 @@ const Apprenant = (props) => { for (let i = 0; i < liste_champs.length; i++) { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -1868,116 +1877,116 @@ const Apprenant = (props) => { if (document.getElementsByName("field_detail_civilite") && document.getElementsByName("field_detail_civilite")[0]) { document.getElementsByName("field_detail_civilite")[0].disabled = true; - document.getElementsByName("field_detail_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_email") && document.getElementsByName("field_detail_email")[0]) { document.getElementsByName("field_detail_email")[0].disabled = true; - document.getElementsByName("field_detail_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_naissance") && document.getElementsByName("field_detail_naissance")[0]) { document.getElementsByName("field_detail_naissance")[0].disabled = true; - document.getElementsByName("field_detail_naissance")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_naissance")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_nom") && document.getElementsByName("field_detail_nom")[0]) { document.getElementsByName("field_detail_nom")[0].disabled = true; - document.getElementsByName("field_detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_prenom") && document.getElementsByName("field_detail_prenom")[0]) { document.getElementsByName("field_detail_prenom")[0].disabled = true; - document.getElementsByName("field_detail_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_telephone") && document.getElementsByName("field_detail_telephone")[0]) { document.getElementsByName("field_detail_telephone")[0].disabled = true; - document.getElementsByName("field_detail_telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_telephone")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_employeur") && document.getElementsByName("field_detail_employeur")[0]) { document.getElementsByName("field_detail_employeur")[0].disabled = true; - document.getElementsByName("field_detail_employeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_employeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_adresse") && document.getElementsByName("field_detail_adresse")[0]) { document.getElementsByName("field_detail_adresse")[0].disabled = true; - document.getElementsByName("field_detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_code_postal") && document.getElementsByName("field_detail_code_postal")[0]) { document.getElementsByName("field_detail_code_postal")[0].disabled = true; - document.getElementsByName("field_detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_ville") && document.getElementsByName("field_detail_ville")[0]) { document.getElementsByName("field_detail_ville")[0].disabled = true; - document.getElementsByName("field_detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_pays") && document.getElementsByName("field_detail_pays")[0]) { document.getElementsByName("field_detail_pays")[0].disabled = true; - document.getElementsByName("field_detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur1_nom") && document.getElementsByName("field_detail_tuteur1_nom")[0]) { document.getElementsByName("field_detail_tuteur1_nom")[0].disabled = true; - document.getElementsByName("field_detail_tuteur1_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur1_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur1_prenom") && document.getElementsByName("field_detail_tuteur1_prenom")[0]) { document.getElementsByName("field_detail_tuteur1_prenom")[0].disabled = true; - document.getElementsByName("field_detail_tuteur1_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur1_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur1_civilite") && document.getElementsByName("field_detail_tuteur1_civilite")[0]) { //console.log(" iiiiiiiiiiiiiii"); document.getElementsByName("field_detail_tuteur1_civilite")[0].disabled = true; - document.getElementsByName("field_detail_tuteur1_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur1_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur2_civilite") && document.getElementsByName("field_detail_tuteur2_civilite")[0]) { document.getElementsByName("field_detail_tuteur2_civilite")[0].disabled = true; - document.getElementsByName("field_detail_tuteur2_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur2_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur1_email") && document.getElementsByName("field_detail_tuteur1_email")[0]) { document.getElementsByName("field_detail_tuteur1_email")[0].disabled = true; - document.getElementsByName("field_detail_tuteur1_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur1_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur1_telephone") && document.getElementsByName("field_detail_tuteur1_telephone")[0]) { document.getElementsByName("field_detail_tuteur1_telephone")[0].disabled = true; - document.getElementsByName("field_detail_tuteur1_telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur1_telephone")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur2_nom") && document.getElementsByName("field_detail_tuteur2_nom")[0]) { document.getElementsByName("field_detail_tuteur2_nom")[0].disabled = true; - document.getElementsByName("field_detail_tuteur2_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur2_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur2_prenom") && document.getElementsByName("field_detail_tuteur2_prenom")[0]) { document.getElementsByName("field_detail_tuteur2_prenom")[0].disabled = true; - document.getElementsByName("field_detail_tuteur2_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur2_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur2_email") && document.getElementsByName("field_detail_tuteur2_email")[0]) { document.getElementsByName("field_detail_tuteur2_email")[0].disabled = true; - document.getElementsByName("field_detail_tuteur2_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur2_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur2_telephone") && document.getElementsByName("field_detail_tuteur2_telephone")[0]) { document.getElementsByName("field_detail_tuteur2_telephone")[0].disabled = true; - document.getElementsByName("field_detail_tuteur2_telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur2_telephone")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_detail_tuteur2_telephone") && document.getElementsByName("field_detail_tuteur2_telephone")[0]) { document.getElementsByName("field_detail_tuteur2_telephone")[0].disabled = true; - document.getElementsByName("field_detail_tuteur2_telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_detail_tuteur2_telephone")[0].style.backgroundColor = "#f8f9fa"; } const list_champs = ["field_detail_lieu_naissance", "field_detail_departement_naissance", "field_detail_pays_naissance", "field_type_pi", "field_num_pi", @@ -1986,7 +1995,7 @@ const Apprenant = (props) => { for (let i = 0; i < list_champs.length; i++) { if (document.getElementsByName(String(list_champs[i])) && document.getElementsByName(String(list_champs[i]))[0]) { document.getElementsByName(String(list_champs[i]))[0].disabled = true; - document.getElementsByName(String(list_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -1999,7 +2008,7 @@ const Apprenant = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } } @@ -4410,6 +4419,10 @@ const Apprenant = (props) => { const [apprenants_file_change_1_message, setapprenants_file_change_1_message] = useState(); const apprenants_file_change_1 = event => { + setRecord_All_PJ_api(); + setsecurised_file(false); + setp_detail_one_file_to_download_type_name(""); + const fileUploaded = event.target.files[0]; let file_size = event.target.files[0].size; let file_type = event.target.files[0].type; @@ -4418,13 +4431,19 @@ const Apprenant = (props) => { var tab = file_type.split('/'); if (tab.length != 2 || String(tab[1]).toLocaleLowerCase() !== "pdf") { - alert("Seuls les fichier 'pdf' sont autorisés "); + + setdisplay_alert_mysy("1"); + setalert_message("Seuls les fichier 'pdf' sont autorisés "); + setalert_type("error"); return; } 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"); return; } @@ -4441,6 +4460,10 @@ const Apprenant = (props) => { const [liste_apprenants_file_change_message, setliste_apprenants_file_change_message] = useState(); const liste_apprenants_file_change = event => { + setRecord_All_PJ_api(); + setsecurised_file(false); + setp_detail_one_file_to_download_type_name(""); + const fileUploaded = event.target.files[0]; let file_size = event.target.files[0].size; let file_type = event.target.files[0].type; @@ -4880,7 +4903,7 @@ const Apprenant = (props) => { } - + const [securised_file, setsecurised_file] = useState(false); const [file_1_name, setfile_1_name] = useState(); const [file_2_name, setfile_2_name] = useState(); @@ -5671,7 +5694,11 @@ const Apprenant = (props) => { setLoading(false); console.warn('Add_Inscription_List_Apprenant : Not good man :( Add_Inscription_List_Apprenant = ' + error); setAdd_Inscription_List_Apprenant_api("false"); - alert(" Impossible d'inscrire les apprenant à cette session "); + // alert(" Impossible d'inscrire les apprenant à cette session "); + + setdisplay_alert_mysy("1"); + setalert_message(" Impossible d'inscrire les apprenant à cette session "); + setalert_type("error"); }) } @@ -5704,7 +5731,10 @@ const Apprenant = (props) => { //alert("file_size = "+file_size+" file_type = "+file_type+" a = "+a); if (file_size > 10000000) { - alert("L'image ne doit pas dépasser un 1 Méga octets"); + // alert("L'image ne doit pas dépasser un 1 Méga octets"); + setdisplay_alert_mysy("1"); + setalert_message("L'image ne doit pas dépasser un 1 Méga octets"); + setalert_type("error"); return; } setisimgclassSelected(event.target.files[0]); @@ -5748,14 +5778,25 @@ const Apprenant = (props) => { if (String(result['status']) === String("true")) { setrecord_apprenant_Image_api("true"); setuserimgclassprofilchanged(""); - alert(" L'image a été enregistrée "); + + setdisplay_alert_mysy("1"); + setalert_message(" L'image a été enregistrée "); + setalert_type("success"); + + + // alert(" L'image a été enregistrée "); } else if (String(result['status']) === String("Err_Connexion")) { alert('Erreur: ' + result['message']); history.push("/Connexion"); } else { setrecord_apprenant_Image_api("false"); - alert(" Erreur : " + result['message']); + // alert(" Erreur : " + result['message']); + + setdisplay_alert_mysy("1"); + setalert_message(result['message']); + setalert_type("error"); + } }) @@ -5763,7 +5804,10 @@ const Apprenant = (props) => { setLoading(false); console.error('Error:', error); setrecord_apprenant_Image_api("false"); - alert(" Erreur : Impossible d'enregistrer l'image "); + // alert(" Erreur : Impossible d'enregistrer l'image "); + setdisplay_alert_mysy("1"); + setalert_message(" Erreur : Impossible d'enregistrer l'image "); + setalert_type("error"); }); @@ -5822,7 +5866,10 @@ const Apprenant = (props) => { .catch((error) => { setLoading(false); console.error('Error:', error); - alert(" Impossible de supprimer l'image "); + // alert(" Impossible de supprimer l'image "); + setdisplay_alert_mysy("1"); + setalert_message(" Impossible de supprimer l'image "); + setalert_type("error"); }); } @@ -5861,7 +5908,12 @@ const Apprenant = (props) => { if (p_detail_tuteur1_nom && String(p_detail_tuteur1_nom).trim() !== "") form.append("tuteur1_nom", p_detail_tuteur1_nom); else { - alert(" Le nom du tuteur est invalide "); + // alert(" Le nom du tuteur est invalide "); + + setdisplay_alert_mysy("1"); + setalert_message(" Le nom du tuteur est invalide "); + setalert_type("error"); + return; } @@ -5878,20 +5930,29 @@ const Apprenant = (props) => { if (p_detail_tuteur1_prenom && String(p_detail_tuteur1_prenom).trim() !== "") form.append("tuteur1_prenom", p_detail_tuteur1_prenom); else { - alert(" Le prénom du tuteur est invalide "); + // alert(" Le prénom du tuteur est invalide "); + setdisplay_alert_mysy("1"); + setalert_message(" Le prénom du tuteur est invalide "); + setalert_type("error"); return; } if (p_detail_tuteur1_email && String(p_detail_tuteur1_email).trim() !== "") { var validRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; if (!p_detail_tuteur1_email.trim().match(validRegex)) { - alert("L'adresse email du tuteur est invalide."); + // alert("L'adresse email du tuteur est invalide."); + setdisplay_alert_mysy("1"); + setalert_message("L'adresse email du tuteur est invalide."); + setalert_type("error"); return; } form.append("tuteur1_email", p_detail_tuteur1_email.trim()); } else { - alert("L'adresse email du tuteur est invalide."); + //alert("L'adresse email du tuteur est invalide."); + setdisplay_alert_mysy("1"); + setalert_message("L'adresse email du tuteur est invalide."); + setalert_type("error"); return; } @@ -5936,7 +5997,10 @@ const Apprenant = (props) => { if (p_detail_tuteur2_nom && String(p_detail_tuteur2_nom).trim() !== "") form.append("tuteur2_nom", p_detail_tuteur2_nom); else { - alert(" Le nom du tuteur est invalide "); + // alert(" Le nom du tuteur est invalide "); + setdisplay_alert_mysy("1"); + setalert_message(" Le nom du tuteur est invalide "); + setalert_type("error"); return; } @@ -5951,19 +6015,28 @@ const Apprenant = (props) => { if (p_detail_tuteur2_prenom && String(p_detail_tuteur2_prenom).trim() !== "") form.append("tuteur2_prenom", p_detail_tuteur2_prenom); else { - alert(" Le prénom du tuteur est invalide "); + //alert(" Le prénom du tuteur est invalide "); + setdisplay_alert_mysy("1"); + setalert_message(" Le prénom du tuteur est invalide "); + setalert_type("error"); return; } if (p_detail_tuteur2_email && String(p_detail_tuteur2_email).trim() !== "") { var validRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; if (!p_detail_tuteur2_email.trim().match(validRegex)) { - alert("L'adresse email du tuteur est invalide."); + // alert("L'adresse email du tuteur est invalide."); + setdisplay_alert_mysy("1"); + setalert_message("L'adresse email du tuteur est invalide."); + setalert_type("error"); return; } form.append("tuteur2_email", p_detail_tuteur2_email.trim()); } else { - alert("L'adresse email du tuteur est invalide."); + //alert("L'adresse email du tuteur est invalide."); + setdisplay_alert_mysy("1"); + setalert_message("L'adresse email du tuteur est invalide."); + setalert_type("error"); return; } @@ -6036,7 +6109,10 @@ const Apprenant = (props) => { setLoading(false); console.warn('UpdateStagiaireData : Not good man :( mysearchtext = ' + error); setAdd_Update_Apprenant_Tuteur_api("false"); - alert(" Impossible de mettre à jour le tuteur"); + // alert(" Impossible de mettre à jour le tuteur"); + setdisplay_alert_mysy("1"); + setalert_message(" Impossible de mettre à jour le tuteur"); + setalert_type("error"); }) } @@ -6438,7 +6514,7 @@ const Apprenant = (props) => { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -10454,31 +10530,75 @@ const Apprenant = (props) => { } {file_1_name && file_1_name.name && - } + + } {Record_All_PJ_api && String(Record_All_PJ_api) === "true" &&
Pièce jointe enregistrée
} @@ -12184,7 +12304,7 @@ const Apprenant = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -12305,7 +12425,7 @@ const Apprenant = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} diff --git a/src/components/Autre_RH.js b/src/components/Autre_RH.js index a0e90fa..7c9b7e9 100644 --- a/src/components/Autre_RH.js +++ b/src/components/Autre_RH.js @@ -2339,123 +2339,123 @@ const Autre_RH = (props) => { if (document.getElementsByName("detail_lms_login")[0]) { document.getElementsByName("detail_lms_login")[0].disabled = true; - document.getElementsByName("detail_lms_login")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_lms_login")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom")[0]) { document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prenom")[0]) { document.getElementsByName("detail_prenom")[0].disabled = true; - document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mail")[0]) { document.getElementsByName("detail_mail")[0].disabled = true; - document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_naissance")[0]) { document.getElementsByName("detail_naissance")[0].disabled = true; - document.getElementsByName("detail_naissance")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_naissance")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tel")[0]) { document.getElementsByName("detail_tel")[0].disabled = true; - document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_civilite") && document.getElementsByName("detail_civilite")[0]) { document.getElementsByName("detail_civilite")[0].disabled = true; - document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tel_mobile")[0]) { document.getElementsByName("detail_tel_mobile")[0].disabled = true; - document.getElementsByName("detail_tel_mobile")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel_mobile")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_comment")[0]) { document.getElementsByName("detail_comment")[0].disabled = true; - document.getElementsByName("detail_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_comment")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_linkedin")[0]) { document.getElementsByName("detail_linkedin")[0].disabled = true; - document.getElementsByName("detail_linkedin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_linkedin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_facebook")[0]) { document.getElementsByName("detail_facebook")[0].disabled = true; - document.getElementsByName("detail_facebook")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_facebook")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_twitter")[0]) { document.getElementsByName("detail_twitter")[0].disabled = true; - document.getElementsByName("detail_twitter")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_twitter")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_profil")[0]) { document.getElementsByName("detail_profil")[0].disabled = true; - document.getElementsByName("detail_profil")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_profil")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_fonction")[0]) { document.getElementsByName("detail_fonction")[0].disabled = true; - document.getElementsByName("detail_fonction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_fonction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("list_diffusion_mail")[0]) { document.getElementsByName("list_diffusion_mail")[0].disabled = true; - document.getElementsByName("list_diffusion_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("list_diffusion_mail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ismanager")[0]) { document.getElementsByName("detail_ismanager")[0].disabled = true; - document.getElementsByName("detail_ismanager")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ismanager")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_user_login")[0]) { document.getElementsByName("detail_user_login")[0].disabled = true; - document.getElementsByName("detail_user_login")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_user_login")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_resp_hierarchie_id")[0]) { document.getElementsByName("detail_resp_hierarchie_id")[0].disabled = true; - document.getElementsByName("detail_resp_hierarchie_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_resp_hierarchie_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_competence")[0]) { document.getElementsByName("detail_competence")[0].disabled = true; - document.getElementsByName("detail_competence")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_competence")[0].style.backgroundColor = "#f8f9fa"; } @@ -2466,7 +2466,7 @@ const Autre_RH = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } @@ -4112,36 +4112,36 @@ const Autre_RH = (props) => { if (document.getElementsByName("affect_poste")[0]) { document.getElementsByName("affect_poste")[0].disabled = true; - document.getElementsByName("affect_poste")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_poste")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_cible")[0]) { document.getElementsByName("affect_cible")[0].disabled = true; - document.getElementsByName("affect_cible")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_cible")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_cible_nom")[0]) { document.getElementsByName("affect_cible_nom")[0].disabled = true; - document.getElementsByName("affect_cible_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_cible_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_date_du")[0]) { document.getElementsByName("affect_date_du")[0].disabled = true; - document.getElementsByName("affect_date_du")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_date_du")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_date_au")[0]) { document.getElementsByName("affect_date_au")[0].disabled = true; - document.getElementsByName("affect_date_au")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_date_au")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_comment")[0]) { document.getElementsByName("affect_comment")[0].disabled = true; - document.getElementsByName("affect_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_comment")[0].style.backgroundColor = "#f8f9fa"; } } @@ -6582,7 +6582,7 @@ const Autre_RH = (props) => { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -9506,7 +9506,7 @@ const Autre_RH = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} disabled={Boolean(employee_data_edit_mode)} @@ -10123,7 +10123,7 @@ const Autre_RH = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} disabled={Boolean(employee_data_edit_mode)} @@ -10357,7 +10357,7 @@ const Autre_RH = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_one_detail_comment} @@ -10936,7 +10936,7 @@ const Autre_RH = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_one_detail_comment} diff --git a/src/components/CheckOut.js b/src/components/CheckOut.js index 6a901c0..c870b65 100644 --- a/src/components/CheckOut.js +++ b/src/components/CheckOut.js @@ -120,28 +120,28 @@ function CheckOut(props) { function desablefield1() { setfields1desabled(true); document.getElementsByName("nom")[0].disabled = true; - //document.getElementsByName("nom")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("nom")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("telephone")[0].disabled = true; - //document.getElementsByName("telephone")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("telephone")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("email")[0].disabled = true; - // document.getElementsByName("email")[0].style.backgroundColor = "#ECEFF1"; + // document.getElementsByName("email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_street")[0].disabled = true; - //document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_zip")[0].disabled = true; - //document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_city")[0].disabled = true; - //document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_country")[0].disabled = true; - //document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("vat_num")[0].disabled = true; - //document.getElementsByName("vat_num")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("vat_num")[0].style.backgroundColor = "#f8f9fa"; } @@ -189,21 +189,21 @@ function CheckOut(props) { if (mylocaltraining.invoice_vat_num) { document.getElementsByName("vat_num")[0].value = mylocaltraining.invoice_vat_num; document.getElementsByName("vat_num")[0].disabled = true; - document.getElementsByName("vat_num")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("vat_num")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_nom) { document.getElementsByName("nom")[0].value = mylocaltraining.invoice_nom; document.getElementsByName("nom")[0].disabled = true; - document.getElementsByName("nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nom")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_street) { var tmp_val = mylocaltraining.invoice_adr_street; document.getElementsByName("adr_street")[0].value = mylocaltraining.invoice_adr_street; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; if (tmp_val.trim().length <= 0 && (String(props.packs).toLowerCase() !== String("decouverte"))) { @@ -221,7 +221,7 @@ function CheckOut(props) { if (mylocaltraining.invoice_adr_city) { document.getElementsByName("adr_city")[0].value = mylocaltraining.invoice_adr_city; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_adr_city.trim().length <= 0) { document.getElementsByName("adr_city")[0].style.borderColor = "#FF0000"; setokcommande("ko"); @@ -237,7 +237,7 @@ function CheckOut(props) { if (mylocaltraining.invoice_adr_zip) { document.getElementsByName("adr_zip")[0].value = mylocaltraining.invoice_adr_zip; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_adr_zip.trim().length <= 0) { document.getElementsByName("adr_zip")[0].style.borderColor = "#FF0000"; setokcommande("ko"); @@ -253,7 +253,7 @@ function CheckOut(props) { if (mylocaltraining.invoice_adr_country) { document.getElementsByName("adr_country")[0].value = mylocaltraining.invoice_adr_country; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_adr_country.trim().length <= 0) { document.getElementsByName("adr_country")[0].style.borderColor = "#FF0000"; setokcommande("ko"); @@ -269,7 +269,7 @@ function CheckOut(props) { if (mylocaltraining.invoice_email) { document.getElementsByName("email")[0].value = mylocaltraining.invoice_email; document.getElementsByName("email")[0].disabled = true; - document.getElementsByName("email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("email")[0].style.backgroundColor = "#f8f9fa"; if (mylocaltraining.invoice_email.trim().length <= 0) { document.getElementsByName("email")[0].style.borderColor = "#FF0000"; setokcommande("ko"); @@ -286,7 +286,7 @@ function CheckOut(props) { document.getElementsByName("telephone")[0].value = mylocaltraining.invoice_telephone; document.getElementsByName("telephone")[0].disabled = true; - document.getElementsByName("telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("telephone")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/Config_Champs_Personnalise.js b/src/components/Config_Champs_Personnalise.js index 8f47245..f35fbe5 100644 --- a/src/components/Config_Champs_Personnalise.js +++ b/src/components/Config_Champs_Personnalise.js @@ -691,39 +691,39 @@ const Config_Champs_Personnalise = (props) => { if (document.getElementsByName("field_name")[0]) { document.getElementsByName("field_name")[0].disabled = true; - document.getElementsByName("field_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_name")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_label")[0]) { document.getElementsByName("field_label")[0].disabled = true; - document.getElementsByName("field_label")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_label")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("related_collection")[0]) { document.getElementsByName("related_collection")[0].disabled = true; - document.getElementsByName("related_collection")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("related_collection")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("field_type")[0]) { document.getElementsByName("field_type")[0].disabled = true; - document.getElementsByName("field_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("field_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("is_mandatory")[0]) { document.getElementsByName("is_mandatory")[0].disabled = true; - document.getElementsByName("is_mandatory")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("is_mandatory")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("is_displayed")[0]) { document.getElementsByName("is_displayed")[0].disabled = true; - document.getElementsByName("is_displayed")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("is_displayed")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("is_public")[0]) { document.getElementsByName("is_public")[0].disabled = true; - document.getElementsByName("is_public")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("is_public")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/Config_Competence_Pedagogique_Ftion_Initiale.js b/src/components/Config_Competence_Pedagogique_Ftion_Initiale.js index 8919aa8..619e9fd 100644 --- a/src/components/Config_Competence_Pedagogique_Ftion_Initiale.js +++ b/src/components/Config_Competence_Pedagogique_Ftion_Initiale.js @@ -220,17 +220,17 @@ const Config_Competence_Pedagogique_Ftion_Initiale = (props) => { if (document.getElementsByName("detail_config_code")[0]) { document.getElementsByName("detail_config_code")[0].disabled = true; - document.getElementsByName("detail_config_code")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_config_code")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_config_desc")[0]) { document.getElementsByName("detail_config_desc")[0].disabled = true; - document.getElementsByName("detail_config_desc")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_config_desc")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_config_comment")[0]) { document.getElementsByName("detail_config_comment")[0].disabled = true; - document.getElementsByName("detail_config_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_config_comment")[0].style.backgroundColor = "#f8f9fa"; } @@ -292,9 +292,10 @@ const Config_Competence_Pedagogique_Ftion_Initiale = (props) => {

Compétences & Bloc de pédagogiques

- - + + +
diff --git a/src/components/Config_Document.js b/src/components/Config_Document.js index 9058f39..b39e25c 100644 --- a/src/components/Config_Document.js +++ b/src/components/Config_Document.js @@ -883,34 +883,34 @@ const Config_Documents = (props) => { if (document.getElementsByName("document_name")[0]) { document.getElementsByName("document_name")[0].disabled = true; - document.getElementsByName("document_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_name")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("nom_document")[0]) { document.getElementsByName("nom_document")[0].disabled = true; - document.getElementsByName("nom_document")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nom_document")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("document_type")[0]) { document.getElementsByName("document_type")[0].disabled = true; - document.getElementsByName("document_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("document_ref_interne")[0]) { document.getElementsByName("document_ref_interne")[0].disabled = true; - document.getElementsByName("document_ref_interne")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_ref_interne")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("document_sujet")[0]) { document.getElementsByName("document_sujet")[0].disabled = true; - document.getElementsByName("document_sujet")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_sujet")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("document_contente")[0]) { document.getElementsByName("document_contente")[0].disabled = true; - document.getElementsByName("document_contente")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_contente")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/Config_Document_Super_Admin.js b/src/components/Config_Document_Super_Admin.js index 72dd3f4..72d48fc 100644 --- a/src/components/Config_Document_Super_Admin.js +++ b/src/components/Config_Document_Super_Admin.js @@ -827,34 +827,34 @@ const Config_Documents_Super_Admin = (props) => { if (document.getElementsByName("document_name")[0]) { document.getElementsByName("document_name")[0].disabled = true; - document.getElementsByName("document_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_name")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("nom_document")[0]) { document.getElementsByName("nom_document")[0].disabled = true; - document.getElementsByName("nom_document")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nom_document")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("document_type")[0]) { document.getElementsByName("document_type")[0].disabled = true; - document.getElementsByName("document_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("document_ref_interne")[0]) { document.getElementsByName("document_ref_interne")[0].disabled = true; - document.getElementsByName("document_ref_interne")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_ref_interne")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("document_sujet")[0]) { document.getElementsByName("document_sujet")[0].disabled = true; - document.getElementsByName("document_sujet")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_sujet")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("document_contente")[0]) { document.getElementsByName("document_contente")[0].disabled = true; - document.getElementsByName("document_contente")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("document_contente")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/Config_Ref_Pedagogique_Ftion_Initiale.js b/src/components/Config_Ref_Pedagogique_Ftion_Initiale.js index da3d143..5a5fb56 100644 --- a/src/components/Config_Ref_Pedagogique_Ftion_Initiale.js +++ b/src/components/Config_Ref_Pedagogique_Ftion_Initiale.js @@ -243,17 +243,17 @@ const Config_Ref_Pedagogique_Ftion_Initiale = (props) => { if (document.getElementsByName("detail_config_code")[0]) { document.getElementsByName("detail_config_code")[0].disabled = true; - document.getElementsByName("detail_config_code")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_config_code")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_config_desc")[0]) { document.getElementsByName("detail_config_desc")[0].disabled = true; - document.getElementsByName("detail_config_desc")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_config_desc")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_config_comment")[0]) { document.getElementsByName("detail_config_comment")[0].disabled = true; - document.getElementsByName("detail_config_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_config_comment")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/Conseil_Classe.js b/src/components/Conseil_Classe.js index 934cf40..7a7ffa8 100644 --- a/src/components/Conseil_Classe.js +++ b/src/components/Conseil_Classe.js @@ -1679,7 +1679,7 @@ const Conseil_Classe = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -3093,7 +3093,7 @@ const Conseil_Classe = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -6873,7 +6873,7 @@ const Conseil_Classe = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_class_conseil_observation} @@ -6970,7 +6970,7 @@ const Conseil_Classe = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_jury_observation} @@ -6992,7 +6992,7 @@ const Conseil_Classe = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_jury_note} @@ -7013,7 +7013,7 @@ const Conseil_Classe = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_jury_validation} @@ -9754,20 +9754,20 @@ const Conseil_Classe = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } @@ -10437,20 +10437,20 @@ const Conseil_Classe = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } @@ -11789,7 +11789,7 @@ const Conseil_Classe = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_soutenance_sujet} @@ -11810,7 +11810,7 @@ const Conseil_Classe = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_soutenance_observation} @@ -11829,7 +11829,7 @@ const Conseil_Classe = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_soutenance_note} @@ -11852,7 +11852,7 @@ const Conseil_Classe = (props) => { maxRows={4} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_soutenance_sujet} @@ -11877,7 +11877,7 @@ const Conseil_Classe = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_soutenance_observation} @@ -11899,7 +11899,7 @@ const Conseil_Classe = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_soutenance_note} diff --git a/src/components/Crm_Opportunite.js b/src/components/Crm_Opportunite.js index cfccd7b..dff952c 100644 --- a/src/components/Crm_Opportunite.js +++ b/src/components/Crm_Opportunite.js @@ -1752,7 +1752,7 @@ const CRM_Opportunite = (props) => { id="dialog_opport_desc" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '7rem', height: '7rem', minHeight: '7rem', marginBottom: '3rem' }} value={p_detail_description} diff --git a/src/components/DisplayDetailArticle.js b/src/components/DisplayDetailArticle.js index 9f9bd2d..2373c42 100644 --- a/src/components/DisplayDetailArticle.js +++ b/src/components/DisplayDetailArticle.js @@ -443,24 +443,24 @@ const DisplayDetailArticle = (props) => { if (document.getElementsByName("mytitle")[0]) { document.getElementsByName("mytitle")[0].disabled = true; - document.getElementsByName("mytitle")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mytitle")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("url")[0]) { document.getElementsByName("url")[0].disabled = true; - document.getElementsByName("url")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("url")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("avis")[0]) { document.getElementsByName("avis")[0].disabled = true; - document.getElementsByName("avis")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("avis")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("note")[0]) { document.getElementsByName("note")[0].disabled = true; - document.getElementsByName("note")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("note")[0].style.backgroundColor = "#f8f9fa"; } } diff --git a/src/components/DisplayPartnerPromotion.js b/src/components/DisplayPartnerPromotion.js index 5f885c0..8e5424d 100644 --- a/src/components/DisplayPartnerPromotion.js +++ b/src/components/DisplayPartnerPromotion.js @@ -253,9 +253,9 @@ const DisplayPartnerPromotion = (props) => { }).format(Number(local_amount)); } - function local_format_monetaire_v2(local_amount) { + function local_format_monetaire_v2(local_amount) { if (isNaN(parseFloat(local_amount))) { - return "—" + return "—" } else { return new Intl.NumberFormat('fr-FR', { minimumFractionDigits: 0, @@ -267,19 +267,19 @@ const DisplayPartnerPromotion = (props) => { function ExpandableCell_String_to_monetaire({ value }) { var new_val = String(value).replaceAll(" ", ''); - const [expanded, setExpanded] = React.useState(false); - - const number = parseFloat(new_val); - - var new_value = "" - if (isNaN(number)) { - new_value = "—" - } else { - new_value = new Intl.NumberFormat('fr-FR', { - minimumFractionDigits: 2, - maximumFractionDigits: 2, - }).format(number); - } + const [expanded, setExpanded] = React.useState(false); + + const number = parseFloat(new_val); + + var new_value = "" + if (isNaN(number)) { + new_value = "—" + } else { + new_value = new Intl.NumberFormat('fr-FR', { + minimumFractionDigits: 2, + maximumFractionDigits: 2, + }).format(number); + } @@ -442,7 +442,7 @@ const DisplayPartnerPromotion = (props) => { { field: 'nb_inscrit', headerName: 'Insc', minWidth: 20, align: "center", hide: true, hideable: true, renderCell: (params) => , }, { field: 'nb_preinscrit', headerName: 'Preinsc.', minWidth: 20, align: "center", hide: true, hideable: true, renderCell: (params) => , }, { - field: 'prix_session', headerName: 'Scolarité', minWidth: 50, align:'right', hide: false, + field: 'prix_session', headerName: 'Scolarité', minWidth: 50, align: 'right', hide: false, renderCell: (params) => , }, { field: 'title', headerName: 'Formation', minWidth: 250, flex: 1, align: "center", hide: true, hideable: true, renderCell: (params) => , }, @@ -820,10 +820,11 @@ const DisplayPartnerPromotion = (props) => { ); }, }, - { field: 'amount', headerName: 'Prix', minWidth: 100, flex: 1, maxWidth: 150, type: 'number', flex: 1, editable: true, - align:'right', + { + field: 'amount', headerName: 'Prix', minWidth: 150, flex: 1, maxWidth: 250, type: 'number', flex: 1, editable: true, + align: 'right', renderCell: (params) => , - + }, { field: "update", headerName: 'Mise à jour', @@ -1362,7 +1363,10 @@ const DisplayPartnerPromotion = (props) => { { field: 'employeur', headerName: 'Employeur', minWidth: 150, flex: 1, maxWidth: 200, hide: true, editable: false }, { field: 'opco', headerName: 'Centre Opco', minWidth: 100, flex: 1, maxWidth: 150, hide: true, editable: false }, { field: 'modefinancement', headerName: 'Financement', minWidth: 100, flex: 1, maxWidth: 150, hide: true, editable: false }, - { field: 'amount', headerName: 'Prix', minWidth: 100, flex: 1, maxWidth: 100, type: 'number', flex: 1, editable: true }, + { field: 'amount', headerName: 'Prix', minWidth: 150, flex: 1, maxWidth: 250, type: 'number', flex: 1, editable: false , + align: 'right', + renderCell: (params) => , + }, { field: 'invoiced', headerName: 'Facturé', minWidth: 100, flex: 1, maxWidth: 100, hide: true, editable: false, @@ -6039,139 +6043,139 @@ const DisplayPartnerPromotion = (props) => { if (document.getElementsByName("myclass_title") && document.getElementsByName("myclass_title")[0]) { document.getElementsByName("myclass_title")[0].disabled = true; - document.getElementsByName("myclass_title")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("myclass_title")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_session") && document.getElementsByName("code_session")[0]) { document.getElementsByName("code_session")[0].disabled = true; - document.getElementsByName("code_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_status")[0]) { document.getElementsByName("session_status")[0].disabled = true; - document.getElementsByName("session_status")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_status")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_etape")[0]) { document.getElementsByName("session_etape")[0].disabled = true; - document.getElementsByName("session_etape")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_etape")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebut")[0]) { document.getElementsByName("sessiondatedebut")[0].disabled = true; - document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefin")[0]) { document.getElementsByName("sessiondatefin")[0].disabled = true; - document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("adresse")[0]) { document.getElementsByName("adresse")[0].disabled = true; - document.getElementsByName("adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("pays")[0]) { document.getElementsByName("pays")[0].disabled = true; - document.getElementsByName("pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur")[0]) { document.getElementsByName("formateur")[0].disabled = true; - document.getElementsByName("formateur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur_label")[0]) { document.getElementsByName("formateur_label")[0].disabled = true; - document.getElementsByName("formateur_label")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur_label")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur_id")[0]) { document.getElementsByName("formateur_id")[0].disabled = true; - document.getElementsByName("formateur_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("nb_participant")[0]) { document.getElementsByName("nb_participant")[0].disabled = true; - document.getElementsByName("nb_participant")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nb_participant")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("prix_session")[0]) { document.getElementsByName("prix_session")[0].disabled = true; - document.getElementsByName("prix_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("prix_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("prix_session_by")[0]) { document.getElementsByName("prix_session_by")[0].disabled = true; - document.getElementsByName("prix_session_by")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("prix_session_by")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("titre_session")[0]) { document.getElementsByName("titre_session")[0].disabled = true; - document.getElementsByName("titre_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("titre_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("emplacement_session")[0]) { document.getElementsByName("emplacement_session")[0].disabled = true; - document.getElementsByName("emplacement_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("emplacement_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("is_bpf_session")[0]) { document.getElementsByName("is_bpf_session")[0].disabled = true; - document.getElementsByName("is_bpf_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("is_bpf_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_ondemande")[0]) { document.getElementsByName("session_ondemande")[0].disabled = true; - document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("mode_animation")[0]) { document.getElementsByName("mode_animation")[0].disabled = true; - document.getElementsByName("mode_animation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mode_animation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("presentiel")[0]) { document.getElementsByName("presentiel")[0].disabled = true; - document.getElementsByName("presentiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("presentiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("distantiel")[0]) { document.getElementsByName("distantiel")[0].disabled = true; - document.getElementsByName("distantiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("distantiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebutinscription")[0]) { document.getElementsByName("sessiondatedebutinscription")[0].disabled = true; - document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefininscription")[0]) { document.getElementsByName("sessiondatefininscription")[0].disabled = true; - document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("site_formation")[0]) { document.getElementsByName("site_formation")[0].disabled = true; - document.getElementsByName("site_formation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("site_formation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("entree_scolaire")[0]) { document.getElementsByName("entree_scolaire")[0].disabled = true; - document.getElementsByName("entree_scolaire")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("entree_scolaire")[0].style.backgroundColor = "#f8f9fa"; } @@ -6187,7 +6191,7 @@ const DisplayPartnerPromotion = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } } @@ -9188,15 +9192,15 @@ const DisplayPartnerPromotion = (props) => { function desableAttendeeDetailFields() { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_incr_date")[0].disabled = true; - document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } @@ -9247,137 +9251,137 @@ const DisplayPartnerPromotion = (props) => { if (document.getElementsByName("detail_session_class")[0]) { document.getElementsByName("detail_session_class")[0].disabled = true; - document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_client_rattachement")[0]) { document.getElementsByName("detail_client_rattachement")[0].disabled = true; - document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom")[0]) { document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_status_inscript")[0]) { document.getElementsByName("detail_status_inscript")[0].disabled = true; - document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_opco")[0]) { document.getElementsByName("detail_opco")[0].disabled = true; - document.getElementsByName("detail_opco")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_opco")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_fin")[0]) { document.getElementsByName("detail_mode_fin")[0].disabled = true; - document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_employeur")[0]) { document.getElementsByName("detail_employeur")[0].disabled = true; - document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cout")[0]) { document.getElementsByName("detail_cout")[0].disabled = true; - document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cout")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prenom")[0]) { document.getElementsByName("detail_prenom")[0].disabled = true; - document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mail")[0]) { document.getElementsByName("detail_mail")[0].disabled = true; - document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tel")[0]) { document.getElementsByName("detail_tel")[0].disabled = true; - document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cout")[0]) { document.getElementsByName("detail_cout")[0].disabled = true; - document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cout")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_fin")[0]) { document.getElementsByName("detail_mode_fin")[0].disabled = true; - document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_employeur")[0]) { document.getElementsByName("detail_employeur")[0].disabled = true; - document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("date_evaluation")[0]) { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("certif_date")[0]) { document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("note_eval")[0]) { document.getElementsByName("note_eval")[0].disabled = true; - document.getElementsByName("note_eval")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("note_eval")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("date_evaluation")[0]) { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_incr_date")[0]) { document.getElementsByName("detail_incr_date")[0].disabled = true; - document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("certif_date")[0]) { document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } @@ -9388,7 +9392,7 @@ const DisplayPartnerPromotion = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } @@ -16375,7 +16379,7 @@ const DisplayPartnerPromotion = (props) => { disabled={Boolean(parseInt(selected_inscription_invoice_status))} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_inscription_memo} @@ -16398,7 +16402,7 @@ const DisplayPartnerPromotion = (props) => { maxRows={5} disabled={Boolean(parseInt(selected_inscription_invoice_status))} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_inscription_comment} @@ -16623,7 +16627,7 @@ const DisplayPartnerPromotion = (props) => { maxLength={200} placeholder="200 caractères maximum" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '4rem', minHeight: '4rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -17011,7 +17015,7 @@ const DisplayPartnerPromotion = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -23121,22 +23125,22 @@ const DisplayPartnerPromotion = (props) => { if (document.getElementsByName("adresse")[0]) { document.getElementsByName("adresse")[0].disabled = true; - document.getElementsByName("adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("pays")[0]) { document.getElementsByName("pays")[0].disabled = true; - document.getElementsByName("pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("pays")[0].style.backgroundColor = "#f8f9fa"; } } else { @@ -23634,7 +23638,7 @@ const DisplayPartnerPromotion = (props) => { IssessionChanged(); }} /> - + @@ -24119,22 +24123,22 @@ const DisplayPartnerPromotion = (props) => { if (document.getElementsByName("one_adresse")[0]) { document.getElementsByName("one_adresse")[0].disabled = true; - document.getElementsByName("one_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("one_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("one_code_postal")[0]) { document.getElementsByName("one_code_postal")[0].disabled = true; - document.getElementsByName("one_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("one_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("one_ville")[0]) { document.getElementsByName("one_ville")[0].disabled = true; - document.getElementsByName("one_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("one_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("one_pays")[0]) { document.getElementsByName("one_pays")[0].disabled = true; - document.getElementsByName("one_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("one_pays")[0].style.backgroundColor = "#f8f9fa"; } } else { @@ -25414,7 +25418,7 @@ const DisplayPartnerPromotion = (props) => { setp_one_detail_client_rattachement_id(value._id); setp_one_detail_client_rattachement_nom(value.nom); Dialog_1_handle_change_participant_session(" Attention, vous allez modifier le client de rattachement du participant. Pensez à mettre à jour le client à facturer s'il est différent du client principal"); - + if (value.client_facturation_id && value.client_facturation_id !== "") { setp_one_detail_facture_client_rattachement_id(value.client_facturation_id); @@ -26525,7 +26529,7 @@ const DisplayPartnerPromotion = (props) => { setp_one_detail_client_rattachement_id(value._id); setp_one_detail_client_rattachement_nom(value.nom); Dialog_1_handle_change_participant_session(" Attention, vous allez modifier le client de rattachement du participant. Pensez à mettre à jour le client à facturer s'il est différent du client principal"); - + if (value.client_facturation_id && value.client_facturation_id !== "") { setp_one_detail_facture_client_rattachement_id(value.client_facturation_id); } else { @@ -26926,6 +26930,13 @@ const DisplayPartnerPromotion = (props) => { color: "#0a2a4d", fontSize: '14px', fontFamily: 'DM Sans', + }, '& .line--statut--pair': { + backgroundColor: 'rgba(235, 235, 235, .7)', + color: '#0a2a4d', + }, + '& .line--statut--impair': { + backgroundColor: '#FFFFFF', + color: '#0a2a4d', }, @@ -26988,7 +26999,6 @@ const DisplayPartnerPromotion = (props) => { getCellClassName={(params) => { // Pour la gestion de la couleur si la ligne est facturée if (String(params.row.invoiced) === "1") { - return 'line--statut--invoiced'; } }} @@ -27027,6 +27037,16 @@ const DisplayPartnerPromotion = (props) => { }, }} + getRowClassName={(params) => { + + if (parseInt(String(params.row.id)) % 2 === 0) { + return 'line--statut--pair'; + } + else if (parseInt(String(params.row.id)) % 2 !== 0) { + return 'line--statut--impair'; + } + }} + /> {String(props.check_user_acces_right("session", "write")) === "1" && selectionModel_insc && selectionModel_insc.length >= 1 && @@ -27409,10 +27429,10 @@ const DisplayPartnerPromotion = (props) => { if (value._id !== p_detail_client_rattachement_id) { if (value.client_facturation_id && value.client_facturation_id !== "") { - setp_detail_facture_client_rattachement_id(value.client_facturation_id); - } else { - setp_detail_facture_client_rattachement_id(value._id); - } + setp_detail_facture_client_rattachement_id(value.client_facturation_id); + } else { + setp_detail_facture_client_rattachement_id(value._id); + } } @@ -27775,22 +27795,22 @@ const DisplayPartnerPromotion = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("pays")[0]) { document.getElementsByName("pays")[0].disabled = true; - document.getElementsByName("pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("pays")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/DisplayPartnerSession.js b/src/components/DisplayPartnerSession.js index e7ccc81..620eecd 100644 --- a/src/components/DisplayPartnerSession.js +++ b/src/components/DisplayPartnerSession.js @@ -309,20 +309,20 @@ const DisplayPartnerSession = (props) => { function ExpandableCell_String_to_monetaire({ value }) { - var new_val = String(value).replaceAll(" ", ''); - const [expanded, setExpanded] = React.useState(false); - - const number = parseFloat(new_val); - - var new_value = "" - if (isNaN(number)) { - new_value = "—" - } else { - new_value = new Intl.NumberFormat('fr-FR', { - minimumFractionDigits: 2, - maximumFractionDigits: 2, - }).format(number); - } + var new_val = String(value).replaceAll(" ", ''); + const [expanded, setExpanded] = React.useState(false); + + const number = parseFloat(new_val); + + var new_value = "" + if (isNaN(number)) { + new_value = "—" + } else { + new_value = new Intl.NumberFormat('fr-FR', { + minimumFractionDigits: 2, + maximumFractionDigits: 2, + }).format(number); + } @@ -894,7 +894,7 @@ const DisplayPartnerSession = (props) => { }, }, { - field: 'amount', headerName: 'Prix', minWidth: 100, flex: 1, maxWidth: 150, type: 'number', flex: 1, editable: false, + field: 'amount', headerName: 'Prix', minWidth: 150, flex: 1, maxWidth: 250, type: 'number', flex: 1, editable: false, align: 'right', renderCell: (params) => , }, @@ -1469,7 +1469,11 @@ const DisplayPartnerSession = (props) => { { field: 'employeur', headerName: 'Employeur', minWidth: 150, flex: 1, maxWidth: 200, hide: true, editable: false }, { field: 'opco', headerName: 'Centre Opco', minWidth: 100, flex: 1, maxWidth: 150, hide: true, editable: false }, { field: 'modefinancement', headerName: 'Financement', minWidth: 100, flex: 1, maxWidth: 150, hide: true, editable: false }, - { field: 'amount', headerName: 'Prix', minWidth: 100, flex: 1, maxWidth: 100, type: 'number', flex: 1, editable: false }, + { + field: 'amount', headerName: 'Prix', minWidth: 150, flex: 1, maxWidth: 250, type: 'number', flex: 1, editable: false, + align: 'right', + renderCell: (params) => , + }, { field: 'comment_or_memo', headerName: 'Memo & Comment.', Width: 50, hide: false, editable: false, @@ -6156,134 +6160,134 @@ const DisplayPartnerSession = (props) => { if (document.getElementsByName("myclass_title") && document.getElementsByName("myclass_title")[0]) { document.getElementsByName("myclass_title")[0].disabled = true; - document.getElementsByName("myclass_title")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("myclass_title")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_session") && document.getElementsByName("code_session")[0]) { document.getElementsByName("code_session")[0].disabled = true; - document.getElementsByName("code_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_status")[0]) { document.getElementsByName("session_status")[0].disabled = true; - document.getElementsByName("session_status")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_status")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_etape")[0]) { document.getElementsByName("session_etape")[0].disabled = true; - document.getElementsByName("session_etape")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_etape")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebut")[0]) { document.getElementsByName("sessiondatedebut")[0].disabled = true; - document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefin")[0]) { document.getElementsByName("sessiondatefin")[0].disabled = true; - document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("adresse")[0]) { document.getElementsByName("adresse")[0].disabled = true; - document.getElementsByName("adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("pays")[0]) { document.getElementsByName("pays")[0].disabled = true; - document.getElementsByName("pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur")[0]) { document.getElementsByName("formateur")[0].disabled = true; - document.getElementsByName("formateur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur_label")[0]) { document.getElementsByName("formateur_label")[0].disabled = true; - document.getElementsByName("formateur_label")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur_label")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur_id")[0]) { document.getElementsByName("formateur_id")[0].disabled = true; - document.getElementsByName("formateur_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("nb_participant")[0]) { document.getElementsByName("nb_participant")[0].disabled = true; - document.getElementsByName("nb_participant")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nb_participant")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("prix_session")[0]) { document.getElementsByName("prix_session")[0].disabled = true; - document.getElementsByName("prix_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("prix_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("prix_session_by")[0]) { document.getElementsByName("prix_session_by")[0].disabled = true; - document.getElementsByName("prix_session_by")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("prix_session_by")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("titre_session")[0]) { document.getElementsByName("titre_session")[0].disabled = true; - document.getElementsByName("titre_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("titre_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("emplacement_session")[0]) { document.getElementsByName("emplacement_session")[0].disabled = true; - document.getElementsByName("emplacement_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("emplacement_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("is_bpf_session")[0]) { document.getElementsByName("is_bpf_session")[0].disabled = true; - document.getElementsByName("is_bpf_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("is_bpf_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_ondemande")[0]) { document.getElementsByName("session_ondemande")[0].disabled = true; - document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("mode_animation")[0]) { document.getElementsByName("mode_animation")[0].disabled = true; - document.getElementsByName("mode_animation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mode_animation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("presentiel")[0]) { document.getElementsByName("presentiel")[0].disabled = true; - document.getElementsByName("presentiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("presentiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("distantiel")[0]) { document.getElementsByName("distantiel")[0].disabled = true; - document.getElementsByName("distantiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("distantiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebutinscription")[0]) { document.getElementsByName("sessiondatedebutinscription")[0].disabled = true; - document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefininscription")[0]) { document.getElementsByName("sessiondatefininscription")[0].disabled = true; - document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("site_formation")[0]) { document.getElementsByName("site_formation")[0].disabled = true; - document.getElementsByName("site_formation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("site_formation")[0].style.backgroundColor = "#f8f9fa"; } @@ -6299,7 +6303,7 @@ const DisplayPartnerSession = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } } @@ -9432,15 +9436,15 @@ const DisplayPartnerSession = (props) => { function desableAttendeeDetailFields() { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_incr_date")[0].disabled = true; - document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } @@ -9491,137 +9495,137 @@ const DisplayPartnerSession = (props) => { if (document.getElementsByName("detail_session_class")[0]) { document.getElementsByName("detail_session_class")[0].disabled = true; - document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_client_rattachement")[0]) { document.getElementsByName("detail_client_rattachement")[0].disabled = true; - document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom")[0]) { document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_status_inscript")[0]) { document.getElementsByName("detail_status_inscript")[0].disabled = true; - document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_opco")[0]) { document.getElementsByName("detail_opco")[0].disabled = true; - document.getElementsByName("detail_opco")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_opco")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_fin")[0]) { document.getElementsByName("detail_mode_fin")[0].disabled = true; - document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_employeur")[0]) { document.getElementsByName("detail_employeur")[0].disabled = true; - document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cout")[0]) { document.getElementsByName("detail_cout")[0].disabled = true; - document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cout")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prenom")[0]) { document.getElementsByName("detail_prenom")[0].disabled = true; - document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mail")[0]) { document.getElementsByName("detail_mail")[0].disabled = true; - document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tel")[0]) { document.getElementsByName("detail_tel")[0].disabled = true; - document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cout")[0]) { document.getElementsByName("detail_cout")[0].disabled = true; - document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cout")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_fin")[0]) { document.getElementsByName("detail_mode_fin")[0].disabled = true; - document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_employeur")[0]) { document.getElementsByName("detail_employeur")[0].disabled = true; - document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("date_evaluation")[0]) { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("certif_date")[0]) { document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("note_eval")[0]) { document.getElementsByName("note_eval")[0].disabled = true; - document.getElementsByName("note_eval")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("note_eval")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("date_evaluation")[0]) { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_incr_date")[0]) { document.getElementsByName("detail_incr_date")[0].disabled = true; - document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("certif_date")[0]) { document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } @@ -9632,7 +9636,7 @@ const DisplayPartnerSession = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } @@ -16411,7 +16415,7 @@ const DisplayPartnerSession = (props) => { disabled={Boolean(parseInt(selected_inscription_invoice_status))} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '6rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_session_mode_animation_detail_organisation} @@ -16656,7 +16660,7 @@ const DisplayPartnerSession = (props) => { disabled={Boolean(parseInt(selected_inscription_invoice_status))} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_inscription_memo} @@ -16679,7 +16683,7 @@ const DisplayPartnerSession = (props) => { maxRows={5} disabled={Boolean(parseInt(selected_inscription_invoice_status))} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_inscription_comment} @@ -16905,7 +16909,7 @@ const DisplayPartnerSession = (props) => { maxLength={200} placeholder="200 caractères maximum" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '4rem', minHeight: '4rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -17294,7 +17298,7 @@ const DisplayPartnerSession = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -23563,22 +23567,22 @@ const DisplayPartnerSession = (props) => { if (document.getElementsByName("adresse")[0]) { document.getElementsByName("adresse")[0].disabled = true; - document.getElementsByName("adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("pays")[0]) { document.getElementsByName("pays")[0].disabled = true; - document.getElementsByName("pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("pays")[0].style.backgroundColor = "#f8f9fa"; } } else { @@ -24614,22 +24618,22 @@ const DisplayPartnerSession = (props) => { if (document.getElementsByName("one_adresse")[0]) { document.getElementsByName("one_adresse")[0].disabled = true; - document.getElementsByName("one_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("one_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("one_code_postal")[0]) { document.getElementsByName("one_code_postal")[0].disabled = true; - document.getElementsByName("one_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("one_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("one_ville")[0]) { document.getElementsByName("one_ville")[0].disabled = true; - document.getElementsByName("one_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("one_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("one_pays")[0]) { document.getElementsByName("one_pays")[0].disabled = true; - document.getElementsByName("one_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("one_pays")[0].style.backgroundColor = "#f8f9fa"; } } else { @@ -27533,7 +27537,6 @@ const DisplayPartnerSession = (props) => { getCellClassName={(params) => { // Pour la gestion de la couleur si la ligne est facturée if (String(params.row.invoiced) === "1") { - return 'line--statut--invoiced'; } }} @@ -28331,22 +28334,22 @@ const DisplayPartnerSession = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("pays")[0]) { document.getElementsByName("pays")[0].disabled = true; - document.getElementsByName("pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("pays")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/DisplayPartnerStagiaires.js b/src/components/DisplayPartnerStagiaires.js index f50ca6a..fcc10aa 100644 --- a/src/components/DisplayPartnerStagiaires.js +++ b/src/components/DisplayPartnerStagiaires.js @@ -1707,6 +1707,11 @@ const DisplayPartnerStagiaires = (props) => { setp_detail_type_apprenant_code(''); setp_detail_mode_financement_id(''); setp_detail_mode_financement_code(''); + setp_detail_employeur_id(""); + setp_detail_categorie_id(""); + setp_detail_nom_fille(""); + setp_detail_cvec(""); + setp_detail_handicap_detail(""); } @@ -2082,175 +2087,183 @@ const DisplayPartnerStagiaires = (props) => { if (document.getElementsByName("detail_session_class")[0]) { document.getElementsByName("detail_session_class")[0].disabled = true; - document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_client_rattachement")[0]) { document.getElementsByName("detail_client_rattachement")[0].disabled = true; - document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_facture_client_rattachement")[0]) { document.getElementsByName("detail_facture_client_rattachement")[0].disabled = true; - document.getElementsByName("detail_facture_client_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_facture_client_rattachement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_financeur_rattachement")[0]) { document.getElementsByName("detail_financeur_rattachement")[0].disabled = true; - document.getElementsByName("detail_financeur_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_financeur_rattachement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_civilite")[0]) { document.getElementsByName("detail_civilite")[0].disabled = true; - document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom")[0]) { document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_status_inscript")[0]) { document.getElementsByName("detail_status_inscript")[0].disabled = true; - document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_opco")[0]) { document.getElementsByName("detail_opco")[0].disabled = true; - document.getElementsByName("detail_opco")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_opco")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_type_apprenant")[0]) { document.getElementsByName("detail_type_apprenant")[0].disabled = true; - document.getElementsByName("detail_type_apprenant")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_type_apprenant")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_financement_new")[0]) { document.getElementsByName("detail_mode_financement_new")[0].disabled = true; - document.getElementsByName("detail_mode_financement_new")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_financement_new")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_type_apprenant_new")[0]) { document.getElementsByName("detail_type_apprenant_new")[0].disabled = true; - document.getElementsByName("detail_type_apprenant_new")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_type_apprenant_new")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prenom")[0]) { document.getElementsByName("detail_prenom")[0].disabled = true; - document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_financement") && document.getElementsByName("detail_mode_financement")[0]) { document.getElementsByName("detail_mode_financement")[0].disabled = true; - document.getElementsByName("detail_mode_financement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_financement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mail")[0]) { document.getElementsByName("detail_mail")[0].disabled = true; - document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_naissance")[0]) { document.getElementsByName("detail_naissance")[0].disabled = true; - document.getElementsByName("detail_naissance")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_naissance")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tel")[0]) { document.getElementsByName("detail_tel")[0].disabled = true; - document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cout")[0]) { document.getElementsByName("detail_cout")[0].disabled = true; - document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cout")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_fin")[0]) { document.getElementsByName("detail_mode_fin")[0].disabled = true; - document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_employeur")[0]) { document.getElementsByName("detail_employeur")[0].disabled = true; - document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#f8f9fa"; } + + if (document.getElementsByName("detail_categorie")[0]) { + document.getElementsByName("detail_categorie")[0].disabled = true; + document.getElementsByName("detail_categorie")[0].style.backgroundColor = "#f8f9fa"; + } + + + if (document.getElementsByName("detail_comment")[0]) { document.getElementsByName("detail_comment")[0].disabled = true; - document.getElementsByName("detail_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_comment")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_memo")[0]) { document.getElementsByName("detail_memo")[0].disabled = true; - document.getElementsByName("detail_memo")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_memo")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("date_evaluation")[0]) { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("certif_date")[0]) { document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("note_eval")[0]) { document.getElementsByName("note_eval")[0].disabled = true; - document.getElementsByName("note_eval")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("note_eval")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("date_evaluation")[0]) { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_incr_date")[0]) { document.getElementsByName("detail_incr_date")[0].disabled = true; - document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("certif_date")[0]) { document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } // Pour les champs spécifiques @@ -2260,7 +2273,7 @@ const DisplayPartnerStagiaires = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } @@ -2268,52 +2281,92 @@ const DisplayPartnerStagiaires = (props) => { // on desactive les champs "tuteurs". Pour info, ces champs ne sont jamais "enable" if (document.getElementsByName("detail_tuteur1_nom")[0]) { document.getElementsByName("detail_tuteur1_nom")[0].disabled = true; - document.getElementsByName("detail_tuteur1_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur1_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur1_prenom")[0]) { document.getElementsByName("detail_tuteur1_prenom")[0].disabled = true; - document.getElementsByName("detail_tuteur1_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur1_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur1_email")[0]) { document.getElementsByName("detail_tuteur1_email")[0].disabled = true; - document.getElementsByName("detail_tuteur1_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur1_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur1_phone")[0]) { document.getElementsByName("detail_tuteur1_phone")[0].disabled = true; - document.getElementsByName("detail_tuteur1_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur1_phone")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur2_nom")[0]) { document.getElementsByName("detail_tuteur2_nom")[0].disabled = true; - document.getElementsByName("detail_tuteur2_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur2_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur2_prenom")[0]) { document.getElementsByName("detail_tuteur2_prenom")[0].disabled = true; - document.getElementsByName("detail_tuteur2_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur2_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur2_email")[0]) { document.getElementsByName("detail_tuteur2_email")[0].disabled = true; - document.getElementsByName("detail_tuteur2_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur2_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur2_phone")[0]) { document.getElementsByName("detail_tuteur2_phone")[0].disabled = true; - document.getElementsByName("detail_tuteur2_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur2_phone")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ine")[0]) { document.getElementsByName("detail_ine")[0].disabled = true; - document.getElementsByName("detail_ine")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ine")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_matricule")[0]) { document.getElementsByName("detail_matricule")[0].disabled = true; - document.getElementsByName("detail_matricule")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_matricule")[0].style.backgroundColor = "#f8f9fa"; + } + + //---- + if (document.getElementsByName("detail_handicape_amenagement")[0]) { + document.getElementsByName("detail_handicape_amenagement")[0].disabled = true; + document.getElementsByName("detail_handicape_amenagement")[0].style.backgroundColor = "#f8f9fa"; + } + + + if (document.getElementsByName("field_detail_pays_naissance")[0]) { + document.getElementsByName("field_detail_pays_naissance")[0].disabled = true; + document.getElementsByName("field_detail_pays_naissance")[0].style.backgroundColor = "#f8f9fa"; + } + + + if (document.getElementsByName("field_detail_departement_naissance")[0]) { + document.getElementsByName("field_detail_departement_naissance")[0].disabled = true; + document.getElementsByName("field_detail_departement_naissance")[0].style.backgroundColor = "#f8f9fa"; + } + + + if (document.getElementsByName("field_detail_lieu_naissance")[0]) { + document.getElementsByName("field_detail_lieu_naissance")[0].disabled = true; + document.getElementsByName("field_detail_lieu_naissance")[0].style.backgroundColor = "#f8f9fa"; + } + + + if (document.getElementsByName("detail_nom_jeune_fille")[0]) { + document.getElementsByName("detail_nom_jeune_fille")[0].disabled = true; + document.getElementsByName("detail_nom_jeune_fille")[0].style.backgroundColor = "#f8f9fa"; + } + + if (document.getElementsByName("detail_cvec")[0]) { + document.getElementsByName("detail_cvec")[0].disabled = true; + document.getElementsByName("detail_cvec")[0].style.backgroundColor = "#f8f9fa"; + } + + if (document.getElementsByName("field_nationalite")[0]) { + document.getElementsByName("field_nationalite")[0].disabled = true; + document.getElementsByName("field_nationalite")[0].style.backgroundColor = "#f8f9fa"; } } @@ -2450,6 +2503,11 @@ const DisplayPartnerStagiaires = (props) => { document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#FFFFFF"; } + if (document.getElementsByName("detail_categorie")[0]) { + document.getElementsByName("detail_categorie")[0].disabled = false; + document.getElementsByName("detail_categorie")[0].style.backgroundColor = "#FFFFFF"; + } + if (document.getElementsByName("detail_comment")[0]) { document.getElementsByName("detail_comment")[0].disabled = false; document.getElementsByName("detail_comment")[0].style.backgroundColor = "#FFFFFF"; @@ -2514,6 +2572,48 @@ const DisplayPartnerStagiaires = (props) => { } + // ---------- + if (document.getElementsByName("detail_handicape_amenagement")[0]) { + document.getElementsByName("detail_handicape_amenagement")[0].disabled = false; + document.getElementsByName("detail_handicape_amenagement")[0].style.backgroundColor = "#FFFFFF"; + } + + + if (document.getElementsByName("field_detail_pays_naissance")[0]) { + document.getElementsByName("field_detail_pays_naissance")[0].disabled = false; + document.getElementsByName("field_detail_pays_naissance")[0].style.backgroundColor = "#FFFFFF"; + } + + + if (document.getElementsByName("field_detail_departement_naissance")[0]) { + document.getElementsByName("field_detail_departement_naissance")[0].disabled = false; + document.getElementsByName("field_detail_departement_naissance")[0].style.backgroundColor = "#FFFFFF"; + } + + + if (document.getElementsByName("field_detail_lieu_naissance")[0]) { + document.getElementsByName("field_detail_lieu_naissance")[0].disabled = false; + document.getElementsByName("field_detail_lieu_naissance")[0].style.backgroundColor = "#FFFFFF"; + } + + if (document.getElementsByName("detail_nom_jeune_fille")[0]) { + document.getElementsByName("detail_nom_jeune_fille")[0].disabled = false; + document.getElementsByName("detail_nom_jeune_fille")[0].style.backgroundColor = "#FFFFFF"; + } + + + if (document.getElementsByName("detail_cvec")[0]) { + document.getElementsByName("detail_cvec")[0].disabled = false; + document.getElementsByName("detail_cvec")[0].style.backgroundColor = "#FFFFFF"; + } + + + if (document.getElementsByName("field_nationalite")[0]) { + document.getElementsByName("field_nationalite")[0].disabled = false; + document.getElementsByName("field_nationalite")[0].style.backgroundColor = "#FFFFFF"; + } + + } @@ -2771,6 +2871,7 @@ const DisplayPartnerStagiaires = (props) => { formData.append("session_id", selected_session_id); formData.append("email", selected_participant_email); + formData.append('file_img', isimgclassSelected); formData.append('file_img_recid', isimgclassSelected_recid); @@ -3915,7 +4016,7 @@ const DisplayPartnerStagiaires = (props) => { useEffect(() => { - + Get_List_Partner_Categorie_Inscrit(); Get_List_Mode_Financement(); Get_List_Type_Apprenant(); @@ -3991,8 +4092,13 @@ const DisplayPartnerStagiaires = (props) => { const [p_detail_pays_changed, setp_detail_pays_changed] = useState(""); - const [p_detail_civilite, setp_detail_civilite] = useState(); - const [p_detail_nom, setp_detail_nom] = useState(); + const [p_detail_civilite, setp_detail_civilite] = useState(""); + const [p_detail_nom, setp_detail_nom] = useState(""); + + const [p_detail_nom_fille, setp_detail_nom_fille] = useState(""); + const [p_detail_cvec, setp_detail_cvec] = useState(""); + const [p_detail_handicap_detail, setp_detail_handicap_detail] = useState(""); + const [p_detail_prenom, setp_detail_prenom] = useState(); const [p_detail_mail, setp_detail_mail] = useState(); const [p_detail_naissance, setp_detail_naissance] = useState(); @@ -4007,6 +4113,9 @@ const DisplayPartnerStagiaires = (props) => { const [p_detail_employeur, setp_detail_employeur] = useState(""); + const [p_detail_employeur_id, setp_detail_employeur_id] = useState(""); + const [p_detail_categorie_id, setp_detail_categorie_id] = useState(""); + const [p_detail_memo, setp_detail_memo] = useState(""); const [p_detail_comment, setp_detail_comment] = useState(""); @@ -4113,6 +4222,9 @@ const DisplayPartnerStagiaires = (props) => { const [p_one_matricule, setp_one_matricule] = useState(); const [p_one_ine, setp_one_ine] = useState(); + const [p_one_nom_fille, setp_one_nom_fille] = useState(); + + const [p_one_detail_client_rattachement_nom, setp_one_detail_client_rattachement_nom] = useState(); @@ -4437,6 +4549,20 @@ const DisplayPartnerStagiaires = (props) => { } + if (mylocalattendee.employeur_id) { + setp_detail_employeur_id(mylocalattendee.employeur_id); + } else { + setp_detail_employeur_id(""); + } + + if (mylocalattendee.categorie_id) { + setp_detail_categorie_id(mylocalattendee.categorie_id); + // console.log(" ### mylocalattendee.categorie_id == ", mylocalattendee.categorie_id) + + } else { + setp_detail_categorie_id(""); + } + if (mylocalattendee.employeur) { setp_detail_employeur(mylocalattendee.employeur); @@ -4695,6 +4821,29 @@ const DisplayPartnerStagiaires = (props) => { setp_detail_telephone_bis(""); } + + //-- + if (mylocalattendee.nom_fille) { + setp_detail_nom_fille(mylocalattendee.nom_fille); + } else { + setp_detail_nom_fille(""); + } + + if (mylocalattendee.num_cvec) { + setp_detail_cvec(mylocalattendee.num_cvec); + } else { + setp_detail_cvec(""); + } + + + if (mylocalattendee.handicap_detail) { + setp_detail_handicap_detail(mylocalattendee.handicap_detail); + } else { + setp_detail_handicap_detail(""); + } + + + /* * Update 22/10/2023 : Gestion des champs spécifiques. ils commencent tous par 'my_' @@ -5386,6 +5535,15 @@ const DisplayPartnerStagiaires = (props) => { form.append("telephone_bis", ""); + form.append("nom_fille", p_detail_nom_fille); + form.append("num_cvec", p_detail_cvec); + form.append("handicap_detail", p_detail_handicap_detail); + + form.append("employeur_id", p_detail_employeur_id); + form.append("categorie_id", p_detail_categorie_id); + + + /* @@ -5578,6 +5736,97 @@ const DisplayPartnerStagiaires = (props) => { + const [New_Get_List_Partner_Categorie_Inscrit_result, setNew_Get_List_Partner_Categorie_Inscrit_result] = useState([{ + "_id": "", + "id": "", + "label": "", + "code": "", + "description": "", + }]); + + const [Get_List_Partner_Categorie_Inscrit_api, setGet_List_Partner_Categorie_Inscrit_api] = useState(); + const [Get_List_Partner_Categorie_Inscrit_message, setGet_List_Partner_Categorie_Inscrit_message] = useState(); + const [Get_List_Partner_Categorie_Inscrit_result, setGet_List_Partner_Categorie_Inscrit_result] = useState([]); + function Get_List_Partner_Categorie_Inscrit(event) { + + var form = new FormData(); + const stored_cookie = getCookie('tokenmysypart'); + + form.append("token", stored_cookie); + + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Categorie_Apprenant/"; + + axios.post(myurl, form).then(res => { + // console.log(" In Get_List_Partner_Categorie_Inscrit res.data.status = " + res.data.status); + // console.log(" In Get_List_Partner_Categorie_Inscrit res.data.message r_class = " + res.data.message); + + if (String(res.data.status) === String("true")) { + setGet_List_Partner_Categorie_Inscrit_api("true"); + setGet_List_Partner_Categorie_Inscrit_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_code = JSON.parse(x).code; + var local_description = JSON.parse(x).description; + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code, + "code": local_code, + "description": local_description, + + }; + new_data2.push(node); + }); + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "code": "", + "description": "", + }; + new_data2.push(node); + + if (new_data2.length > 0) + setNew_Get_List_Partner_Categorie_Inscrit_result(new_data2); + else + setNew_Get_List_Partner_Categorie_Inscrit_result([{ + "_id": "", + "id": "", + "label": "", + "code": "", + "description": "", + }]); + + //console.log(" ### setNew_Get_List_Partner_Categorie_Inscrit_result new_data2 = ", new_data2) + } + else if (String(res.data.status) === String("Err_Connexion")) { + alert('Erreur: ' + res.data.message); + history.push("/Connexion"); + } + else { + setGet_List_Partner_Categorie_Inscrit_api("false"); + setGet_List_Partner_Categorie_Inscrit_message(res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( Get_List_Partner_Categorie_Inscrit = ', error); + setGet_List_Partner_Categorie_Inscrit_api("false"); + //setmyApimyApiMessage("") + }) + } + + + const [New_Get_List_Partner_Clients_result, setNew_Get_List_Partner_Clients_result] = useState([]); const [Get_List_Partner_Clients_api, setGet_List_Partner_Clients_api] = useState(); @@ -6291,102 +6540,102 @@ const DisplayPartnerStagiaires = (props) => { if (document.getElementsByName("myclass_title")[0]) { document.getElementsByName("myclass_title")[0].disabled = true; - document.getElementsByName("myclass_title")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("myclass_title")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_session")[0]) { document.getElementsByName("code_session")[0].disabled = true; - document.getElementsByName("code_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_status")[0]) { document.getElementsByName("session_status")[0].disabled = true; - document.getElementsByName("session_status")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_status")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_etape")[0]) { document.getElementsByName("session_etape")[0].disabled = true; - document.getElementsByName("session_etape")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_etape")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebut")[0]) { document.getElementsByName("sessiondatedebut")[0].disabled = true; - document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefin")[0]) { document.getElementsByName("sessiondatefin")[0].disabled = true; - document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("adresse")[0]) { document.getElementsByName("adresse")[0].disabled = true; - document.getElementsByName("adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("pays")[0]) { document.getElementsByName("pays")[0].disabled = true; - document.getElementsByName("pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur")[0]) { document.getElementsByName("formateur")[0].disabled = true; - document.getElementsByName("formateur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("lms_class_code")[0]) { document.getElementsByName("lms_class_code")[0].disabled = true; - document.getElementsByName("lms_class_code")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("lms_class_code")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("nb_participant")[0]) { document.getElementsByName("nb_participant")[0].disabled = true; - document.getElementsByName("nb_participant")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nb_participant")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("prix_session")[0]) { document.getElementsByName("prix_session")[0].disabled = true; - document.getElementsByName("prix_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("prix_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_ondemande")[0]) { document.getElementsByName("session_ondemande")[0].disabled = true; - document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("presentiel")[0]) { document.getElementsByName("presentiel")[0].disabled = true; - document.getElementsByName("presentiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("presentiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("distantiel")[0]) { document.getElementsByName("distantiel")[0].disabled = true; - document.getElementsByName("distantiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("distantiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebutinscription")[0]) { document.getElementsByName("sessiondatedebutinscription")[0].disabled = true; - document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefininscription")[0]) { document.getElementsByName("sessiondatefininscription")[0].disabled = true; - document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#f8f9fa"; } // Pour les champs spécifiques @@ -6396,7 +6645,7 @@ const DisplayPartnerStagiaires = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } @@ -6441,7 +6690,7 @@ const DisplayPartnerStagiaires = (props) => { const [tab_convention_pieces_jointes_result, settab_convention_pieces_jointes_result] = useState([]); - + const [securised_file, setsecurised_file] = useState(false); const [file_1_name, setfile_1_name] = useState(); const [sessions_file_change_1_api, setsessions_file_change_1_api] = useState(); @@ -6449,37 +6698,37 @@ const DisplayPartnerStagiaires = (props) => { const [sessions_file_change_1_message, setsessions_file_change_1_message] = useState(); const sessions_file_change_1 = event => { - const fileUploaded = event.target.files[0]; - let file_size = event.target.files[0].size; - let file_type = event.target.files[0].type; + if (event.target.files[0]) { + const fileUploaded = event.target.files[0]; + let file_size = event.target.files[0].size; + let file_type = event.target.files[0].type; - console.log("file_size 2 = ", file_size, " file_type = ", file_type); - if (file_size > 10000000) { + // console.log("file_size 2 = ", file_size, " file_type = ", file_type); + if (file_size > 10000000) { + + setdisplay_alert_mysy("1"); + setalert_message("Le fichier ne doit pas depasser un 1 Méga octets"); + setalert_type("error"); + return; + } + + setfile_1_name(event.target.files[0]); + + const formData = new FormData(); + formData.append('File', fileUploaded); + //formData.append('token', 'K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA'); + const stored_cookie = getCookie('tokenmysypart'); + - setdisplay_alert_mysy("1"); - setalert_message("Le fichier ne doit pas depasser un 1 Méga octets"); - setalert_type("error"); return; } - setfile_1_name(event.target.files[0]); - - const formData = new FormData(); - formData.append('File', fileUploaded); - //formData.append('token', 'K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA'); - const stored_cookie = getCookie('tokenmysypart'); - - - return; - - }; - const [sessions_file_change_1_convention_api, setsessions_file_change_1_convention_api] = useState(); const [sessions_file_change_1_convention_result, setsessions_file_change_1_convention_result] = useState(); const [sessions_file_change_1_convention_message, setsessions_file_change_1_convention_message] = useState(); @@ -6606,6 +6855,10 @@ const DisplayPartnerStagiaires = (props) => { formData.append("object_owner_id", selected_id); formData.append("type_document", ""); + var is_secure_file = "0"; + if (securised_file) + is_secure_file = "1" + formData.append("is_secure_file", is_secure_file); //formData.append("class_internal_url", internal_url); //console.log("token = " + stored_cookie); @@ -6653,7 +6906,11 @@ const DisplayPartnerStagiaires = (props) => { setLoading(false); console.error(' Record_All_PJ Error:', error); setRecord_All_PJ_api("false"); - alert(" Impossible d'ajouter la pièce jointe") + + + setdisplay_alert_mysy("1"); + setalert_message(" Impossible d'ajouter la pièce jointe"); + setalert_type("error"); }); } @@ -8420,6 +8677,10 @@ const DisplayPartnerStagiaires = (props) => { const [tab_email_pieces_jointes_result, settab_email_pieces_jointes_result] = useState([]); const sessions_file_change_1_piece_jointe = event => { + setsecurised_file(false); + setfile_1_name(); + setp_detail_one_file_to_download_type_name(""); + setRecord_All_PJ_api(""); const fileUploaded = event.target.files[0]; let file_size = event.target.files[0].size; @@ -10001,7 +10262,7 @@ const DisplayPartnerStagiaires = (props) => { maxRows={2} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '100%', padding: '2px', + border: "1px solid #e8eef6", width: '100%', padding: '2px', maxHeight: '4rem', height: '4rem', minHeight: '4rem', marginBottom: '1rem' }} value={p_detail_tuteur_comment} @@ -10126,7 +10387,7 @@ const DisplayPartnerStagiaires = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '100%', padding: '2px', + border: "1px solid #e8eef6", width: '100%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={ent_push_doc_message_notif} @@ -11459,7 +11720,7 @@ const DisplayPartnerStagiaires = (props) => { - + @@ -11922,7 +12183,7 @@ const DisplayPartnerStagiaires = (props) => { - + {String(p_filtre3).length > 2 &&
@@ -12642,7 +12903,7 @@ const DisplayPartnerStagiaires = (props) => { {selected_class_is_ftion_initiale == "1" && String(addOneParticipant) !== "1" && } - + {String(addOneParticipant) !== "1" && } {selected_class_is_ftion_initiale == "1" && String(addOneParticipant) !== "1" && } @@ -12717,6 +12978,27 @@ const DisplayPartnerStagiaires = (props) => { />
+ {p_one_civilite_part !== "m" &&
Nom jeune fille
+ { + setp_one_nom_fille(e.target.value); + } + } + + /> +
} +
Prénom
{ />
-
Date Naissance
+
Date Naissance
{ {/* -- début champs specifiques **/} {rows_champs_specifics && rows_champs_specifics.length > 0 && -
Vos champs spécifiques
+
- {rows_champs_specifics && - 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).field_type) === "float" && + Vos champs spécifiques +
- InputLabelProps={{ - shrink: true, - }} +
- type="number" - inputProps={{ min: "1", max: "999999", step: "1" }} - className="disabled_style" - onChange={(e) => { - change_champs_spec_handle(e.target.value); - setparticipant_data_changed("1"); - }} - //onChange={change_champs_spec_handle} + {rows_champs_specifics && + 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).field_type) === "float" && { + change_champs_spec_handle(e.target.value); + setparticipant_data_changed("1"); + }} + //onChange={change_champs_spec_handle} - />} + />} - {String(JSON.parse(champ_spec).field_type) === "string" && { - change_champs_spec_handle(e.target.value); - setparticipant_data_changed("1"); - }} - //onChange={change_champs_spec_handle} + className="disabled_style" + onChange={(e) => { + change_champs_spec_handle(e.target.value); + setparticipant_data_changed("1"); + }} + //onChange={change_champs_spec_handle} - />} + />} +
+ ))} + +
+
- ))} + + + +
+
+ + + +
@@ -13758,7 +14068,7 @@ const DisplayPartnerStagiaires = (props) => { {String(participant_data_edit_mode) === "1" && String(p_detail_apprenant_id).trim().length >= 3 && -
Civilité
+
Civilité
{ />
+ {p_detail_civilite !== "m" &&
Nom Jeune Fille
+ { + setp_detail_nom_fille(e.target.value); + setparticipant_data_changed("1"); + setp_detail_nom_changed("1") + } + } + + /> +
} +
Prénom
{ />
-
Date Naissance
- { - setp_detail_naissance(format(date, 'd/MM/yyyy')); - setparticipant_data_changed("1"); - setp_detail_naissance_changed("1"); - } - } - showTimeSelect={false} - dateFormat="dd/MM/yyyy" - className="disabled_style enable_style" - locale={'fr'} - - /> - -
Téléphone
{ />
+ {selected_class_is_ftion_initiale === "1" &&
Matricule
+ { + setp_detail_matricule(e.target.value); + setparticipant_data_changed("1"); + }} + /> +
} + + {selected_class_is_ftion_initiale === "1" &&
CVEC
+ { + setp_detail_cvec(e.target.value); + setparticipant_data_changed("1"); + }} + /> +
} + + {selected_class_is_ftion_initiale === "1" &&
+ + + Identifiant National Étudiant (INE)   + +
+ { + setp_detail_ine(e.target.value); + setparticipant_data_changed("1"); + }} + /> +
} + + + +
+
+ +
+ +
+ Coordonnées +
+ +
Adresse
{
- - - -
Employeur
+
Nationnalité
{ - setp_detail_employeur(e.target.value); + setp_detail_nationalite(e.target.value); setparticipant_data_changed("1"); - }} + } + } + /> +
+ + +
Date Naissance
+ { + setp_detail_naissance(format(date, 'd/MM/yyyy')); + setparticipant_data_changed("1"); + setp_detail_naissance_changed("1"); + } + } + showTimeSelect={false} + dateFormat="dd/MM/yyyy" + className="disabled_style enable_style" + locale={'fr'} + />
+
Lieu Naissance
+ { + setp_detail_naissance_lieu(e.target.value); + setparticipant_data_changed("1"); + } + } + /> +
+ +
Dept. Naissance
+ { + setp_detail_naissance_departement(e.target.value); + setparticipant_data_changed("1"); + } + } + /> +
+ +
Pays Naissance
+ { + setp_detail_naissance_pays(e.target.value); + setparticipant_data_changed("1"); + } + } + /> +
+ + +
+ +
@@ -14388,33 +14867,7 @@ const DisplayPartnerStagiaires = (props) => {
} - {/*String(participant_data_edit_mode) === "1" &&
Type apprenant
- val.value === String(p_detail_type_apprenant))[0].label} - onChange={(event, value) => { - - if (value && value.id) { - setp_detail_type_apprenant(value.id); - setparticipant_data_changed("1"); - } else { - setp_detail_type_apprenant(""); - setparticipant_data_changed("1"); - } - }} - - renderInput={(params) => - } - /> -
*/} {New_Get_List_Type_Apprenant_result && New_Get_List_Type_Apprenant_result.length > 0 && String(participant_data_edit_mode) !== "1" &&
Type apprenant
@@ -14463,73 +14916,7 @@ const DisplayPartnerStagiaires = (props) => {
} - {/*New_Financement && New_Financement.length > 0 && String(participant_data_edit_mode) === "1" && -
Mode Financement
- val.value === String(p_detail_mode_fin))[0].label} - onChange={(event, value) => { - - if (value && value.value) { - setp_detail_mode_fin(value.value); - setparticipant_data_changed("1"); - } else { - setp_detail_mode_fin(""); - setparticipant_data_changed("1"); - } - }} - - renderInput={(params) => - } - /> -
*/} - - - - {/*String(participant_data_edit_mode) !== "1" &&
Type apprenant
- - -
*/} - - - - {/*New_Financement && New_Financement.length > 0 && String(participant_data_edit_mode) !== "1" && -
Mode Financement
- val.value === String(p_detail_mode_fin))[0].label} - /> - -
*/} {New_Get_List_Mode_Financement_result && New_Get_List_Mode_Financement_result.length > 0 && String(participant_data_edit_mode) !== "1" &&
Mode Financement
@@ -14599,6 +14986,164 @@ const DisplayPartnerStagiaires = (props) => {
} + {/*
Employeur
+ { + setp_detail_employeur(e.target.value); + setparticipant_data_changed("1"); + }} + /> + +
*/} + + + + {New_Get_List_Partner_Clients_result && New_Get_List_Partner_Clients_result.length > 0 && + String(participant_data_edit_mode) !== "1" && + } + + + {New_Get_List_Partner_Clients_result && New_Get_List_Partner_Clients_result.length > 0 && + String(participant_data_edit_mode) === "1" && +
Employeur
+ + (data)._id === String(p_detail_employeur_id))[0].label} + onChange={(event, value) => { + + if (value && value._id) { + setp_detail_employeur_id(value._id); + setparticipant_data_changed("1"); + + } else { + setp_detail_employeur_id(""); + setparticipant_data_changed("1"); + + } + }} + + + renderInput={(params) => + } + /> + +
} + + + + + {New_Get_List_Partner_Categorie_Inscrit_result && New_Get_List_Partner_Categorie_Inscrit_result.length > 0 && + String(participant_data_edit_mode) !== "1" &&
Categorie_id
+ (data)._id === String(p_detail_categorie_id))[0].label} + + /> + +
} + + {New_Get_List_Partner_Categorie_Inscrit_result && New_Get_List_Partner_Categorie_Inscrit_result.length > 0 && + String(participant_data_edit_mode) === "1" && +
Categorie_id
+ + (data)._id === String(p_detail_categorie_id))[0].label} + onChange={(event, value) => { + + if (value && value._id) { + setp_detail_categorie_id(value._id); + setparticipant_data_changed("1"); + + } else { + setp_detail_categorie_id(""); + setparticipant_data_changed("1"); + + } + }} + + + renderInput={(params) => + } + /> + + +
} + + {String(participant_data_edit_mode) === "1" && String(p_detail_apprenant_id).trim().length <= 3 &&
Statut
@@ -14644,7 +15189,7 @@ const DisplayPartnerStagiaires = (props) => {
-
Cout
+
Prix
{ />
} - {selected_class_is_ftion_initiale === "1" &&
Matricule
- { - setp_detail_matricule(e.target.value); - setparticipant_data_changed("1"); - }} - /> -
} - - {selected_class_is_ftion_initiale === "1" &&
- - - Identifiant National Étudiant (INE)   - -
- { - setp_detail_ine(e.target.value); - setparticipant_data_changed("1"); - }} - /> -
}
@@ -14741,6 +15244,7 @@ const DisplayPartnerStagiaires = (props) => {
+
@@ -14752,10 +15256,10 @@ const DisplayPartnerStagiaires = (props) => {
-
Mémo
+
Mémo
{ maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', - maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' + border: "1px solid #e8eef6", width: '99%', padding: '2px', + maxHeight: '10rem', height: '5rem', minHeight: '5rem', }} value={p_detail_memo} @@ -14777,7 +15281,7 @@ const DisplayPartnerStagiaires = (props) => { />
-
Commentaire
+
Commentaire
{ maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', - maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' + border: "1px solid #e8eef6", width: '99%', padding: '2px', + maxHeight: '10rem', height: '5rem', minHeight: '5rem', }} value={p_detail_comment} @@ -14799,6 +15303,28 @@ const DisplayPartnerStagiaires = (props) => { />
+ {p_detail_is_handicap &&
Aménagement handicape
+ { + setp_detail_handicap_detail(e.target.value); + setparticipant_data_changed("1"); + + }} + /> +
} +
@@ -14806,74 +15332,91 @@ const DisplayPartnerStagiaires = (props) => {
+
 
+
- {rows_champs_specifics && rows_champs_specifics.length > 0 && <> - {/* -- début champs specifiques **/} -
-
-
+ {rows_champs_specifics && rows_champs_specifics.length > 0 &&
-
Vos champs spécifiques
+
+
- {rows_champs_specifics && - rows_champs_specifics.map((champ_spec) => ( +
+ Vos champs spécifiques +
-
{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" && ( - InputLabelProps={{ - shrink: true, - }} +
{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} }
- type="number" - inputProps={{ min: "1", max: "999999", step: "1" }} - className="disabled_style" - onChange={(e) => { - change_champs_spec_handle(e.target.value); - setparticipant_data_changed("1"); - }} - //onChange={change_champs_spec_handle} + {String(JSON.parse(champ_spec).field_type) === "float" && { + change_champs_spec_handle(e.target.value); + setparticipant_data_changed("1"); + }} + //onChange={change_champs_spec_handle} - />} + />} - {String(JSON.parse(champ_spec).field_type) === "string" && { - change_champs_spec_handle(e.target.value); - setparticipant_data_changed("1"); - }} - //onChange={change_champs_spec_handle} + className="disabled_style" + onChange={(e) => { + change_champs_spec_handle(e.target.value); + setparticipant_data_changed("1"); + }} + //onChange={change_champs_spec_handle} - />} + />} + +
+ ))}
- ))} +
+
+ + + + + +
} +
+ -
-
- } {/* -- end champs specifiques **/}
@@ -14886,12 +15429,7 @@ const DisplayPartnerStagiaires = (props) => { {String(participant_data_edit_mode) === "1" &&
- {/**/} + {Enregistrer } @@ -14953,22 +15491,16 @@ const DisplayPartnerStagiaires = (props) => { - {String(props.check_user_acces_right("stagiaire", "write")) === "1" && String(participant_data_edit_mode) !== "1" && String(inscription_invoiced) !== "1" && p_detail_apprenant_id && String(p_detail_apprenant_id).trim().length > 3 &&
- -
} + {String(props.check_user_acces_right("stagiaire", "write")) === "1" && String(participant_data_edit_mode) !== "1" && String(inscription_invoiced) !== "1" && p_detail_apprenant_id && String(p_detail_apprenant_id).trim().length > 3 && +
+ +
} - {String(participant_data_edit_mode) !== "1" &&
- - {String(props.check_user_acces_right("stagiaire", "write")) === "1" && (!p_detail_apprenant_id || String(p_detail_apprenant_id).trim().length <= 3) && - } - - - + {String(participant_data_edit_mode) !== "1" &&
{selected_id_status && String(selected_id_status) === "1" && p_detail_apprenant_id && String(p_detail_apprenant_id).trim().length > 3 && } + {String(props.check_user_acces_right("stagiaire", "write")) === "1" && (!p_detail_apprenant_id || String(p_detail_apprenant_id).trim().length <= 3) && + } + {selected_id_status && String(selected_id_status) === "-1" && p_detail_apprenant_id && String(p_detail_apprenant_id).trim().length > 3 && {
{file_1_name && file_1_name.name && - } +
+ + + } {Record_All_PJ_api && String(Record_All_PJ_api) === "true" &&
Pièce jointe enregistrée
} @@ -15443,15 +16047,7 @@ const DisplayPartnerStagiaires = (props) => {
} - {file_1_name && file_1_name.name &&
-
- -
- - -
} @@ -16280,4 +16876,6 @@ width: 100%; .react-datepicker-wrapper{ width: 100%; } + + `; diff --git a/src/components/DisplayPartnerUnite_Enseignement.js b/src/components/DisplayPartnerUnite_Enseignement.js index 4b75936..b9832cf 100644 --- a/src/components/DisplayPartnerUnite_Enseignement.js +++ b/src/components/DisplayPartnerUnite_Enseignement.js @@ -6,7 +6,7 @@ import Button from '@mui/material/Button'; import axios from "axios"; import { getCookie, setCookie } from 'react-use-cookie'; import { useHistory } from "react-router-dom"; - +import Checkbox from '@mui/material/Checkbox'; import { DataGrid, GridToolbar, frFR } from '@mui/x-data-grid'; import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css"; import { Editor } from '@tinymce/tinymce-react'; @@ -151,12 +151,25 @@ const DisplayPartnerUnite_Enseignement = (props) => { { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, { field: 'code', headerName: 'Code', flex: 1, hide: false, editable: false, renderCell: (params) => , }, - { field: 'titre', headerName: 'Titre', flex: 1, hide: false, editable: false, renderCell: (params) => , }, - { field: 'bloc', headerName: 'Bloc', flex: 1, hide: true, editable: false, renderCell: (params) => , }, - + { field: 'titre', headerName: 'Titre', minWidth: 250, flex: 1, hide: false, editable: false, renderCell: (params) => , }, + { field: 'bloc', headerName: 'Bloc', flex: 1, hide: true, editable: false, renderCell: (params) => , }, { - field: 'domain_id', headerName: 'Domaine', hide: true, editable: false, renderCell: (cellValues) => { + field: 'conclusive', headerName: 'Conclusive', minWidth: 100, flex: 1, renderCell: (params) => , + renderCell: (cellValues) => { + return ( +
+ {cellValues.row.conclusive && String(cellValues.row.conclusive) === "1" && "Oui"} + {cellValues.row.conclusive && String(cellValues.row.conclusive) === "0" && "Non"} + +
+ + ); + } + }, + + { + field: 'domain_id', headerName: 'Domaine', hide: true, editable: false, renderCell: (cellValues) => { return (
{New_Get_List_Domaines_result && New_Get_List_Domaines_result.length > 0 && - - - } - modal - nested - position="center center" - > - {close => ( -
- -
MySy Information
-
- {' '} - - En confirmant cette opération, la pièce jointe sera définitivement supprimée.
- - -
-
-
- - -
-
- -
-
-
- )} - - -
- ))} -
-
-
*/} -
{ {display_view && String(display_view) === "bars" &&   -
+
{Getall_Qry_Survey_Data_result_JSON && Getall_Qry_Survey_Data_result_JSON.length > 0 && Getall_Qry_Survey_Data_result_JSON && diff --git a/src/components/Employes_ARG.js b/src/components/Employes_ARG.js index b053825..85dd60b 100644 --- a/src/components/Employes_ARG.js +++ b/src/components/Employes_ARG.js @@ -2373,118 +2373,118 @@ const Employes_ARG = (props) => { if (document.getElementsByName("detail_lms_login")[0]) { document.getElementsByName("detail_lms_login")[0].disabled = true; - document.getElementsByName("detail_lms_login")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_lms_login")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom")[0]) { document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prenom")[0]) { document.getElementsByName("detail_prenom")[0].disabled = true; - document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mail")[0]) { document.getElementsByName("detail_mail")[0].disabled = true; - document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_naissance")[0]) { document.getElementsByName("detail_naissance")[0].disabled = true; - document.getElementsByName("detail_naissance")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_naissance")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tel")[0]) { document.getElementsByName("detail_tel")[0].disabled = true; - document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_civilite") && document.getElementsByName("detail_civilite")[0]) { document.getElementsByName("detail_civilite")[0].disabled = true; - document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tel_mobile")[0]) { document.getElementsByName("detail_tel_mobile")[0].disabled = true; - document.getElementsByName("detail_tel_mobile")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel_mobile")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_linkedin")[0]) { document.getElementsByName("detail_linkedin")[0].disabled = true; - document.getElementsByName("detail_linkedin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_linkedin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_facebook")[0]) { document.getElementsByName("detail_facebook")[0].disabled = true; - document.getElementsByName("detail_facebook")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_facebook")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_twitter")[0]) { document.getElementsByName("detail_twitter")[0].disabled = true; - document.getElementsByName("detail_twitter")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_twitter")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_profil")[0]) { document.getElementsByName("detail_profil")[0].disabled = true; - document.getElementsByName("detail_profil")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_profil")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_fonction")[0]) { document.getElementsByName("detail_fonction")[0].disabled = true; - document.getElementsByName("detail_fonction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_fonction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("list_diffusion_mail")[0]) { document.getElementsByName("list_diffusion_mail")[0].disabled = true; - document.getElementsByName("list_diffusion_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("list_diffusion_mail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ismanager")[0]) { document.getElementsByName("detail_ismanager")[0].disabled = true; - document.getElementsByName("detail_ismanager")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ismanager")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_user_login")[0]) { document.getElementsByName("detail_user_login")[0].disabled = true; - document.getElementsByName("detail_user_login")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_user_login")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_resp_hierarchie_id")[0]) { document.getElementsByName("detail_resp_hierarchie_id")[0].disabled = true; - document.getElementsByName("detail_resp_hierarchie_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_resp_hierarchie_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_competence")[0]) { document.getElementsByName("detail_competence")[0].disabled = true; - document.getElementsByName("detail_competence")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_competence")[0].style.backgroundColor = "#f8f9fa"; } @@ -2495,7 +2495,7 @@ const Employes_ARG = (props) => { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } @@ -4131,36 +4131,36 @@ const Employes_ARG = (props) => { if (document.getElementsByName("affect_poste")[0]) { document.getElementsByName("affect_poste")[0].disabled = true; - document.getElementsByName("affect_poste")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_poste")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_cible")[0]) { document.getElementsByName("affect_cible")[0].disabled = true; - document.getElementsByName("affect_cible")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_cible")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_cible_nom")[0]) { document.getElementsByName("affect_cible_nom")[0].disabled = true; - document.getElementsByName("affect_cible_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_cible_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_date_du")[0]) { document.getElementsByName("affect_date_du")[0].disabled = true; - document.getElementsByName("affect_date_du")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_date_du")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_date_au")[0]) { document.getElementsByName("affect_date_au")[0].disabled = true; - document.getElementsByName("affect_date_au")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_date_au")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_comment")[0]) { document.getElementsByName("affect_comment")[0].disabled = true; - document.getElementsByName("affect_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_comment")[0].style.backgroundColor = "#f8f9fa"; } } @@ -6621,7 +6621,7 @@ const Employes_ARG = (props) => { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -10263,7 +10263,7 @@ const Employes_ARG = (props) => { Login Gest. Admin
{ if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } diff --git a/src/components/Facture.js b/src/components/Facture.js index 8a4733d..d4508aa 100644 --- a/src/components/Facture.js +++ b/src/components/Facture.js @@ -343,28 +343,28 @@ function Facture(props) { function desablefield1() { setfields1desabled(true); document.getElementsByName("nom")[0].disabled = true; - //document.getElementsByName("nom")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("nom")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("telephone")[0].disabled = true; - //document.getElementsByName("telephone")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("telephone")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("email")[0].disabled = true; - // document.getElementsByName("email")[0].style.backgroundColor = "#ECEFF1"; + // document.getElementsByName("email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_street")[0].disabled = true; - //document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_zip")[0].disabled = true; - //document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_city")[0].disabled = true; - //document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_country")[0].disabled = true; - //document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("vat_num")[0].disabled = true; - //document.getElementsByName("vat_num")[0].style.backgroundColor = "#ECEFF1"; + //document.getElementsByName("vat_num")[0].style.backgroundColor = "#f8f9fa"; } const [partner_account_id, setpartner_account_id] = useState(""); @@ -399,51 +399,51 @@ function Facture(props) { if (mylocaltraining.invoice_vat_num) { document.getElementsByName("vat_num")[0].value = mylocaltraining.invoice_vat_num; document.getElementsByName("vat_num")[0].disabled = true; - document.getElementsByName("vat_num")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("vat_num")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_nom) { document.getElementsByName("nom")[0].value = mylocaltraining.invoice_nom; document.getElementsByName("nom")[0].disabled = true; - document.getElementsByName("nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nom")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_street) { document.getElementsByName("adr_street")[0].value = mylocaltraining.invoice_adr_street; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_city) { document.getElementsByName("adr_city")[0].value = mylocaltraining.invoice_adr_city; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_zip) { document.getElementsByName("adr_zip")[0].value = mylocaltraining.invoice_adr_zip; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_country) { document.getElementsByName("adr_country")[0].value = mylocaltraining.invoice_adr_country; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_email) { document.getElementsByName("email")[0].value = mylocaltraining.invoice_email; document.getElementsByName("email")[0].disabled = true; - document.getElementsByName("email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("email")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_telephone) { document.getElementsByName("telephone")[0].value = mylocaltraining.invoice_telephone; document.getElementsByName("telephone")[0].disabled = true; - document.getElementsByName("telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("telephone")[0].style.backgroundColor = "#f8f9fa"; } desablefield1(); diff --git a/src/components/GestionAdministrative.js b/src/components/GestionAdministrative.js index 8908c06..873cfd1 100644 --- a/src/components/GestionAdministrative.js +++ b/src/components/GestionAdministrative.js @@ -2809,15 +2809,15 @@ function GestionAdministrative(props) { function desableAttendeeDetailFields() { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_incr_date")[0].disabled = true; - document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } @@ -2829,112 +2829,112 @@ function GestionAdministrative(props) { if (document.getElementsByName("code_session")[0]) { document.getElementsByName("code_session")[0].disabled = true; - document.getElementsByName("code_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_etape")[0]) { document.getElementsByName("session_etape")[0].disabled = true; - document.getElementsByName("session_etape")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_etape")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebut")[0]) { document.getElementsByName("sessiondatedebut")[0].disabled = true; - document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefin")[0]) { document.getElementsByName("sessiondatefin")[0].disabled = true; - document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("adresse")[0]) { document.getElementsByName("adresse")[0].disabled = true; - document.getElementsByName("adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur_label")[0]) { document.getElementsByName("formateur_label")[0].disabled = true; - document.getElementsByName("formateur_label")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur_label")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur_id")[0]) { document.getElementsByName("formateur_id")[0].disabled = true; - document.getElementsByName("formateur_id")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur_id")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("nb_participant")[0]) { document.getElementsByName("nb_participant")[0].disabled = true; - document.getElementsByName("nb_participant")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nb_participant")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("prix_session")[0]) { document.getElementsByName("prix_session")[0].disabled = true; - document.getElementsByName("prix_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("prix_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_ondemande") && document.getElementsByName("session_ondemande")[0]) { //console.log(" GRRR ocument.getElementsByName('session_ondemande')[0] = ", document.getElementsByName("session_ondemande")[0].value); document.getElementsByName("session_ondemande")[0].disabled = true; - document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("presentiel")[0]) { document.getElementsByName("presentiel")[0].disabled = true; - document.getElementsByName("presentiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("presentiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("titre_session")[0]) { document.getElementsByName("titre_session")[0].disabled = true; - document.getElementsByName("titre_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("titre_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("emplacement_session")[0]) { document.getElementsByName("emplacement_session")[0].disabled = true; - document.getElementsByName("emplacement_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("emplacement_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("is_bpf_session")[0]) { document.getElementsByName("is_bpf_session")[0].disabled = true; - document.getElementsByName("is_bpf_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("is_bpf_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("distantiel")[0]) { document.getElementsByName("distantiel")[0].disabled = true; - document.getElementsByName("distantiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("distantiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebutinscription")[0]) { document.getElementsByName("sessiondatedebutinscription")[0].disabled = true; - document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefininscription")[0]) { document.getElementsByName("sessiondatefininscription")[0].disabled = true; - document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#f8f9fa"; } // Pour les champs spécifiques pour les sessions @@ -2946,7 +2946,7 @@ function GestionAdministrative(props) { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } @@ -5407,64 +5407,64 @@ function GestionAdministrative(props) { document.getElementsByName("detail_session_class")[0].disabled = true; - document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_client_rattachement")[0].disabled = true; - document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_status_inscript")[0].disabled = true; - document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_opco")[0].disabled = true; - document.getElementsByName("detail_opco")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_opco")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_prenom")[0].disabled = true; - document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_mail")[0].disabled = true; - document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mail")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_tel")[0].disabled = true; - document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_cout")[0].disabled = true; - document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cout")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_mode_fin")[0].disabled = true; - document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_employeur")[0].disabled = true; - document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("detail_incr_date")[0].disabled = true; - document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; // Pour les champs spécifiques for (let i = 0; i < rows_champs_specifics_stagiaire.length; i++) { @@ -5473,7 +5473,7 @@ function GestionAdministrative(props) { if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } } diff --git a/src/components/Groupe_Apprenant.js b/src/components/Groupe_Apprenant.js index d4e52c4..e22d3e1 100644 --- a/src/components/Groupe_Apprenant.js +++ b/src/components/Groupe_Apprenant.js @@ -1127,7 +1127,7 @@ const Groupe_Apprenant = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } diff --git a/src/components/Intranet_Commande_Devis.js b/src/components/Intranet_Commande_Devis.js index 8d42828..d2e9c1d 100644 --- a/src/components/Intranet_Commande_Devis.js +++ b/src/components/Intranet_Commande_Devis.js @@ -2505,163 +2505,163 @@ const Intranet_Commande_Devis = (props) => { if (document.getElementsByName("detail_header_type")[0]) { document.getElementsByName("detail_header_type")[0].disabled = true; - document.getElementsByName("detail_header_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("order_header_inclus_bpf")[0]) { document.getElementsByName("order_header_inclus_bpf")[0].disabled = true; - document.getElementsByName("order_header_inclus_bpf")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("order_header_inclus_bpf")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_status")[0]) { document.getElementsByName("detail_header_status")[0].disabled = true; - document.getElementsByName("detail_header_status")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_status")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_ref_interne")[0]) { document.getElementsByName("detail_header_ref_interne")[0].disabled = true; - document.getElementsByName("detail_header_ref_interne")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_ref_interne")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_order_paiement_condition")[0]) { document.getElementsByName("detail_header_order_paiement_condition")[0].disabled = true; - document.getElementsByName("detail_header_order_paiement_condition")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_order_paiement_condition")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_cmd")[0]) { document.getElementsByName("detail_header_date_cmd")[0].disabled = true; - document.getElementsByName("detail_header_date_cmd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_cmd")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_expiration")[0]) { document.getElementsByName("detail_header_date_expiration")[0].disabled = true; - document.getElementsByName("detail_header_date_expiration")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_expiration")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom_client")[0]) { document.getElementsByName("detail_nom_client")[0].disabled = true; - document.getElementsByName("detail_nom_client")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom_client")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_description")[0]) { document.getElementsByName("detail_header_description")[0].disabled = true; - document.getElementsByName("detail_header_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_description")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_comment")[0]) { document.getElementsByName("detail_header_comment")[0].disabled = true; - document.getElementsByName("detail_header_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_comment")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_lieu_formation")[0]) { document.getElementsByName("detail_header_lieu_formation")[0].disabled = true; - document.getElementsByName("detail_header_lieu_formation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_lieu_formation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_vendeur_nom_prenom")[0]) { document.getElementsByName("detail_header_vendeur_nom_prenom")[0].disabled = true; - document.getElementsByName("detail_header_vendeur_nom_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_vendeur_nom_prenom")[0].style.backgroundColor = "#f8f9fa"; } //--- if (document.getElementsByName("detail_header_ref_cient")[0]) { document.getElementsByName("detail_header_ref_cient")[0].disabled = true; - document.getElementsByName("detail_header_ref_cient")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_ref_cient")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_email_client")[0]) { document.getElementsByName("detail_header_email_client")[0].disabled = true; - document.getElementsByName("detail_header_email_client")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_email_client")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_adresse")[0]) { document.getElementsByName("detail_header_fact_adresse")[0].disabled = true; - document.getElementsByName("detail_header_fact_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_code_postal")[0]) { document.getElementsByName("detail_header_fact_code_postal")[0].disabled = true; - document.getElementsByName("detail_header_fact_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_ville")[0]) { document.getElementsByName("detail_header_fact_ville")[0].disabled = true; - document.getElementsByName("detail_header_fact_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_pays")[0]) { document.getElementsByName("detail_header_fact_pays")[0].disabled = true; - document.getElementsByName("detail_header_fact_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_adresse")[0]) { document.getElementsByName("detail_header_liv_adresse")[0].disabled = true; - document.getElementsByName("detail_header_liv_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_code_postal")[0]) { document.getElementsByName("detail_header_liv_code_postal")[0].disabled = true; - document.getElementsByName("detail_header_liv_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_ville")[0]) { document.getElementsByName("detail_header_liv_ville")[0].disabled = true; - document.getElementsByName("detail_header_liv_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_pays")[0]) { document.getElementsByName("detail_header_liv_pays")[0].disabled = true; - document.getElementsByName("detail_header_liv_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_ht")[0]) { document.getElementsByName("detail_header_total_ht")[0].disabled = true; - document.getElementsByName("detail_header_total_ht")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_ht")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_tax")[0]) { document.getElementsByName("detail_header_total_tax")[0].disabled = true; - document.getElementsByName("detail_header_total_tax")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_tax")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_ttc")[0]) { document.getElementsByName("detail_header_total_ttc")[0].disabled = true; - document.getElementsByName("detail_header_total_ttc")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_ttc")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_reduction")[0]) { document.getElementsByName("detail_header_type_reduction")[0].disabled = true; - document.getElementsByName("detail_header_type_reduction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_reduction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_reduction_valeur")[0]) { document.getElementsByName("detail_header_type_reduction_valeur")[0].disabled = true; - document.getElementsByName("detail_header_type_reduction_valeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_reduction_valeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_montant_reduction")[0]) { document.getElementsByName("detail_header_montant_reduction")[0].disabled = true; - document.getElementsByName("detail_header_montant_reduction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_montant_reduction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_devis_relance_auto")[0]) { document.getElementsByName("detail_header_devis_relance_auto")[0].disabled = true; - document.getElementsByName("detail_header_devis_relance_auto")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_devis_relance_auto")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_devis_freq_relance_auto")[0]) { document.getElementsByName("detail_header_devis_freq_relance_auto")[0].disabled = true; - document.getElementsByName("detail_header_devis_freq_relance_auto")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_devis_freq_relance_auto")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_devis_nb_relance_auto")[0]) { document.getElementsByName("detail_header_devis_nb_relance_auto")[0].disabled = true; - document.getElementsByName("detail_header_devis_nb_relance_auto")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_devis_nb_relance_auto")[0].style.backgroundColor = "#f8f9fa"; } } diff --git a/src/components/Intranet_Factures_Client.js b/src/components/Intranet_Factures_Client.js index a3655b8..46e3d52 100644 --- a/src/components/Intranet_Factures_Client.js +++ b/src/components/Intranet_Factures_Client.js @@ -1989,163 +1989,163 @@ const Intranet_Factures_Client = (props) => { if (document.getElementsByName("detail_header_num_facture")[0]) { document.getElementsByName("detail_header_num_facture")[0].disabled = true; - document.getElementsByName("detail_header_num_facture")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_num_facture")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_document")[0]) { document.getElementsByName("detail_header_type_document")[0].disabled = true; - document.getElementsByName("detail_header_type_document")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_document")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_facture")[0]) { document.getElementsByName("detail_header_date_facture")[0].disabled = true; - document.getElementsByName("detail_header_date_facture")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_facture")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type")[0]) { document.getElementsByName("detail_header_type")[0].disabled = true; - document.getElementsByName("detail_header_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_status")[0]) { document.getElementsByName("detail_header_status")[0].disabled = true; - document.getElementsByName("detail_header_status")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_status")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_ref_interne")[0]) { document.getElementsByName("detail_header_ref_interne")[0].disabled = true; - document.getElementsByName("detail_header_ref_interne")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_ref_interne")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_order_paiement_condition")[0]) { document.getElementsByName("detail_header_order_paiement_condition")[0].disabled = true; - document.getElementsByName("detail_header_order_paiement_condition")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_order_paiement_condition")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_cmd")[0]) { document.getElementsByName("detail_header_date_cmd")[0].disabled = true; - document.getElementsByName("detail_header_date_cmd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_cmd")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_expiration")[0]) { document.getElementsByName("detail_header_date_expiration")[0].disabled = true; - document.getElementsByName("detail_header_date_expiration")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_expiration")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom_client")[0]) { document.getElementsByName("detail_nom_client")[0].disabled = true; - document.getElementsByName("detail_nom_client")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom_client")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_email_client")[0]) { document.getElementsByName("detail_header_email_client")[0].disabled = true; - document.getElementsByName("detail_header_email_client")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_email_client")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_description")[0]) { document.getElementsByName("detail_header_description")[0].disabled = true; - document.getElementsByName("detail_header_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_description")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_comment")[0]) { document.getElementsByName("detail_header_comment")[0].disabled = true; - document.getElementsByName("detail_header_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_comment")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_vendeur_nom_prenom")[0]) { document.getElementsByName("detail_header_vendeur_nom_prenom")[0].disabled = true; - document.getElementsByName("detail_header_vendeur_nom_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_vendeur_nom_prenom")[0].style.backgroundColor = "#f8f9fa"; } //--- if (document.getElementsByName("detail_header_ref_cient")[0]) { document.getElementsByName("detail_header_ref_cient")[0].disabled = true; - document.getElementsByName("detail_header_ref_cient")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_ref_cient")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_mode_paiement")[0]) { document.getElementsByName("detail_header_mode_paiement")[0].disabled = true; - document.getElementsByName("detail_header_mode_paiement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_mode_paiement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_echeance")[0]) { document.getElementsByName("detail_header_date_echeance")[0].disabled = true; - document.getElementsByName("detail_header_date_echeance")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_echeance")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_adresse")[0]) { document.getElementsByName("detail_header_fact_adresse")[0].disabled = true; - document.getElementsByName("detail_header_fact_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_code_postal")[0]) { document.getElementsByName("detail_header_fact_code_postal")[0].disabled = true; - document.getElementsByName("detail_header_fact_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_ville")[0]) { document.getElementsByName("detail_header_fact_ville")[0].disabled = true; - document.getElementsByName("detail_header_fact_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_pays")[0]) { document.getElementsByName("detail_header_fact_pays")[0].disabled = true; - document.getElementsByName("detail_header_fact_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_adresse")[0]) { document.getElementsByName("detail_header_liv_adresse")[0].disabled = true; - document.getElementsByName("detail_header_liv_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_code_postal")[0]) { document.getElementsByName("detail_header_liv_code_postal")[0].disabled = true; - document.getElementsByName("detail_header_liv_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_ville")[0]) { document.getElementsByName("detail_header_liv_ville")[0].disabled = true; - document.getElementsByName("detail_header_liv_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_pays")[0]) { document.getElementsByName("detail_header_liv_pays")[0].disabled = true; - document.getElementsByName("detail_header_liv_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_ht")[0]) { document.getElementsByName("detail_header_total_ht")[0].disabled = true; - document.getElementsByName("detail_header_total_ht")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_ht")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_tax")[0]) { document.getElementsByName("detail_header_total_tax")[0].disabled = true; - document.getElementsByName("detail_header_total_tax")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_tax")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_ttc")[0]) { document.getElementsByName("detail_header_total_ttc")[0].disabled = true; - document.getElementsByName("detail_header_total_ttc")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_ttc")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_reduction")[0]) { document.getElementsByName("detail_header_type_reduction")[0].disabled = true; - document.getElementsByName("detail_header_type_reduction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_reduction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_reduction_valeur")[0]) { document.getElementsByName("detail_header_type_reduction_valeur")[0].disabled = true; - document.getElementsByName("detail_header_type_reduction_valeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_reduction_valeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_montant_reduction")[0]) { document.getElementsByName("detail_header_montant_reduction")[0].disabled = true; - document.getElementsByName("detail_header_montant_reduction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_montant_reduction")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/Intranet_Mes_Stagiaires.js b/src/components/Intranet_Mes_Stagiaires.js index 1f33971..8f37f71 100644 --- a/src/components/Intranet_Mes_Stagiaires.js +++ b/src/components/Intranet_Mes_Stagiaires.js @@ -1576,155 +1576,155 @@ registerLocale('fr', fr); if (document.getElementsByName("detail_session_class")[0]) { document.getElementsByName("detail_session_class")[0].disabled = true; - document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_client_rattachement")[0]) { document.getElementsByName("detail_client_rattachement")[0].disabled = true; - document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_facture_client_rattachement")[0]) { document.getElementsByName("detail_facture_client_rattachement")[0].disabled = true; - document.getElementsByName("detail_facture_client_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_facture_client_rattachement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_financeur_rattachement")[0]) { document.getElementsByName("detail_financeur_rattachement")[0].disabled = true; - document.getElementsByName("detail_financeur_rattachement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_financeur_rattachement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_civilite")[0]) { document.getElementsByName("detail_civilite")[0].disabled = true; - document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom")[0]) { document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_status_inscript")[0]) { document.getElementsByName("detail_status_inscript")[0].disabled = true; - document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_opco")[0]) { document.getElementsByName("detail_opco")[0].disabled = true; - document.getElementsByName("detail_opco")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_opco")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_type_apprenant")[0]) { document.getElementsByName("detail_type_apprenant")[0].disabled = true; - document.getElementsByName("detail_type_apprenant")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_type_apprenant")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prenom")[0]) { document.getElementsByName("detail_prenom")[0].disabled = true; - document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_financement") && document.getElementsByName("detail_mode_financement")[0]) { document.getElementsByName("detail_mode_financement")[0].disabled = true; - document.getElementsByName("detail_mode_financement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_financement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mail")[0]) { document.getElementsByName("detail_mail")[0].disabled = true; - document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_naissance")[0]) { document.getElementsByName("detail_naissance")[0].disabled = true; - document.getElementsByName("detail_naissance")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_naissance")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tel")[0]) { document.getElementsByName("detail_tel")[0].disabled = true; - document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cout")[0]) { document.getElementsByName("detail_cout")[0].disabled = true; - document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cout")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_mode_fin")[0]) { document.getElementsByName("detail_mode_fin")[0].disabled = true; - document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_employeur")[0]) { document.getElementsByName("detail_employeur")[0].disabled = true; - document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("date_evaluation")[0]) { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("certif_date")[0]) { document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("note_eval")[0]) { document.getElementsByName("note_eval")[0].disabled = true; - document.getElementsByName("note_eval")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("note_eval")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("date_evaluation")[0]) { document.getElementsByName("date_evaluation")[0].disabled = true; - document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_incr_date")[0]) { document.getElementsByName("detail_incr_date")[0].disabled = true; - document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("certif_date")[0]) { document.getElementsByName("certif_date")[0].disabled = true; - document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("certif_date")[0].style.backgroundColor = "#f8f9fa"; } // Pour les champs spécifiques @@ -1734,7 +1734,7 @@ registerLocale('fr', fr); if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } @@ -1742,42 +1742,42 @@ registerLocale('fr', fr); // on desactive les champs "tuteurs". Pour info, ces champs ne sont jamais "enable" if (document.getElementsByName("detail_tuteur1_nom")[0]) { document.getElementsByName("detail_tuteur1_nom")[0].disabled = true; - document.getElementsByName("detail_tuteur1_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur1_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur1_prenom")[0]) { document.getElementsByName("detail_tuteur1_prenom")[0].disabled = true; - document.getElementsByName("detail_tuteur1_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur1_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur1_email")[0]) { document.getElementsByName("detail_tuteur1_email")[0].disabled = true; - document.getElementsByName("detail_tuteur1_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur1_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur1_phone")[0]) { document.getElementsByName("detail_tuteur1_phone")[0].disabled = true; - document.getElementsByName("detail_tuteur1_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur1_phone")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur2_nom")[0]) { document.getElementsByName("detail_tuteur2_nom")[0].disabled = true; - document.getElementsByName("detail_tuteur2_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur2_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur2_prenom")[0]) { document.getElementsByName("detail_tuteur2_prenom")[0].disabled = true; - document.getElementsByName("detail_tuteur2_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur2_prenom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur2_email")[0]) { document.getElementsByName("detail_tuteur2_email")[0].disabled = true; - document.getElementsByName("detail_tuteur2_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur2_email")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_tuteur2_phone")[0]) { document.getElementsByName("detail_tuteur2_phone")[0].disabled = true; - document.getElementsByName("detail_tuteur2_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_tuteur2_phone")[0].style.backgroundColor = "#f8f9fa"; } } @@ -4593,102 +4593,102 @@ registerLocale('fr', fr); if (document.getElementsByName("myclass_title")[0]) { document.getElementsByName("myclass_title")[0].disabled = true; - document.getElementsByName("myclass_title")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("myclass_title")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_session")[0]) { document.getElementsByName("code_session")[0].disabled = true; - document.getElementsByName("code_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_status")[0]) { document.getElementsByName("session_status")[0].disabled = true; - document.getElementsByName("session_status")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_status")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_etape")[0]) { document.getElementsByName("session_etape")[0].disabled = true; - document.getElementsByName("session_etape")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_etape")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebut")[0]) { document.getElementsByName("sessiondatedebut")[0].disabled = true; - document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefin")[0]) { document.getElementsByName("sessiondatefin")[0].disabled = true; - document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("adresse")[0]) { document.getElementsByName("adresse")[0].disabled = true; - document.getElementsByName("adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("code_postal")[0]) { document.getElementsByName("code_postal")[0].disabled = true; - document.getElementsByName("code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("ville")[0]) { document.getElementsByName("ville")[0].disabled = true; - document.getElementsByName("ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("pays")[0]) { document.getElementsByName("pays")[0].disabled = true; - document.getElementsByName("pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("formateur")[0]) { document.getElementsByName("formateur")[0].disabled = true; - document.getElementsByName("formateur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("formateur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("lms_class_code")[0]) { document.getElementsByName("lms_class_code")[0].disabled = true; - document.getElementsByName("lms_class_code")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("lms_class_code")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("nb_participant")[0]) { document.getElementsByName("nb_participant")[0].disabled = true; - document.getElementsByName("nb_participant")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nb_participant")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("prix_session")[0]) { document.getElementsByName("prix_session")[0].disabled = true; - document.getElementsByName("prix_session")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("prix_session")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("session_ondemande")[0]) { document.getElementsByName("session_ondemande")[0].disabled = true; - document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("session_ondemande")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("presentiel")[0]) { document.getElementsByName("presentiel")[0].disabled = true; - document.getElementsByName("presentiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("presentiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("distantiel")[0]) { document.getElementsByName("distantiel")[0].disabled = true; - document.getElementsByName("distantiel")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("distantiel")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebutinscription")[0]) { document.getElementsByName("sessiondatedebutinscription")[0].disabled = true; - document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebutinscription")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefininscription")[0]) { document.getElementsByName("sessiondatefininscription")[0].disabled = true; - document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefininscription")[0].style.backgroundColor = "#f8f9fa"; } // Pour les champs spécifiques @@ -4698,7 +4698,7 @@ registerLocale('fr', fr); if (document.getElementsByName(String(field_name))[0]) { document.getElementsByName(String(field_name))[0].disabled = true; - document.getElementsByName(String(field_name))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(field_name))[0].style.backgroundColor = "#f8f9fa"; } } diff --git a/src/components/Jurys.js b/src/components/Jurys.js index e2f65fc..b018648 100644 --- a/src/components/Jurys.js +++ b/src/components/Jurys.js @@ -1485,7 +1485,7 @@ const Jury = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -2390,7 +2390,7 @@ const Jury = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -4535,7 +4535,7 @@ const Jury = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_jury_observation} @@ -4557,7 +4557,7 @@ const Jury = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_jury_note} @@ -4578,7 +4578,7 @@ const Jury = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_jury_validation} @@ -7271,20 +7271,20 @@ const Jury = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } @@ -7743,20 +7743,20 @@ const Jury = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } @@ -8775,7 +8775,7 @@ const Jury = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_soutenance_sujet} @@ -8796,7 +8796,7 @@ const Jury = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_soutenance_observation} @@ -8815,7 +8815,7 @@ const Jury = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_soutenance_note} @@ -8838,7 +8838,7 @@ const Jury = (props) => { maxRows={4} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_soutenance_sujet} @@ -8863,7 +8863,7 @@ const Jury = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_soutenance_observation} @@ -8885,7 +8885,7 @@ const Jury = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_soutenance_note} diff --git a/src/components/Jurys_Admission.js b/src/components/Jurys_Admission.js index db7ae9c..97d59f7 100644 --- a/src/components/Jurys_Admission.js +++ b/src/components/Jurys_Admission.js @@ -1556,7 +1556,7 @@ const Jurys_Admission = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -2454,7 +2454,7 @@ const Jurys_Admission = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -4596,7 +4596,7 @@ const Jurys_Admission = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_jury_observation} @@ -4618,7 +4618,7 @@ const Jurys_Admission = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_jury_note} @@ -4639,7 +4639,7 @@ const Jurys_Admission = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_jury_validation} @@ -7186,20 +7186,20 @@ const Jurys_Admission = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } @@ -7581,20 +7581,20 @@ const Jurys_Admission = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_code_postal")[0]) { document.getElementsByName("detail_code_postal")[0].disabled = true; - document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } @@ -8615,7 +8615,7 @@ const Jurys_Admission = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_soutenance_sujet} @@ -8636,7 +8636,7 @@ const Jurys_Admission = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_soutenance_observation} @@ -8655,7 +8655,7 @@ const Jurys_Admission = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_soutenance_note} @@ -8678,7 +8678,7 @@ const Jurys_Admission = (props) => { maxRows={4} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '10rem', minHeight: '10rem', marginBottom: '3rem' }} value={p_detail_soutenance_sujet} @@ -8703,7 +8703,7 @@ const Jurys_Admission = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '10rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem' }} value={p_detail_soutenance_observation} @@ -8725,7 +8725,7 @@ const Jurys_Admission = (props) => { rows={1} style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '3rem', height: '3rem', minHeight: '3rem', marginBottom: '3rem' }} value={p_detail_soutenance_note} diff --git a/src/components/Materiel_Salle.js b/src/components/Materiel_Salle.js index b1cbf72..277ddcf 100644 --- a/src/components/Materiel_Salle.js +++ b/src/components/Materiel_Salle.js @@ -1183,79 +1183,79 @@ const Materiel_Salle = (props) => { if (document.getElementsByName("detail_ref_interne")[0]) { document.getElementsByName("detail_ref_interne")[0].disabled = true; - document.getElementsByName("detail_ref_interne")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ref_interne")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom")[0]) { document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_description")[0]) { document.getElementsByName("detail_description")[0].disabled = true; - document.getElementsByName("detail_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_description")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_detail")[0]) { document.getElementsByName("detail_detail")[0].disabled = true; - document.getElementsByName("detail_detail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_detail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_famille")[0]) { document.getElementsByName("detail_famille")[0].disabled = true; - document.getElementsByName("detail_famille")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_famille")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_marque")[0]) { document.getElementsByName("detail_marque")[0].disabled = true; - document.getElementsByName("detail_marque")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_marque")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_civilite")[0]) { document.getElementsByName("detail_civilite")[0].disabled = true; - document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_type")[0]) { document.getElementsByName("detail_type")[0].disabled = true; - document.getElementsByName("detail_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prix_achat")[0]) { document.getElementsByName("detail_prix_achat")[0].disabled = true; - document.getElementsByName("detail_prix_achat")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prix_achat")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prix_achat_by")[0]) { document.getElementsByName("detail_prix_achat_by")[0].disabled = true; - document.getElementsByName("detail_prix_achat_by")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prix_achat_by")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_site_formation")[0]) { document.getElementsByName("detail_site_formation")[0].disabled = true; - document.getElementsByName("detail_site_formation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_site_formation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_fournisseur")[0]) { document.getElementsByName("detail_fournisseur")[0].disabled = true; - document.getElementsByName("detail_fournisseur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_fournisseur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_qty_stock")[0]) { document.getElementsByName("detail_qty_stock")[0].disabled = true; - document.getElementsByName("detail_qty_stock")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_qty_stock")[0].style.backgroundColor = "#f8f9fa"; } @@ -1263,35 +1263,35 @@ const Materiel_Salle = (props) => { if (document.getElementsByName("detail_capcite_max")[0]) { document.getElementsByName("detail_capcite_max")[0].disabled = true; - document.getElementsByName("detail_capcite_max")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_capcite_max")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_capcite_ideale")[0]) { document.getElementsByName("detail_capcite_ideale")[0].disabled = true; - document.getElementsByName("detail_capcite_ideale")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_capcite_ideale")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_complement_adr")[0]) { document.getElementsByName("detail_complement_adr")[0].disabled = true; - document.getElementsByName("detail_complement_adr")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_complement_adr")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cp")[0]) { document.getElementsByName("detail_cp")[0].disabled = true; - document.getElementsByName("detail_cp")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cp")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } @@ -2359,36 +2359,36 @@ const Materiel_Salle = (props) => { if (document.getElementsByName("affect_poste")[0]) { document.getElementsByName("affect_poste")[0].disabled = true; - document.getElementsByName("affect_poste")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_poste")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_cible")[0]) { document.getElementsByName("affect_cible")[0].disabled = true; - document.getElementsByName("affect_cible")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_cible")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_cible_nom")[0]) { document.getElementsByName("affect_cible_nom")[0].disabled = true; - document.getElementsByName("affect_cible_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_cible_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_date_du")[0]) { document.getElementsByName("affect_date_du")[0].disabled = true; - document.getElementsByName("affect_date_du")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_date_du")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_date_au")[0]) { document.getElementsByName("affect_date_au")[0].disabled = true; - document.getElementsByName("affect_date_au")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_date_au")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_comment")[0]) { document.getElementsByName("affect_comment")[0].disabled = true; - document.getElementsByName("affect_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_comment")[0].style.backgroundColor = "#f8f9fa"; } } @@ -4454,7 +4454,7 @@ const Materiel_Salle = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -4886,7 +4886,7 @@ const Materiel_Salle = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} diff --git a/src/components/Materiels.js b/src/components/Materiels.js index efe88f0..c8aeda5 100644 --- a/src/components/Materiels.js +++ b/src/components/Materiels.js @@ -985,74 +985,74 @@ const Materiels = (props) => { if (document.getElementsByName("detail_ref_interne")[0]) { document.getElementsByName("detail_ref_interne")[0].disabled = true; - document.getElementsByName("detail_ref_interne")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ref_interne")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom")[0]) { document.getElementsByName("detail_nom")[0].disabled = true; - document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_description")[0]) { document.getElementsByName("detail_description")[0].disabled = true; - document.getElementsByName("detail_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_description")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_detail")[0]) { document.getElementsByName("detail_detail")[0].disabled = true; - document.getElementsByName("detail_detail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_detail")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_famille")[0]) { document.getElementsByName("detail_famille")[0].disabled = true; - document.getElementsByName("detail_famille")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_famille")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_marque")[0]) { document.getElementsByName("detail_marque")[0].disabled = true; - document.getElementsByName("detail_marque")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_marque")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_civilite")[0]) { document.getElementsByName("detail_civilite")[0].disabled = true; - document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_civilite")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_type")[0]) { document.getElementsByName("detail_type")[0].disabled = true; - document.getElementsByName("detail_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_prix_achat")[0]) { document.getElementsByName("detail_prix_achat")[0].disabled = true; - document.getElementsByName("detail_prix_achat")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_prix_achat")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_site_formation")[0]) { document.getElementsByName("detail_site_formation")[0].disabled = true; - document.getElementsByName("detail_site_formation")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_site_formation")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_fournisseur")[0]) { document.getElementsByName("detail_fournisseur")[0].disabled = true; - document.getElementsByName("detail_fournisseur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_fournisseur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_qty_stock")[0]) { document.getElementsByName("detail_qty_stock")[0].disabled = true; - document.getElementsByName("detail_qty_stock")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_qty_stock")[0].style.backgroundColor = "#f8f9fa"; } } @@ -1973,36 +1973,36 @@ const Materiels = (props) => { if (document.getElementsByName("affect_poste")[0]) { document.getElementsByName("affect_poste")[0].disabled = true; - document.getElementsByName("affect_poste")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_poste")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_cible")[0]) { document.getElementsByName("affect_cible")[0].disabled = true; - document.getElementsByName("affect_cible")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_cible")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_cible_nom")[0]) { document.getElementsByName("affect_cible_nom")[0].disabled = true; - document.getElementsByName("affect_cible_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_cible_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_date_du")[0]) { document.getElementsByName("affect_date_du")[0].disabled = true; - document.getElementsByName("affect_date_du")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_date_du")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_date_au")[0]) { document.getElementsByName("affect_date_au")[0].disabled = true; - document.getElementsByName("affect_date_au")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_date_au")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("affect_comment")[0]) { document.getElementsByName("affect_comment")[0].disabled = true; - document.getElementsByName("affect_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("affect_comment")[0].style.backgroundColor = "#f8f9fa"; } } @@ -3860,7 +3860,7 @@ const Materiels = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -4534,7 +4534,7 @@ const Materiels = (props) => { maxRows={5} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} diff --git a/src/components/Module_Actvitie_Pedagogique.js b/src/components/Module_Actvitie_Pedagogique.js index 11fedbb..53ab4e3 100644 --- a/src/components/Module_Actvitie_Pedagogique.js +++ b/src/components/Module_Actvitie_Pedagogique.js @@ -958,7 +958,7 @@ const Module_Actvitie_Pedagogique = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -1787,7 +1787,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -1814,7 +1814,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -1857,7 +1857,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -1880,7 +1880,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -1932,7 +1932,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '7rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -1973,7 +1973,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '7rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2022,7 +2022,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '7rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2063,7 +2063,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '7rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2184,7 +2184,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2211,7 +2211,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2254,7 +2254,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2277,7 +2277,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2329,7 +2329,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '7rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2370,7 +2370,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '7rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2418,7 +2418,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '7rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2459,7 +2459,7 @@ const Module_Actvitie_Pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '15rem', height: '7rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} diff --git a/src/components/Module_Bloc_Competence_Pedagogique.js b/src/components/Module_Bloc_Competence_Pedagogique.js index ee6e6fc..e1039df 100644 --- a/src/components/Module_Bloc_Competence_Pedagogique.js +++ b/src/components/Module_Bloc_Competence_Pedagogique.js @@ -281,9 +281,9 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { const column_pole_domaine_competence = [ { field: '_id', headerName: '_id', hide: true, Width: 0, disableExport: true, }, { field: 'id', headerName: 'id', hide: true, Width: 0, disableExport: true, }, - { field: 'code', headerName: 'Code', flex: 1, hide: false, flex: 1, renderCell: (params) => , }, + { field: 'code', headerName: 'Code', flex: 1, hide: false, flex: 1, renderCell: (params) => , }, { field: 'rang', headerName: 'Rang', hide: false, maxWidth: 100, renderCell: (params) => , }, - { field: 'description', headerName: 'Description', flex: 1, hide: false, renderCell: (params) => , }, + { field: 'description', headerName: 'Description', flex: 1, hide: false, renderCell: (params) => , }, { field: "delete", headerName: 'Supprimer', @@ -358,8 +358,13 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { { field: 'ue_id', headerName: 'ue_id', hide: true, Width: 0, disableExport: true, }, { field: 'competence_id', headerName: 'competence_id', hide: true, Width: 0, disableExport: true, }, { field: 'domaine_competence_id', headerName: 'domaine_competence_id', hide: true, Width: 0, disableExport: true, }, + { field: 'type_association', headerName: 'type_association', hide: true, Width: 0, disableExport: true, }, + { field: 'semestre', headerName: 'Semestre', hide: false, Width: 50, renderCell: (params) => , }, + { field: 'diplome_code', headerName: 'Diplome', hide: false, maxWidth: 200, flex: 1, renderCell: (params) => , }, + + { field: 'ue_code', headerName: 'UE Code', flex: 1, hide: false, maxWidth: 250, renderCell: (params) => , }, { field: 'ue_titre', headerName: 'UE Titre', hide: false, minWidth: 200, flex: 1, renderCell: (params) => , }, @@ -1272,7 +1277,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -1740,6 +1745,9 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { setselected_ue_to_add_id(""); setselected_ue_comptence_to_add_id(""); + setselected_semestre_to_add_id(""); + setselected_diplome_to_add_id(""); + }; @@ -1932,10 +1940,13 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { const [selected_ue_to_add_id, setselected_ue_to_add_id] = useState(""); const [selected_ue_comptence_to_add_id, setselected_ue_comptence_to_add_id] = useState(""); + const [selected_semestre_to_add_id, setselected_semestre_to_add_id] = useState(""); + const [selected_diplome_to_add_id, setselected_diplome_to_add_id] = useState(""); + const [selected_ue_domaine_comptence_to_add_id, setselected_ue_domaine_comptence_to_add_id] = useState(""); - function Add_UE_And_Compet_To_Bloc_Competence(local_ue_id, local_compet_id, local_type_asso, local_domaine_compet_id) { + function Add_UE_And_Compet_To_Bloc_Competence(local_ue_id, local_compet_id, local_type_asso, local_domaine_compet_id, local_semestre, local_diplome) { var form = new FormData(); //form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA"); @@ -1949,6 +1960,10 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { form.append("domaine_competence_id", local_domaine_compet_id); form.append("type_association", local_type_asso); + form.append("semestre", local_semestre); + form.append("diplome_id", local_diplome); + + console.log(" ## form = ", form) var myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence/"; setLoading(true); @@ -2058,7 +2073,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { const New_Option_Compet_Or_Domain = [ { "id": "0", "label": "Compétence", "value": "0" }, - { "id": "1", "label": "Domaine Compétence", "value": "1" }, + { "id": "1", "label": "Domaine / bloc de compétences", "value": "1" }, ] const [type_association, settype_association] = useState("0"); @@ -2069,6 +2084,93 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { const [hide_domaine_competence, sethide_domaine_competence] = useState(""); + + const [New_Getall_Parter_config_diplome_result, setNew_Getall_Parter_config_diplome_result] = useState([]); + + const [Getall_Parter_config_diplome_api, setGetall_Parter_config_diplome_api] = useState(); + const [Getall_Parter_config_diplome_message, setGetall_Parter_config_diplome_message] = useState(); + const [Getall_Parter_config_diplome_result, setGetall_Parter_config_diplome_result] = useState([]); + function Getall_Parter_config_diplome(event) { + + var form = new FormData(); + + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Diplome/"; + + setLoading(true); + axios.post(myurl, form).then(res => { + setLoading(false); + + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Parter_config_diplome res.data.status = " + res.data.status); + //console.log(" In Getall_Parter_config_diplome res.data.message r_class = " + res.data.message); + setGetall_Parter_config_diplome_api("true"); + setGetall_Parter_config_diplome_result(res.data.message); + //setRows(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_code = JSON.parse(x).code; + var local_description = JSON.parse(x).description; + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code, + "code": local_code, + "description": local_description, + + }; + new_data2.push(node); + }); + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "code": "", + "description": "", + + }; + new_data2.push(node); + + if (new_data2.length > 0) + setNew_Getall_Parter_config_diplome_result(new_data2); + + } + else { + setGetall_Parter_config_diplome_api("false"); + setGetall_Parter_config_diplome_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('Not good man :( Getall_Parter_config_diplome = ', error); + setGetall_Parter_config_diplome_api("false"); + + setdisplay_alert_mysy("1"); + setalert_message(" Impossible de recuperer la liste des diplomes"); + setalert_type("error"); + //setmyApimyApiMessage("") + }) + } + + + return (
@@ -2357,6 +2459,8 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { />}
} + + {type_association && type_association === "1" &&
Domaine de compétence {New_Getall_Partner_Domaine_Competence_result && New_Getall_Partner_Domaine_Competence_result.length > 0 && { +
Diplome
+ {New_Getall_Parter_config_diplome_result && New_Getall_Parter_config_diplome_result.length > 0 && (data)._id === String(selected_diplome_to_add_id))[0].label} + options={New_Getall_Parter_config_diplome_result} + onChange={(event, value) => { + + if (value && value._id) { + setselected_diplome_to_add_id(value._id); + } + else { + setselected_diplome_to_add_id(""); + } + }} + + renderInput={(params) => + } + />} + + +
+ +
Semestre
+ { + setselected_semestre_to_add_id(e.target.value); + + } + } + + /> +
+ + @@ -2423,7 +2578,8 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { setalert_type("error"); } - Add_UE_And_Compet_To_Bloc_Competence(selected_ue_to_add_id, selected_ue_comptence_to_add_id, type_association, selected_ue_domaine_comptence_to_add_id); + Add_UE_And_Compet_To_Bloc_Competence(selected_ue_to_add_id, selected_ue_comptence_to_add_id, type_association, + selected_ue_domaine_comptence_to_add_id, selected_semestre_to_add_id, selected_diplome_to_add_id); }} @@ -2595,12 +2751,12 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { // Gestion des cellule a distance ou presentiel '& .cell--distantiel': { backgroundColor: '#AFE1AF', - color: "#0a2a4d", + color: "#0a2a4d", }, '& .cell--presentiel': { backgroundColor: '#AFE1AF', - color: "#0a2a4d", + color: "#0a2a4d", }, @@ -2612,11 +2768,11 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { '& .line--statut--inscrit': { backgroundColor: '#CEF6D8', - color: "#0a2a4d", + color: "#0a2a4d", }, '& .line--statut--preinscrit': { backgroundColor: '#F7F2E0', - color: "#0a2a4d", + color: "#0a2a4d", }, @@ -2874,7 +3030,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2897,7 +3053,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -2922,7 +3078,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -3061,7 +3217,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -3084,7 +3240,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -3108,7 +3264,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px' }} @@ -3278,11 +3434,11 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { '& .line--statut--inscrit': { backgroundColor: '#CEF6D8', - color: "#0a2a4d", + color: "#0a2a4d", }, '& .line--statut--preinscrit': { backgroundColor: '#F7F2E0', - color: "#0a2a4d", + color: "#0a2a4d", }, @@ -3465,7 +3621,7 @@ const Module_Bloc_bloc_competence_pedagogique = (props) => { }} onClick={(e) => { sethide_domaine_competence("0") }}> - Afficher Liste Domaines Compétence + Afficher list Domaine / bloc de compétences
@@ -8168,7 +8563,7 @@ const Partner_Configuration_Technique = (props) => { disabled={false} className="disabled_style" value={p_detail_doc_automatic_type} - style={{ background: '#ECEFF1' }} + style={{ background: '#f8f9fa' }} />
@@ -8189,7 +8584,7 @@ const Partner_Configuration_Technique = (props) => { className="disabled_style" value={New_Option_Automatic_Doc_Action_Target.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label} - style={{ background: '#ECEFF1' }} + style={{ background: '#f8f9fa' }} />} @@ -8208,7 +8603,7 @@ const Partner_Configuration_Technique = (props) => { className="disabled_style" value={New_Option_Automatic_Doc_Action_Target_For_Emargement.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label} - style={{ background: '#ECEFF1' }} + style={{ background: '#f8f9fa' }} />} @@ -8228,7 +8623,7 @@ const Partner_Configuration_Technique = (props) => { className="disabled_style" value={New_Option_Automatic_Doc_Action_Target_For_Q_Position.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label} - style={{ background: '#ECEFF1' }} + style={{ background: '#f8f9fa' }} />}
@@ -8247,7 +8642,7 @@ const Partner_Configuration_Technique = (props) => { disabled={false} className="disabled_style" value={p_detail_doc_automatic_nb_jour_action} - style={{ background: '#ECEFF1' }} + style={{ background: '#f8f9fa' }} /> } @@ -9221,6 +9616,184 @@ const Partner_Configuration_Technique = (props) => { } + + + {/*** Catégorie d'inscrit */} + {String(submenu) === "categorie_inscrit" &&
+ Categorie
+ +
+
+
+
+ +
+   + + { + setselectionModel_categorie_apprenant(newSelectionModel); + + }} + selectionModel={selectionModel_categorie_apprenant} + + localeText={frFR.components.MuiDataGrid.defaultProps.localeText} + rows={Getall_Parter_Categorie_Inscrit_result.map((item, index) => ( + { + id: index, + _id: JSON.parse(item)._id, + code: JSON.parse(item).code, + description: JSON.parse(item).description, + + } + ))} + + columns={columns_categorie_inscrit} + pageSize={10} + className="datagridclass" + + onRowDoubleClick={(newSelectionModel) => { + setgridline_categorie_inscrit_id(newSelectionModel.row.id); + handleClick_edit_config_From_categorie(newSelectionModel.row.id); + + }} + + + rowsPerPageOptions={[10]} + //disableSelectionOnClick + components={{ + Toolbar: GridToolbar, + }} + //sx={datagridSx} + getCellClassName={(params) => { + + + //field === "order_header_status" + if (params.field === "order_header_status" && String(params.value) == "0") { + return 'cell--status--brouillon'; + } + + if (params.field === "order_header_status" && String(params.value) == "1") { + + return 'cell--status--encours'; + } + + if (params.field === "order_header_status" && String(params.value) == "2") { + return 'cell--status--traite'; + } + + if (params.field === "order_header_status" && String(params.value) == "3") { + return 'cell--status--facture'; + } + + }} + getRowClassName={(params) => { + + if (String(params.row.status) === "-1") { + return 'line--statut--annule'; + } + if (String(params.row.status) === "0") { + return 'line--statut--preinscrit'; + } + if (String(params.row.status) === "1") { + return 'line--statut--inscrit'; + } + + // Pour la gestion de la couleur de zone double cliquée + if (String(params.row.id) === String(gridline_type_groupe_inscrit_id)) { + return 'line--statut--selected'; + } + else if (parseInt(String(params.row.id)) % 2 === 0) { + return 'line--statut--pair'; + } + else if (parseInt(String(params.row.id)) % 2 !== 0) { + return 'line--statut--impair'; + } + }} + + + /> + +
+ +
+ +
+ +
+
+ +
+ +
+
+
 
+
+ +
+ + +
} ) } diff --git a/src/components/Partner_Domaine_Categorie_Metier.js b/src/components/Partner_Domaine_Categorie_Metier.js index 1fdb80f..8312f49 100644 --- a/src/components/Partner_Domaine_Categorie_Metier.js +++ b/src/components/Partner_Domaine_Categorie_Metier.js @@ -928,22 +928,22 @@ registerLocale('fr', fr); if (document.getElementsByName("detail_categorie_code")[0]) { document.getElementsByName("detail_categorie_code")[0].disabled = true; - document.getElementsByName("detail_categorie_code")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_categorie_code")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_categorie_nom")[0]) { document.getElementsByName("detail_categorie_nom")[0].disabled = true; - document.getElementsByName("detail_categorie_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_categorie_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_categorie_description")[0]) { document.getElementsByName("detail_categorie_description")[0].disabled = true; - document.getElementsByName("detail_categorie_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_categorie_description")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_categorie_domaine")[0]) { document.getElementsByName("detail_categorie_domaine")[0].disabled = true; - document.getElementsByName("detail_categorie_domaine")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_categorie_domaine")[0].style.backgroundColor = "#f8f9fa"; } } @@ -993,22 +993,22 @@ registerLocale('fr', fr); if (document.getElementsByName("detail_metier_code")[0]) { document.getElementsByName("detail_metier_code")[0].disabled = true; - document.getElementsByName("detail_metier_code")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_metier_code")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_metier_nom")[0]) { document.getElementsByName("detail_metier_nom")[0].disabled = true; - document.getElementsByName("detail_metier_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_metier_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_metier_description")[0]) { document.getElementsByName("detail_metier_description")[0].disabled = true; - document.getElementsByName("detail_metier_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_metier_description")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_metier_domaine")[0]) { document.getElementsByName("detail_metier_domaine")[0].disabled = true; - document.getElementsByName("detail_metier_domaine")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_metier_domaine")[0].style.backgroundColor = "#f8f9fa"; } } @@ -1058,19 +1058,19 @@ registerLocale('fr', fr); if (document.getElementsByName("detail_domaine_code") && document.getElementsByName("detail_domaine_code")[0]) { document.getElementsByName("detail_domaine_code")[0].disabled = true; - document.getElementsByName("detail_domaine_code")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_domaine_code")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_domaine_nom") && document.getElementsByName("detail_domaine_nom")[0]) { document.getElementsByName("detail_domaine_nom")[0].disabled = true; - document.getElementsByName("detail_domaine_nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_domaine_nom")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_domaine_description") && document.getElementsByName("detail_domaine_description")[0]) { document.getElementsByName("detail_domaine_description")[0].disabled = true; - document.getElementsByName("detail_domaine_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_domaine_description")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/Partner_Facture.js b/src/components/Partner_Facture.js index 8748c78..bf5b1b0 100644 --- a/src/components/Partner_Facture.js +++ b/src/components/Partner_Facture.js @@ -2721,168 +2721,168 @@ const Partner_Facture = (props) => { setInvoice_data_edit_mode(""); if (document.getElementsByName("detail_header_num_facture")[0]) { document.getElementsByName("detail_header_num_facture")[0].disabled = true; - document.getElementsByName("detail_header_num_facture")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_num_facture")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_document")[0]) { document.getElementsByName("detail_header_type_document")[0].disabled = true; - document.getElementsByName("detail_header_type_document")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_document")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_facture")[0]) { document.getElementsByName("detail_header_date_facture")[0].disabled = true; - document.getElementsByName("detail_header_date_facture")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_facture")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type")[0]) { document.getElementsByName("detail_header_type")[0].disabled = true; - document.getElementsByName("detail_header_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_status")[0]) { document.getElementsByName("detail_header_status")[0].disabled = true; - document.getElementsByName("detail_header_status")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_status")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_ref_interne")[0]) { document.getElementsByName("detail_header_ref_interne")[0].disabled = true; - document.getElementsByName("detail_header_ref_interne")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_ref_interne")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_order_paiement_condition")[0]) { document.getElementsByName("detail_header_order_paiement_condition")[0].disabled = true; - document.getElementsByName("detail_header_order_paiement_condition")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_order_paiement_condition")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_cmd")[0]) { document.getElementsByName("detail_header_date_cmd")[0].disabled = true; - document.getElementsByName("detail_header_date_cmd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_cmd")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_expiration")[0]) { document.getElementsByName("detail_header_date_expiration")[0].disabled = true; - document.getElementsByName("detail_header_date_expiration")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_expiration")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom_client")[0]) { document.getElementsByName("detail_nom_client")[0].disabled = true; - document.getElementsByName("detail_nom_client")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom_client")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_email_client")[0]) { document.getElementsByName("detail_header_email_client")[0].disabled = true; - document.getElementsByName("detail_header_email_client")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_email_client")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_description")[0]) { document.getElementsByName("detail_header_description")[0].disabled = true; - document.getElementsByName("detail_header_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_description")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_comment")[0]) { document.getElementsByName("detail_header_comment")[0].disabled = true; - document.getElementsByName("detail_header_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_comment")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_vendeur_nom_prenom")[0]) { document.getElementsByName("detail_header_vendeur_nom_prenom")[0].disabled = true; - document.getElementsByName("detail_header_vendeur_nom_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_vendeur_nom_prenom")[0].style.backgroundColor = "#f8f9fa"; } //--- if (document.getElementsByName("detail_header_ref_cient")[0]) { document.getElementsByName("detail_header_ref_cient")[0].disabled = true; - document.getElementsByName("detail_header_ref_cient")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_ref_cient")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_mode_paiement")[0]) { document.getElementsByName("detail_header_mode_paiement")[0].disabled = true; - document.getElementsByName("detail_header_mode_paiement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_mode_paiement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_echeance")[0]) { document.getElementsByName("detail_header_date_echeance")[0].disabled = true; - document.getElementsByName("detail_header_date_echeance")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_echeance")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_adresse")[0]) { document.getElementsByName("detail_header_fact_adresse")[0].disabled = true; - document.getElementsByName("detail_header_fact_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_code_postal")[0]) { document.getElementsByName("detail_header_fact_code_postal")[0].disabled = true; - document.getElementsByName("detail_header_fact_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_ville")[0]) { document.getElementsByName("detail_header_fact_ville")[0].disabled = true; - document.getElementsByName("detail_header_fact_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_pays")[0]) { document.getElementsByName("detail_header_fact_pays")[0].disabled = true; - document.getElementsByName("detail_header_fact_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("invoice_date_lieu")[0]) { document.getElementsByName("invoice_date_lieu")[0].disabled = true; - document.getElementsByName("invoice_date_lieu")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("invoice_date_lieu")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_adresse")[0]) { document.getElementsByName("detail_header_liv_adresse")[0].disabled = true; - document.getElementsByName("detail_header_liv_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_code_postal")[0]) { document.getElementsByName("detail_header_liv_code_postal")[0].disabled = true; - document.getElementsByName("detail_header_liv_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_ville")[0]) { document.getElementsByName("detail_header_liv_ville")[0].disabled = true; - document.getElementsByName("detail_header_liv_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_pays")[0]) { document.getElementsByName("detail_header_liv_pays")[0].disabled = true; - document.getElementsByName("detail_header_liv_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_ht")[0]) { document.getElementsByName("detail_header_total_ht")[0].disabled = true; - document.getElementsByName("detail_header_total_ht")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_ht")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_tax")[0]) { document.getElementsByName("detail_header_total_tax")[0].disabled = true; - document.getElementsByName("detail_header_total_tax")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_tax")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_ttc")[0]) { document.getElementsByName("detail_header_total_ttc")[0].disabled = true; - document.getElementsByName("detail_header_total_ttc")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_ttc")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_reduction")[0]) { document.getElementsByName("detail_header_type_reduction")[0].disabled = true; - document.getElementsByName("detail_header_type_reduction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_reduction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_reduction_valeur")[0]) { document.getElementsByName("detail_header_type_reduction_valeur")[0].disabled = true; - document.getElementsByName("detail_header_type_reduction_valeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_reduction_valeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_montant_reduction")[0]) { document.getElementsByName("detail_header_montant_reduction")[0].disabled = true; - document.getElementsByName("detail_header_montant_reduction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_montant_reduction")[0].style.backgroundColor = "#f8f9fa"; } @@ -9982,7 +9982,7 @@ const Partner_Facture = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px', padding: '5px', }} @@ -10228,7 +10228,7 @@ const Partner_Facture = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px', padding: '5px', }} diff --git a/src/components/Partner_Facture_ARG.js b/src/components/Partner_Facture_ARG.js index 5821b2b..cfc0431 100644 --- a/src/components/Partner_Facture_ARG.js +++ b/src/components/Partner_Facture_ARG.js @@ -2657,168 +2657,168 @@ const Partner_Facture_ARG = (props) => { setInvoice_data_edit_mode(""); if (document.getElementsByName("detail_header_num_facture")[0]) { document.getElementsByName("detail_header_num_facture")[0].disabled = true; - document.getElementsByName("detail_header_num_facture")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_num_facture")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_document")[0]) { document.getElementsByName("detail_header_type_document")[0].disabled = true; - document.getElementsByName("detail_header_type_document")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_document")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_facture")[0]) { document.getElementsByName("detail_header_date_facture")[0].disabled = true; - document.getElementsByName("detail_header_date_facture")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_facture")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type")[0]) { document.getElementsByName("detail_header_type")[0].disabled = true; - document.getElementsByName("detail_header_type")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_status")[0]) { document.getElementsByName("detail_header_status")[0].disabled = true; - document.getElementsByName("detail_header_status")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_status")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_ref_interne")[0]) { document.getElementsByName("detail_header_ref_interne")[0].disabled = true; - document.getElementsByName("detail_header_ref_interne")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_ref_interne")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_order_paiement_condition")[0]) { document.getElementsByName("detail_header_order_paiement_condition")[0].disabled = true; - document.getElementsByName("detail_header_order_paiement_condition")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_order_paiement_condition")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_cmd")[0]) { document.getElementsByName("detail_header_date_cmd")[0].disabled = true; - document.getElementsByName("detail_header_date_cmd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_cmd")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_expiration")[0]) { document.getElementsByName("detail_header_date_expiration")[0].disabled = true; - document.getElementsByName("detail_header_date_expiration")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_expiration")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_nom_client")[0]) { document.getElementsByName("detail_nom_client")[0].disabled = true; - document.getElementsByName("detail_nom_client")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_nom_client")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_email_client")[0]) { document.getElementsByName("detail_header_email_client")[0].disabled = true; - document.getElementsByName("detail_header_email_client")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_email_client")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_description")[0]) { document.getElementsByName("detail_header_description")[0].disabled = true; - document.getElementsByName("detail_header_description")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_description")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_comment")[0]) { document.getElementsByName("detail_header_comment")[0].disabled = true; - document.getElementsByName("detail_header_comment")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_comment")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_vendeur_nom_prenom")[0]) { document.getElementsByName("detail_header_vendeur_nom_prenom")[0].disabled = true; - document.getElementsByName("detail_header_vendeur_nom_prenom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_vendeur_nom_prenom")[0].style.backgroundColor = "#f8f9fa"; } //--- if (document.getElementsByName("detail_header_ref_cient")[0]) { document.getElementsByName("detail_header_ref_cient")[0].disabled = true; - document.getElementsByName("detail_header_ref_cient")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_ref_cient")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_mode_paiement")[0]) { document.getElementsByName("detail_header_mode_paiement")[0].disabled = true; - document.getElementsByName("detail_header_mode_paiement")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_mode_paiement")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_date_echeance")[0]) { document.getElementsByName("detail_header_date_echeance")[0].disabled = true; - document.getElementsByName("detail_header_date_echeance")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_date_echeance")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_adresse")[0]) { document.getElementsByName("detail_header_fact_adresse")[0].disabled = true; - document.getElementsByName("detail_header_fact_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_code_postal")[0]) { document.getElementsByName("detail_header_fact_code_postal")[0].disabled = true; - document.getElementsByName("detail_header_fact_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_ville")[0]) { document.getElementsByName("detail_header_fact_ville")[0].disabled = true; - document.getElementsByName("detail_header_fact_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_fact_pays")[0]) { document.getElementsByName("detail_header_fact_pays")[0].disabled = true; - document.getElementsByName("detail_header_fact_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_fact_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("invoice_date_lieu")[0]) { document.getElementsByName("invoice_date_lieu")[0].disabled = true; - document.getElementsByName("invoice_date_lieu")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("invoice_date_lieu")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_adresse")[0]) { document.getElementsByName("detail_header_liv_adresse")[0].disabled = true; - document.getElementsByName("detail_header_liv_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_code_postal")[0]) { document.getElementsByName("detail_header_liv_code_postal")[0].disabled = true; - document.getElementsByName("detail_header_liv_code_postal")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_code_postal")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_ville")[0]) { document.getElementsByName("detail_header_liv_ville")[0].disabled = true; - document.getElementsByName("detail_header_liv_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_liv_pays")[0]) { document.getElementsByName("detail_header_liv_pays")[0].disabled = true; - document.getElementsByName("detail_header_liv_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_liv_pays")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_ht")[0]) { document.getElementsByName("detail_header_total_ht")[0].disabled = true; - document.getElementsByName("detail_header_total_ht")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_ht")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_tax")[0]) { document.getElementsByName("detail_header_total_tax")[0].disabled = true; - document.getElementsByName("detail_header_total_tax")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_tax")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_total_ttc")[0]) { document.getElementsByName("detail_header_total_ttc")[0].disabled = true; - document.getElementsByName("detail_header_total_ttc")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_total_ttc")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_reduction")[0]) { document.getElementsByName("detail_header_type_reduction")[0].disabled = true; - document.getElementsByName("detail_header_type_reduction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_reduction")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_type_reduction_valeur")[0]) { document.getElementsByName("detail_header_type_reduction_valeur")[0].disabled = true; - document.getElementsByName("detail_header_type_reduction_valeur")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_type_reduction_valeur")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_header_montant_reduction")[0]) { document.getElementsByName("detail_header_montant_reduction")[0].disabled = true; - document.getElementsByName("detail_header_montant_reduction")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_header_montant_reduction")[0].style.backgroundColor = "#f8f9fa"; } @@ -9822,7 +9822,7 @@ const Partner_Facture_ARG = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px', padding: '5px', }} @@ -10068,7 +10068,7 @@ const Partner_Facture_ARG = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px', padding: '5px', }} @@ -11271,7 +11271,7 @@ const Partner_Facture_ARG = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px', padding: '5px', }} @@ -11517,7 +11517,7 @@ const Partner_Facture_ARG = (props) => { maxRows={10} //placeholder="Minimum 3 rows" style={{ - border: "1px solid gainsboro", width: '99%', padding: '2px', + border: "1px solid #e8eef6", width: '99%', padding: '2px', maxHeight: '5rem', height: '5rem', minHeight: '5rem', marginBottom: '1rem', fontFamily: 'DM Sans', fontSize: '14px', padding: '5px', }} diff --git a/src/components/Partner_Invoicing_Data.js b/src/components/Partner_Invoicing_Data.js index 459ab60..5e9a6d7 100644 --- a/src/components/Partner_Invoicing_Data.js +++ b/src/components/Partner_Invoicing_Data.js @@ -149,57 +149,57 @@ function Partner_Invoicing_Data(props) { if (mylocaltraining.invoice_vat_num) { setp_vat_num(mylocaltraining.invoice_vat_num); document.getElementsByName("vat_num")[0].disabled = true; - document.getElementsByName("vat_num")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("vat_num")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_taux_vat) { setp_taux_vat_value(mylocaltraining.invoice_taux_vat); document.getElementsByName("taux_tva_value")[0].disabled = true; - document.getElementsByName("taux_tva_value")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("taux_tva_value")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_nom) { setp_nom(mylocaltraining.invoice_nom); document.getElementsByName("nom")[0].disabled = true; - document.getElementsByName("nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nom")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_street) { setp_adr_street(mylocaltraining.invoice_adr_street); document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_city) { setp_adr_city(mylocaltraining.invoice_adr_city); document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_zip) { setp_adr_zip(mylocaltraining.invoice_adr_zip); document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_adr_country) { setp_adr_country(mylocaltraining.invoice_adr_country); document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_email) { setp_email(mylocaltraining.invoice_email); document.getElementsByName("email")[0].disabled = true; - document.getElementsByName("email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("email")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.invoice_telephone) { setp_telephone(mylocaltraining.invoice_telephone); document.getElementsByName("telephone")[0].disabled = true; - document.getElementsByName("telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("telephone")[0].style.backgroundColor = "#f8f9fa"; } @@ -253,31 +253,31 @@ function Partner_Invoicing_Data(props) { function desablefield1() { setfields1desabled(true); document.getElementsByName("nom")[0].disabled = true; - document.getElementsByName("nom")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nom")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("telephone")[0].disabled = true; - document.getElementsByName("telephone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("telephone")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("email")[0].disabled = true; - document.getElementsByName("email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("vat_num")[0].disabled = true; - document.getElementsByName("vat_num")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("vat_num")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("taux_tva_value")[0].disabled = true; - document.getElementsByName("taux_tva_value")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("taux_tva_value")[0].style.backgroundColor = "#f8f9fa"; } useEffect(() => { diff --git a/src/components/Partner_Product_Service.js b/src/components/Partner_Product_Service.js index a723063..8525320 100644 --- a/src/components/Partner_Product_Service.js +++ b/src/components/Partner_Product_Service.js @@ -834,7 +834,7 @@ registerLocale('fr', fr); if (document.getElementsByName(String(list_champs[i])) && document.getElementsByName(String(list_champs[i]))[0]) { document.getElementsByName(String(list_champs[i]))[0].disabled = true; - document.getElementsByName(String(list_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } diff --git a/src/components/Partner_Securite_Data.js b/src/components/Partner_Securite_Data.js index 8e1889a..e072f7c 100644 --- a/src/components/Partner_Securite_Data.js +++ b/src/components/Partner_Securite_Data.js @@ -96,7 +96,7 @@ const Partner_Securite_Data = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -373,7 +373,7 @@ const Partner_Securite_Data = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName(String(liste_champs[i]))[0].value = ""; } @@ -433,7 +433,7 @@ const Partner_Securite_Data = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName(String(liste_champs[i]))[0].value = ""; } @@ -818,7 +818,7 @@ const Partner_Securite_Data = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } diff --git a/src/components/Pricing.js b/src/components/Pricing.js index 7b0d7ba..c049e63 100644 --- a/src/components/Pricing.js +++ b/src/components/Pricing.js @@ -306,20 +306,20 @@ registerLocale('fr', fr); if (document.getElementsByName("new_discount") && document.getElementsByName("new_discount")[0]) { document.getElementsByName("new_discount")[0].disabled = true; - document.getElementsByName("new_discount")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_discount")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("new_sessiondatedebut") && document.getElementsByName("new_sessiondatedebut")[0]) { document.getElementsByName("new_sessiondatedebut")[0].disabled = true; - document.getElementsByName("new_sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementById("new_sessiondatefin")) { document.getElementById("new_sessiondatefin").disabled = true; - document.getElementById("new_sessiondatefin").style.backgroundColor = "#ECEFF1"; + document.getElementById("new_sessiondatefin").style.backgroundColor = "#f8f9fa"; } @@ -331,19 +331,19 @@ registerLocale('fr', fr); if (document.getElementsByName("new_discount") && document.getElementsByName("new_discount")[0]) { document.getElementsByName("new_discount")[0].disabled = true; - document.getElementsByName("new_discount")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_discount")[0].style.backgroundColor = "#f8f9fa"; setnew_discount_val(""); } if (document.getElementsByName("new_sessiondatedebut") && document.getElementsByName("new_sessiondatedebut")[0]) { document.getElementsByName("new_sessiondatedebut")[0].disabled = true; - document.getElementsByName("new_sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; setNew_SessionstartDate(""); } if (document.getElementsByName("new_sessiondatefin") && document.getElementsByName("new_sessiondatefin")[0]) { document.getElementsByName("new_sessiondatefin")[0].disabled = true; - document.getElementsByName("new_sessiondatefin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_sessiondatefin")[0].style.backgroundColor = "#f8f9fa"; setNew_SessionendDate(""); } @@ -354,19 +354,19 @@ registerLocale('fr', fr); if (document.getElementsByName("discount") && document.getElementsByName("discount")[0]) { document.getElementsByName("discount")[0].disabled = true; - document.getElementsByName("discount")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("discount")[0].style.backgroundColor = "#f8f9fa"; setnew_discount_val(""); } if (document.getElementsByName("sessiondatedebut") && document.getElementsByName("sessiondatedebut")[0]) { document.getElementsByName("sessiondatedebut")[0].disabled = true; - document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; setNew_SessionstartDate(""); } if (document.getElementsByName("sessiondatefin") && document.getElementsByName("sessiondatefin")[0]) { document.getElementsByName("sessiondatefin")[0].disabled = true; - document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#f8f9fa"; setNew_SessionendDate(""); } } @@ -766,17 +766,17 @@ registerLocale('fr', fr); if (document.getElementsByName("discount") && document.getElementsByName("discount")[0]) { document.getElementsByName("discount")[0].disabled = true; - document.getElementsByName("discount")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("discount")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatedebut") && document.getElementsByName("sessiondatedebut")[0]) { document.getElementsByName("sessiondatedebut")[0].disabled = true; - document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatedebut")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("sessiondatefin") && document.getElementsByName("sessiondatefin")[0]) { document.getElementsByName("sessiondatefin")[0].disabled = true; - document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("sessiondatefin")[0].style.backgroundColor = "#f8f9fa"; } diff --git a/src/components/Session_Admission_FI.js b/src/components/Session_Admission_FI.js index 9e4db60..afa8c4b 100644 --- a/src/components/Session_Admission_FI.js +++ b/src/components/Session_Admission_FI.js @@ -1445,7 +1445,7 @@ const Session_Admission_FI = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -1485,7 +1485,7 @@ const Session_Admission_FI = (props) => { if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { document.getElementsByName(String(liste_champs[i]))[0].disabled = true; - document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -5173,7 +5173,7 @@ const Session_Admission_FI = (props) => { maxLength={200} placeholder="200 caractères maximum" style={{ - border: "1px solid gainsboro", width: '90%', padding: '2px', + border: "1px solid #e8eef6", width: '90%', padding: '2px', maxHeight: '5rem', height: '4rem', minHeight: '3rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -5196,7 +5196,7 @@ const Session_Admission_FI = (props) => { maxLength={200} placeholder="200 caractères maximum" style={{ - border: "1px solid gainsboro", width: '90%', padding: '2px', + border: "1px solid #e8eef6", width: '90%', padding: '2px', maxHeight: '5rem', height: '4rem', minHeight: '3rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -5400,22 +5400,22 @@ const Session_Admission_FI = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cp")[0]) { document.getElementsByName("detail_cp")[0].disabled = true; - document.getElementsByName("detail_cp")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cp")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } } else { @@ -5806,7 +5806,7 @@ const Session_Admission_FI = (props) => { maxLength={200} placeholder="200 caractères maximum" style={{ - border: "1px solid gainsboro", width: '90%', padding: '2px', + border: "1px solid #e8eef6", width: '90%', padding: '2px', maxHeight: '5rem', height: '4rem', minHeight: '3rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -5833,7 +5833,7 @@ const Session_Admission_FI = (props) => { maxLength={200} placeholder="200 caractères maximum" style={{ - border: "1px solid gainsboro", width: '90%', padding: '2px', + border: "1px solid #e8eef6", width: '90%', padding: '2px', maxHeight: '5rem', height: '4rem', minHeight: '3rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -6092,22 +6092,22 @@ const Session_Admission_FI = (props) => { if (document.getElementsByName("detail_adresse")[0]) { document.getElementsByName("detail_adresse")[0].disabled = true; - document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_cp")[0]) { document.getElementsByName("detail_cp")[0].disabled = true; - document.getElementsByName("detail_cp")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_cp")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_ville")[0]) { document.getElementsByName("detail_ville")[0].disabled = true; - document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_ville")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("detail_pays")[0]) { document.getElementsByName("detail_pays")[0].disabled = true; - document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("detail_pays")[0].style.backgroundColor = "#f8f9fa"; } } else { @@ -6498,7 +6498,7 @@ const Session_Admission_FI = (props) => { maxLength={200} placeholder="200 caractères maximum" style={{ - border: "1px solid gainsboro", width: '90%', padding: '2px', + border: "1px solid #e8eef6", width: '90%', padding: '2px', maxHeight: '5rem', height: '4rem', minHeight: '3rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} @@ -6525,7 +6525,7 @@ const Session_Admission_FI = (props) => { maxLength={200} placeholder="200 caractères maximum" style={{ - border: "1px solid gainsboro", width: '90%', padding: '2px', + border: "1px solid #e8eef6", width: '90%', padding: '2px', maxHeight: '5rem', height: '4rem', minHeight: '3rem', marginBottom: '3rem', fontFamily: 'DM Sans' }} diff --git a/src/components/UpdatePartnerInfo.js b/src/components/UpdatePartnerInfo.js index 58162d5..107dd48 100644 --- a/src/components/UpdatePartnerInfo.js +++ b/src/components/UpdatePartnerInfo.js @@ -603,7 +603,7 @@ function UpdateParnterInfo(props) { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -643,17 +643,17 @@ function UpdateParnterInfo(props) { function desablesecurtymailfields() {/* document.getElementsByName("current_email")[0].disabled = true; - document.getElementsByName("current_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_email")[0].value = ""; document.getElementsByName("new_email")[0].disabled = true; - document.getElementsByName("new_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_email")[0].value = ""; document.getElementsByName("conf_new_email")[0].disabled = true; - document.getElementsByName("conf_new_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("conf_new_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("conf_new_email")[0].value = ""; @@ -684,15 +684,15 @@ function UpdateParnterInfo(props) { function desablesecurtypwdfields() { /* document.getElementsByName("current_pwd")[0].disabled = true; - document.getElementsByName("current_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_pwd")[0].value = ""; document.getElementsByName("new_pwd")[0].disabled = true; - document.getElementsByName("new_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd")[0].value = ""; document.getElementsByName("new_pwd_conf")[0].disabled = true; - document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd_conf")[0].value = ""; @@ -849,18 +849,18 @@ function UpdateParnterInfo(props) { if (document.getElementsByName("isdatadock")[0]) { document.getElementsByName("isdatadock")[0].disabled = true; - document.getElementsByName("isdatadock")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("isdatadock")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("isqualiopi")[0]) { document.getElementsByName("isqualiopi")[0].disabled = true; - document.getElementsByName("isqualiopi")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("isqualiopi")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("iscertifvoltaire")[0]) { document.getElementsByName("iscertifvoltaire")[0].disabled = true; - document.getElementsByName("iscertifvoltaire")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("iscertifvoltaire")[0].style.backgroundColor = "#f8f9fa"; } // alert(" La mise à jour a été faite "); @@ -1291,15 +1291,15 @@ function UpdateParnterInfo(props) { setinsert_key_updated(); document.getElementsByName("current_insert_key")[0].disabled = true; - document.getElementsByName("current_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_insert_key")[0].value = ""; document.getElementsByName("new_insert_key")[0].disabled = true; - document.getElementsByName("new_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_insert_key")[0].value = ""; document.getElementsByName("conf_new_insert_key")[0].disabled = true; - document.getElementsByName("conf_new_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("conf_new_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("conf_new_insert_key")[0].value = ""; @@ -2810,7 +2810,7 @@ function UpdateParnterInfo(props) { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -6368,7 +6368,7 @@ function UpdateParnterInfo(props) { className="texte_area" - sx={{ m: 1, width: '48%', background: "#ECEFF1", color: "black" }} + sx={{ m: 1, width: '48%', background: "#f8f9fa", color: "black" }} InputProps={{ startAdornment: ( @@ -6385,7 +6385,7 @@ function UpdateParnterInfo(props) { label="Url plateforme" className="texte_area" - sx={{ m: 1, width: '48%', background: "#ECEFF1", color: "black" }} + sx={{ m: 1, width: '48%', background: "#f8f9fa", color: "black" }} InputProps={{ startAdornment: ( diff --git a/src/components/UpdatePartnerInfo_v2.js b/src/components/UpdatePartnerInfo_v2.js index 54acc37..1749fe0 100644 --- a/src/components/UpdatePartnerInfo_v2.js +++ b/src/components/UpdatePartnerInfo_v2.js @@ -648,7 +648,7 @@ function UpdatePartnerInfo_v2(props) { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -688,17 +688,17 @@ function UpdatePartnerInfo_v2(props) { function desablesecurtymailfields() {/* document.getElementsByName("current_email")[0].disabled = true; - document.getElementsByName("current_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_email")[0].value = ""; document.getElementsByName("new_email")[0].disabled = true; - document.getElementsByName("new_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_email")[0].value = ""; document.getElementsByName("conf_new_email")[0].disabled = true; - document.getElementsByName("conf_new_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("conf_new_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("conf_new_email")[0].value = ""; @@ -729,15 +729,15 @@ function UpdatePartnerInfo_v2(props) { function desablesecurtypwdfields() { /* document.getElementsByName("current_pwd")[0].disabled = true; - document.getElementsByName("current_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_pwd")[0].value = ""; document.getElementsByName("new_pwd")[0].disabled = true; - document.getElementsByName("new_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd")[0].value = ""; document.getElementsByName("new_pwd_conf")[0].disabled = true; - document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd_conf")[0].value = ""; @@ -896,18 +896,18 @@ function UpdatePartnerInfo_v2(props) { if (document.getElementsByName("isdatadock")[0]) { document.getElementsByName("isdatadock")[0].disabled = true; - document.getElementsByName("isdatadock")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("isdatadock")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("isqualiopi")[0]) { document.getElementsByName("isqualiopi")[0].disabled = true; - document.getElementsByName("isqualiopi")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("isqualiopi")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("iscertifvoltaire")[0]) { document.getElementsByName("iscertifvoltaire")[0].disabled = true; - document.getElementsByName("iscertifvoltaire")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("iscertifvoltaire")[0].style.backgroundColor = "#f8f9fa"; } // alert(" La mise à jour a été faite "); @@ -1453,15 +1453,15 @@ function UpdatePartnerInfo_v2(props) { setinsert_key_updated(); document.getElementsByName("current_insert_key")[0].disabled = true; - document.getElementsByName("current_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_insert_key")[0].value = ""; document.getElementsByName("new_insert_key")[0].disabled = true; - document.getElementsByName("new_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_insert_key")[0].value = ""; document.getElementsByName("conf_new_insert_key")[0].disabled = true; - document.getElementsByName("conf_new_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("conf_new_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("conf_new_insert_key")[0].value = ""; @@ -2983,7 +2983,7 @@ function UpdatePartnerInfo_v2(props) { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -7314,7 +7314,7 @@ function UpdatePartnerInfo_v2(props) { className="texte_area" - sx={{ m: 1, width: '48%', background: "#ECEFF1", color: "black" }} + sx={{ m: 1, width: '48%', background: "#f8f9fa", color: "black" }} InputProps={{ startAdornment: ( @@ -7331,7 +7331,7 @@ function UpdatePartnerInfo_v2(props) { label="Url plateforme" className="texte_area" - sx={{ m: 1, width: '48%', background: "#ECEFF1", color: "black" }} + sx={{ m: 1, width: '48%', background: "#f8f9fa", color: "black" }} InputProps={{ startAdornment: ( @@ -7646,7 +7646,7 @@ function UpdatePartnerInfo_v2(props) { className="texte_area_100" - sx={{ m: 1, width: '95%', background: "#ECEFF1", color: "black" }} + sx={{ m: 1, width: '95%', background: "#f8f9fa", color: "black" }} InputProps={{ startAdornment: ( @@ -7663,7 +7663,7 @@ function UpdatePartnerInfo_v2(props) { label="Url plateforme" className="texte_area_100" - sx={{ m: 1, width: '95%', background: "#ECEFF1", color: "black" }} + sx={{ m: 1, width: '95%', background: "#f8f9fa", color: "black" }} InputProps={{ startAdornment: ( diff --git a/src/components/UpdatePartnerInfo_v2_ARG.js b/src/components/UpdatePartnerInfo_v2_ARG.js index f2dd294..43d8221 100644 --- a/src/components/UpdatePartnerInfo_v2_ARG.js +++ b/src/components/UpdatePartnerInfo_v2_ARG.js @@ -603,7 +603,7 @@ function UpdatePartnerInfo_v2_ARG(props) { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -643,17 +643,17 @@ function UpdatePartnerInfo_v2_ARG(props) { function desablesecurtymailfields() {/* document.getElementsByName("current_email")[0].disabled = true; - document.getElementsByName("current_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_email")[0].value = ""; document.getElementsByName("new_email")[0].disabled = true; - document.getElementsByName("new_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_email")[0].value = ""; document.getElementsByName("conf_new_email")[0].disabled = true; - document.getElementsByName("conf_new_email")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("conf_new_email")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("conf_new_email")[0].value = ""; @@ -684,15 +684,15 @@ function UpdatePartnerInfo_v2_ARG(props) { function desablesecurtypwdfields() { /* document.getElementsByName("current_pwd")[0].disabled = true; - document.getElementsByName("current_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_pwd")[0].value = ""; document.getElementsByName("new_pwd")[0].disabled = true; - document.getElementsByName("new_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd")[0].value = ""; document.getElementsByName("new_pwd_conf")[0].disabled = true; - document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd_conf")[0].value = ""; @@ -849,18 +849,18 @@ function UpdatePartnerInfo_v2_ARG(props) { if (document.getElementsByName("isdatadock")[0]) { document.getElementsByName("isdatadock")[0].disabled = true; - document.getElementsByName("isdatadock")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("isdatadock")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("isqualiopi")[0]) { document.getElementsByName("isqualiopi")[0].disabled = true; - document.getElementsByName("isqualiopi")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("isqualiopi")[0].style.backgroundColor = "#f8f9fa"; } if (document.getElementsByName("iscertifvoltaire")[0]) { document.getElementsByName("iscertifvoltaire")[0].disabled = true; - document.getElementsByName("iscertifvoltaire")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("iscertifvoltaire")[0].style.backgroundColor = "#f8f9fa"; } // alert(" La mise à jour a été faite "); @@ -1291,15 +1291,15 @@ function UpdatePartnerInfo_v2_ARG(props) { setinsert_key_updated(); document.getElementsByName("current_insert_key")[0].disabled = true; - document.getElementsByName("current_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_insert_key")[0].value = ""; document.getElementsByName("new_insert_key")[0].disabled = true; - document.getElementsByName("new_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_insert_key")[0].value = ""; document.getElementsByName("conf_new_insert_key")[0].disabled = true; - document.getElementsByName("conf_new_insert_key")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("conf_new_insert_key")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("conf_new_insert_key")[0].value = ""; @@ -2810,7 +2810,7 @@ function UpdatePartnerInfo_v2_ARG(props) { for (let i = 0; i < list_fields.length; i++) { if (document.getElementsByName(String(list_fields[i])) && document.getElementsByName(String(list_fields[i]))[0]) { document.getElementsByName(String(list_fields[i]))[0].disabled = true; - document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName(String(list_fields[i]))[0].style.backgroundColor = "#f8f9fa"; } } @@ -6371,7 +6371,7 @@ function UpdatePartnerInfo_v2_ARG(props) { className="texte_area" - sx={{ m: 1, width: '48%', background: "#ECEFF1", color: "black" }} + sx={{ m: 1, width: '48%', background: "#f8f9fa", color: "black" }} InputProps={{ startAdornment: ( @@ -6388,7 +6388,7 @@ function UpdatePartnerInfo_v2_ARG(props) { label="Url plateforme" className="texte_area" - sx={{ m: 1, width: '48%', background: "#ECEFF1", color: "black" }} + sx={{ m: 1, width: '48%', background: "#f8f9fa", color: "black" }} InputProps={{ startAdornment: ( diff --git a/src/components/UpdateUserGoals.js b/src/components/UpdateUserGoals.js index f81b997..72a08b3 100644 --- a/src/components/UpdateUserGoals.js +++ b/src/components/UpdateUserGoals.js @@ -146,7 +146,7 @@ function UpdateUserGoals(props) { if (mylocalobj.name) { document.getElementsByName("name")[0].value = mylocalobj.name; document.getElementsByName("name")[0].disabled = true; - document.getElementsByName("name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("name")[0].style.backgroundColor = "#f8f9fa"; } if (mylocalobj.description) { @@ -158,7 +158,7 @@ function UpdateUserGoals(props) { if (mylocalobj.domaine) { document.getElementsByName("domaine")[0].value = mylocalobj.domaine; document.getElementsByName("domaine")[0].disabled = true; - document.getElementsByName("domaine")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("domaine")[0].style.backgroundColor = "#f8f9fa"; } if (mylocalobj.date_souhaite) { @@ -173,7 +173,7 @@ function UpdateUserGoals(props) { if (mylocalobj.niveau) { document.getElementsByName("niveau")[0].value = mylocalobj.niveau; document.getElementsByName("niveau")[0].disabled = true; - document.getElementsByName("niveau")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("niveau")[0].style.backgroundColor = "#f8f9fa"; } @@ -227,10 +227,10 @@ function UpdateUserGoals(props) { document.getElementsByName("domaine")[0].disabled = true; document.getElementsByName("niveau")[0].disabled = true; - document.getElementsByName("name")[0].style.background = "#ECEFF1"; - //document.getElementsByName("date_souhaite")[0].style.background = "#ECEFF1"; - document.getElementsByName("domaine")[0].style.background = "#ECEFF1"; - document.getElementsByName("niveau")[0].style.background = "#ECEFF1"; + document.getElementsByName("name")[0].style.background = "#f8f9fa"; + //document.getElementsByName("date_souhaite")[0].style.background = "#f8f9fa"; + document.getElementsByName("domaine")[0].style.background = "#f8f9fa"; + document.getElementsByName("niveau")[0].style.background = "#f8f9fa"; seteditfields(false); diff --git a/src/components/UpdateUserInfo.js b/src/components/UpdateUserInfo.js index bc53ff9..9986ebc 100644 --- a/src/components/UpdateUserInfo.js +++ b/src/components/UpdateUserInfo.js @@ -121,115 +121,115 @@ function UpdateUserInfo(props) { if (mylocaltraining.adr_city) { document.getElementsByName("adr_city")[0].value = mylocaltraining.adr_city; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("adr_city")[0].value = ""; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.email) { document.getElementsByName("mail")[0].value = mylocaltraining.email; document.getElementsByName("mail")[0].disabled = true; - document.getElementsByName("mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mail")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("mail")[0].value = ""; document.getElementsByName("mail")[0].disabled = true; - document.getElementsByName("mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mail")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.adr_city) { document.getElementsByName("adr_zip")[0].value = mylocaltraining.adr_zip; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("adr_zip")[0].value = ""; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.adr_country) { document.getElementsByName("adr_country")[0].value = mylocaltraining.adr_country; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("adr_country")[0].value = ""; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.link_facebook) { document.getElementsByName("link_facebook")[0].value = mylocaltraining.link_facebook; document.getElementsByName("link_facebook")[0].disabled = true; - document.getElementsByName("link_facebook")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_facebook")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("link_facebook")[0].value = ""; document.getElementsByName("link_facebook")[0].disabled = true; - document.getElementsByName("link_facebook")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_facebook")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.mob_phone) { document.getElementsByName("mob_phone")[0].value = mylocaltraining.mob_phone; document.getElementsByName("mob_phone")[0].disabled = true; - document.getElementsByName("mob_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mob_phone")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("mob_phone")[0].value = ""; document.getElementsByName("mob_phone")[0].disabled = true; - document.getElementsByName("mob_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mob_phone")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.link_linkedin) { document.getElementsByName("link_linkedin")[0].value = mylocaltraining.link_linkedin; document.getElementsByName("link_linkedin")[0].disabled = true; - document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("link_linkedin")[0].value = ""; document.getElementsByName("link_linkedin")[0].disabled = true; - document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.link_twitter) { document.getElementsByName("link_twitter")[0].value = mylocaltraining.link_twitter; document.getElementsByName("link_twitter")[0].disabled = true; - document.getElementsByName("link_twitter")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_twitter")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("link_twitter")[0].value = ""; document.getElementsByName("link_twitter")[0].disabled = true; - document.getElementsByName("link_twitter")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_twitter")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.adr_street) { document.getElementsByName("adr_street")[0].value = mylocaltraining.adr_street; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("adr_street")[0].value = ""; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.prenom) { document.getElementsByName("surname")[0].value = mylocaltraining.prenom; document.getElementsByName("surname")[0].disabled = true; - document.getElementsByName("surname")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("surname")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("surname")[0].value = ""; document.getElementsByName("surname")[0].disabled = true; - document.getElementsByName("surname")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("surname")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.nom) { document.getElementsByName("last_name")[0].value = mylocaltraining.nom; document.getElementsByName("last_name")[0].disabled = true; - document.getElementsByName("last_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("last_name")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("last_name")[0].value = ""; document.getElementsByName("last_name")[0].disabled = true; - document.getElementsByName("last_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("last_name")[0].style.backgroundColor = "#f8f9fa"; } @@ -261,41 +261,41 @@ function UpdateUserInfo(props) { setupdatepwd("b"); document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("mail")[0].disabled = true; - document.getElementsByName("mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mail")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("mob_phone")[0].disabled = true; - document.getElementsByName("mob_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mob_phone")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("link_facebook")[0].disabled = true; - document.getElementsByName("link_facebook")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_facebook")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("link_linkedin")[0].disabled = true; - document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("link_twitter")[0].disabled = true; - document.getElementsByName("link_twitter")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_twitter")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("surname")[0].disabled = true; - document.getElementsByName("surname")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("surname")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("last_name")[0].disabled = true; - document.getElementsByName("last_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("last_name")[0].style.backgroundColor = "#f8f9fa"; setfields1desabled(true); } @@ -432,15 +432,15 @@ function UpdateUserInfo(props) { function desablesecurtypwdfields() { document.getElementsByName("current_pwd")[0].disabled = true; - document.getElementsByName("current_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_pwd")[0].value = ""; document.getElementsByName("new_pwd")[0].disabled = true; - document.getElementsByName("new_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd")[0].value = ""; document.getElementsByName("new_pwd_conf")[0].disabled = true; - document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd_conf")[0].value = ""; diff --git a/src/components/UpdateUserInfo_Intranet_Client.js b/src/components/UpdateUserInfo_Intranet_Client.js index 433f818..13bb1fa 100644 --- a/src/components/UpdateUserInfo_Intranet_Client.js +++ b/src/components/UpdateUserInfo_Intranet_Client.js @@ -121,115 +121,115 @@ function UpdateUserInfo_Intranet_Client(props) { if (mylocaltraining.adr_city) { document.getElementsByName("adr_city")[0].value = mylocaltraining.adr_city; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("adr_city")[0].value = ""; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.email) { document.getElementsByName("mail")[0].value = mylocaltraining.email; document.getElementsByName("mail")[0].disabled = true; - document.getElementsByName("mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mail")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("mail")[0].value = ""; document.getElementsByName("mail")[0].disabled = true; - document.getElementsByName("mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mail")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.adr_city) { document.getElementsByName("adr_zip")[0].value = mylocaltraining.adr_zip; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("adr_zip")[0].value = ""; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.adr_country) { document.getElementsByName("adr_country")[0].value = mylocaltraining.adr_country; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("adr_country")[0].value = ""; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.link_facebook) { document.getElementsByName("link_facebook")[0].value = mylocaltraining.link_facebook; document.getElementsByName("link_facebook")[0].disabled = true; - document.getElementsByName("link_facebook")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_facebook")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("link_facebook")[0].value = ""; document.getElementsByName("link_facebook")[0].disabled = true; - document.getElementsByName("link_facebook")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_facebook")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.mob_phone) { document.getElementsByName("mob_phone")[0].value = mylocaltraining.mob_phone; document.getElementsByName("mob_phone")[0].disabled = true; - document.getElementsByName("mob_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mob_phone")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("mob_phone")[0].value = ""; document.getElementsByName("mob_phone")[0].disabled = true; - document.getElementsByName("mob_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mob_phone")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.link_linkedin) { document.getElementsByName("link_linkedin")[0].value = mylocaltraining.link_linkedin; document.getElementsByName("link_linkedin")[0].disabled = true; - document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("link_linkedin")[0].value = ""; document.getElementsByName("link_linkedin")[0].disabled = true; - document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.link_twitter) { document.getElementsByName("link_twitter")[0].value = mylocaltraining.link_twitter; document.getElementsByName("link_twitter")[0].disabled = true; - document.getElementsByName("link_twitter")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_twitter")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("link_twitter")[0].value = ""; document.getElementsByName("link_twitter")[0].disabled = true; - document.getElementsByName("link_twitter")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_twitter")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.adr_street) { document.getElementsByName("adr_street")[0].value = mylocaltraining.adr_street; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("adr_street")[0].value = ""; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.prenom) { document.getElementsByName("surname")[0].value = mylocaltraining.prenom; document.getElementsByName("surname")[0].disabled = true; - document.getElementsByName("surname")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("surname")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("surname")[0].value = ""; document.getElementsByName("surname")[0].disabled = true; - document.getElementsByName("surname")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("surname")[0].style.backgroundColor = "#f8f9fa"; } if (mylocaltraining.nom) { document.getElementsByName("last_name")[0].value = mylocaltraining.nom; document.getElementsByName("last_name")[0].disabled = true; - document.getElementsByName("last_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("last_name")[0].style.backgroundColor = "#f8f9fa"; } else { document.getElementsByName("last_name")[0].value = ""; document.getElementsByName("last_name")[0].disabled = true; - document.getElementsByName("last_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("last_name")[0].style.backgroundColor = "#f8f9fa"; } @@ -261,41 +261,41 @@ function UpdateUserInfo_Intranet_Client(props) { setupdatepwd("b"); document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_city")[0].disabled = true; - document.getElementsByName("adr_city")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_city")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_zip")[0].disabled = true; - document.getElementsByName("adr_zip")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_zip")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("mail")[0].disabled = true; - document.getElementsByName("mail")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mail")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_country")[0].disabled = true; - document.getElementsByName("adr_country")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_country")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("mob_phone")[0].disabled = true; - document.getElementsByName("mob_phone")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("mob_phone")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("link_facebook")[0].disabled = true; - document.getElementsByName("link_facebook")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_facebook")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("link_linkedin")[0].disabled = true; - document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_linkedin")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("link_twitter")[0].disabled = true; - document.getElementsByName("link_twitter")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("link_twitter")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("adr_street")[0].disabled = true; - document.getElementsByName("adr_street")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("adr_street")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("surname")[0].disabled = true; - document.getElementsByName("surname")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("surname")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("last_name")[0].disabled = true; - document.getElementsByName("last_name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("last_name")[0].style.backgroundColor = "#f8f9fa"; setfields1desabled(true); } @@ -422,15 +422,15 @@ function UpdateUserInfo_Intranet_Client(props) { function desablesecurtypwdfields() { document.getElementsByName("current_pwd")[0].disabled = true; - document.getElementsByName("current_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("current_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("current_pwd")[0].value = ""; document.getElementsByName("new_pwd")[0].disabled = true; - document.getElementsByName("new_pwd")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd")[0].value = ""; document.getElementsByName("new_pwd_conf")[0].disabled = true; - document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("new_pwd_conf")[0].style.backgroundColor = "#f8f9fa"; document.getElementsByName("new_pwd_conf")[0].value = ""; diff --git a/src/components/UpdateUserProfil.js b/src/components/UpdateUserProfil.js index 00f488c..ad5e82a 100644 --- a/src/components/UpdateUserProfil.js +++ b/src/components/UpdateUserProfil.js @@ -152,20 +152,20 @@ function UpdateUserProfil(props) { if (mylocalobj.name) { document.getElementsByName("name")[0].value = mylocalobj.name; document.getElementsByName("name")[0].disabled = true; - document.getElementsByName("name")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("name")[0].style.backgroundColor = "#f8f9fa"; } if (mylocalobj.etude_level) { setmyclasslevel(mylocalobj.etude_level); document.getElementsByName("class_level")[0].disabled = true; - document.getElementsByName("class_level")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("class_level")[0].style.backgroundColor = "#f8f9fa"; } if (mylocalobj.nb_lang) { document.getElementsByName("nb_lang")[0].value = mylocalobj.nb_lang; document.getElementsByName("nb_lang")[0].disabled = true; - document.getElementsByName("nb_lang")[0].style.backgroundColor = "#ECEFF1"; + document.getElementsByName("nb_lang")[0].style.backgroundColor = "#f8f9fa"; } } else { diff --git a/src/styles/components/_addclassmanual.scss b/src/styles/components/_addclassmanual.scss index b716ffb..9e5fbb2 100644 --- a/src/styles/components/_addclassmanual.scss +++ b/src/styles/components/_addclassmanual.scss @@ -1639,7 +1639,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //background-color: #ECEFF1; diff --git a/src/styles/components/_admission_pedagogique_ftion_initiale.scss b/src/styles/components/_admission_pedagogique_ftion_initiale.scss index 37b9cf6..712181e 100644 --- a/src/styles/components/_admission_pedagogique_ftion_initiale.scss +++ b/src/styles/components/_admission_pedagogique_ftion_initiale.scss @@ -549,7 +549,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -714,7 +714,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1316,7 +1316,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1796,7 +1796,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1810,7 +1810,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_apprenant.scss b/src/styles/components/_apprenant.scss index ffaca7c..db1877e 100644 --- a/src/styles/components/_apprenant.scss +++ b/src/styles/components/_apprenant.scss @@ -603,7 +603,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -844,7 +844,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1533,7 +1533,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2107,7 +2107,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_config_champs_personnalise.scss b/src/styles/components/_config_champs_personnalise.scss index 6f69f8d..f3313c6 100644 --- a/src/styles/components/_config_champs_personnalise.scss +++ b/src/styles/components/_config_champs_personnalise.scss @@ -544,7 +544,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -708,7 +708,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1322,7 +1322,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1790,7 +1790,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_Dialog { @@ -1803,7 +1803,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_config_competence_pedagogique_ftion_initiale.scss b/src/styles/components/_config_competence_pedagogique_ftion_initiale.scss index e22121f..0450ee7 100644 --- a/src/styles/components/_config_competence_pedagogique_ftion_initiale.scss +++ b/src/styles/components/_config_competence_pedagogique_ftion_initiale.scss @@ -549,7 +549,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -714,7 +714,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1316,7 +1316,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1796,7 +1796,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1810,7 +1810,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_config_document.scss b/src/styles/components/_config_document.scss index b012d7a..ac5fa5f 100644 --- a/src/styles/components/_config_document.scss +++ b/src/styles/components/_config_document.scss @@ -548,7 +548,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -714,7 +714,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1334,7 +1334,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1808,7 +1808,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_Dialog { @@ -1821,7 +1821,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_conseil_classe.scss b/src/styles/components/_conseil_classe.scss index 4b4e942..3f77632 100644 --- a/src/styles/components/_conseil_classe.scss +++ b/src/styles/components/_conseil_classe.scss @@ -167,7 +167,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -557,7 +557,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -750,7 +750,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1171,7 +1171,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1390,7 +1390,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1923,7 +1923,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_crm_opportunite.scss b/src/styles/components/_crm_opportunite.scss index 2ea89ef..b40bd1a 100644 --- a/src/styles/components/_crm_opportunite.scss +++ b/src/styles/components/_crm_opportunite.scss @@ -539,7 +539,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1117,7 +1117,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1316,7 +1316,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1795,7 +1795,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_dashbord_formation.scss b/src/styles/components/_dashbord_formation.scss index 855f505..25d353a 100644 --- a/src/styles/components/_dashbord_formation.scss +++ b/src/styles/components/_dashbord_formation.scss @@ -581,7 +581,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -821,7 +821,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1495,7 +1495,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2040,7 +2040,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_dashbord_session.scss b/src/styles/components/_dashbord_session.scss index efc735b..4ea0479 100644 --- a/src/styles/components/_dashbord_session.scss +++ b/src/styles/components/_dashbord_session.scss @@ -581,7 +581,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -821,7 +821,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1495,7 +1495,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2040,7 +2040,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_displayPartnerunite_enseignement.scss b/src/styles/components/_displayPartnerunite_enseignement.scss index 02c6a2e..b1919b3 100644 --- a/src/styles/components/_displayPartnerunite_enseignement.scss +++ b/src/styles/components/_displayPartnerunite_enseignement.scss @@ -582,7 +582,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -855,7 +855,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1559,7 +1559,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2165,7 +2165,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2178,7 +2178,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_displaypartnersession.scss b/src/styles/components/_displaypartnersession.scss index 70d48bc..bf7dacc 100644 --- a/src/styles/components/_displaypartnersession.scss +++ b/src/styles/components/_displaypartnersession.scss @@ -612,7 +612,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -889,7 +889,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1615,7 +1615,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2223,7 +2223,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2236,7 +2236,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } @@ -3011,7 +3011,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -3053,7 +3053,7 @@ margin: 5px !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .css-md26zr-MuiInputBase-root-MuiOutlinedInput-root { diff --git a/src/styles/components/_displaypartnerstagiaire.scss b/src/styles/components/_displaypartnerstagiaire.scss index 191407c..9e06e90 100644 --- a/src/styles/components/_displaypartnerstagiaire.scss +++ b/src/styles/components/_displaypartnerstagiaire.scss @@ -206,7 +206,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -595,7 +595,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -788,7 +788,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1207,7 +1207,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0px !important; border: none !important; } @@ -1428,7 +1428,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1935,7 +1935,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_displaypartnertrainingpagination.scss b/src/styles/components/_displaypartnertrainingpagination.scss index aa47214..1602c15 100644 --- a/src/styles/components/_displaypartnertrainingpagination.scss +++ b/src/styles/components/_displaypartnertrainingpagination.scss @@ -369,7 +369,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -855,7 +855,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1341,7 +1341,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1819,7 +1819,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_emarge_qr_code.scss b/src/styles/components/_emarge_qr_code.scss index bc76e29..351c25c 100644 --- a/src/styles/components/_emarge_qr_code.scss +++ b/src/styles/components/_emarge_qr_code.scss @@ -610,7 +610,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -860,7 +860,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1537,7 +1537,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2089,7 +2089,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2103,7 +2103,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_employes.scss b/src/styles/components/_employes.scss index d5ba064..14f5234 100644 --- a/src/styles/components/_employes.scss +++ b/src/styles/components/_employes.scss @@ -543,7 +543,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -738,7 +738,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1159,7 +1159,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1381,7 +1381,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1922,7 +1922,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_equipe_team.scss b/src/styles/components/_equipe_team.scss index 6862098..e43ad7d 100644 --- a/src/styles/components/_equipe_team.scss +++ b/src/styles/components/_equipe_team.scss @@ -167,7 +167,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -557,7 +557,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -742,7 +742,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1163,7 +1163,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1375,7 +1375,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1902,7 +1902,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_esign.scss b/src/styles/components/_esign.scss index a64b505..562b0d0 100644 --- a/src/styles/components/_esign.scss +++ b/src/styles/components/_esign.scss @@ -611,7 +611,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -840,7 +840,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1501,7 +1501,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2041,7 +2041,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2055,7 +2055,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_fonctionnalite_v1.scss b/src/styles/components/_fonctionnalite_v1.scss index e7e6c04..eb01702 100644 --- a/src/styles/components/_fonctionnalite_v1.scss +++ b/src/styles/components/_fonctionnalite_v1.scss @@ -4216,7 +4216,7 @@ .header_title { - background: gainsboro; + background: #e8eef6; font-size: x-large; font-weight: 700; letter-spacing: 1px; diff --git a/src/styles/components/_groupe_apprenant.scss b/src/styles/components/_groupe_apprenant.scss index ca8f48b..84c55e7 100644 --- a/src/styles/components/_groupe_apprenant.scss +++ b/src/styles/components/_groupe_apprenant.scss @@ -167,7 +167,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -557,7 +557,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -742,7 +742,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1163,7 +1163,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1375,7 +1375,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1902,7 +1902,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_groupe_apprenant_dialog.scss b/src/styles/components/_groupe_apprenant_dialog.scss index 111cdb8..f476ca8 100644 --- a/src/styles/components/_groupe_apprenant_dialog.scss +++ b/src/styles/components/_groupe_apprenant_dialog.scss @@ -582,7 +582,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -834,7 +834,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1522,7 +1522,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2095,7 +2095,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2108,7 +2108,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_intranet_factures_client.scss b/src/styles/components/_intranet_factures_client.scss index 34691d3..9f7800a 100644 --- a/src/styles/components/_intranet_factures_client.scss +++ b/src/styles/components/_intranet_factures_client.scss @@ -546,7 +546,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -723,7 +723,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1335,7 +1335,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1825,7 +1825,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_Dialog { @@ -1838,7 +1838,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .session_caract_Dialog { diff --git a/src/styles/components/_intranet_mes_stagiaires.scss b/src/styles/components/_intranet_mes_stagiaires.scss index 15bccca..672ae50 100644 --- a/src/styles/components/_intranet_mes_stagiaires.scss +++ b/src/styles/components/_intranet_mes_stagiaires.scss @@ -189,7 +189,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -578,7 +578,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -771,7 +771,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1190,7 +1190,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0px !important; border: none !important; } @@ -1410,7 +1410,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1917,7 +1917,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_intranet_tous_documents.scss b/src/styles/components/_intranet_tous_documents.scss index 862d854..2b7da4f 100644 --- a/src/styles/components/_intranet_tous_documents.scss +++ b/src/styles/components/_intranet_tous_documents.scss @@ -546,7 +546,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -723,7 +723,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1335,7 +1335,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1825,7 +1825,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_Dialog { @@ -1838,7 +1838,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .session_caract_Dialog { diff --git a/src/styles/components/_jurys.scss b/src/styles/components/_jurys.scss index 6afd09a..92e4f8b 100644 --- a/src/styles/components/_jurys.scss +++ b/src/styles/components/_jurys.scss @@ -167,7 +167,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -557,7 +557,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -750,7 +750,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1171,7 +1171,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1390,7 +1390,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1923,7 +1923,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_jurys_admission.scss b/src/styles/components/_jurys_admission.scss index 5c16534..5e77fdd 100644 --- a/src/styles/components/_jurys_admission.scss +++ b/src/styles/components/_jurys_admission.scss @@ -167,7 +167,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -557,7 +557,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -750,7 +750,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1171,7 +1171,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1390,7 +1390,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1923,7 +1923,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_materiel_salle.scss b/src/styles/components/_materiel_salle.scss index 4969f3b..edd7ea7 100644 --- a/src/styles/components/_materiel_salle.scss +++ b/src/styles/components/_materiel_salle.scss @@ -164,7 +164,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -552,7 +552,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -717,7 +717,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1136,7 +1136,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1329,7 +1329,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1802,7 +1802,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_materiels.scss b/src/styles/components/_materiels.scss index 41735c5..d1a52e1 100644 --- a/src/styles/components/_materiels.scss +++ b/src/styles/components/_materiels.scss @@ -531,7 +531,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1104,7 +1104,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1298,7 +1298,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1772,7 +1772,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_module_absence.scss b/src/styles/components/_module_absence.scss index 39f9b66..49b66b6 100644 --- a/src/styles/components/_module_absence.scss +++ b/src/styles/components/_module_absence.scss @@ -567,7 +567,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -784,7 +784,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1438,7 +1438,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1969,7 +1969,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1983,7 +1983,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } diff --git a/src/styles/components/_module_activite_pedagogique.scss b/src/styles/components/_module_activite_pedagogique.scss index 809fe1d..c6168a9 100644 --- a/src/styles/components/_module_activite_pedagogique.scss +++ b/src/styles/components/_module_activite_pedagogique.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_admission_candidat_document.scss b/src/styles/components/_module_admission_candidat_document.scss index a784754..065e9c4 100644 --- a/src/styles/components/_module_admission_candidat_document.scss +++ b/src/styles/components/_module_admission_candidat_document.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_admission_candidat_synthese.scss b/src/styles/components/_module_admission_candidat_synthese.scss index 0f9ad1b..c860c47 100644 --- a/src/styles/components/_module_admission_candidat_synthese.scss +++ b/src/styles/components/_module_admission_candidat_synthese.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_agenda.scss b/src/styles/components/_module_agenda.scss index 4afb26e..bb72f02 100644 --- a/src/styles/components/_module_agenda.scss +++ b/src/styles/components/_module_agenda.scss @@ -569,7 +569,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -787,7 +787,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1442,7 +1442,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1974,7 +1974,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1988,7 +1988,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_module_alert_confirmation.scss b/src/styles/components/_module_alert_confirmation.scss index 4d6455c..67ccc18 100644 --- a/src/styles/components/_module_alert_confirmation.scss +++ b/src/styles/components/_module_alert_confirmation.scss @@ -590,7 +590,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -957,7 +957,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1751,7 +1751,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2427,7 +2427,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2440,7 +2440,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_attestation_formation.scss b/src/styles/components/_module_attestation_formation.scss index af22337..6f026ae 100644 --- a/src/styles/components/_module_attestation_formation.scss +++ b/src/styles/components/_module_attestation_formation.scss @@ -611,7 +611,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -821,7 +821,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1468,7 +1468,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1992,7 +1992,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2006,7 +2006,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_module_bloc_competence_pedagogique.scss b/src/styles/components/_module_bloc_competence_pedagogique.scss index 6c7a83a..118cc80 100644 --- a/src/styles/components/_module_bloc_competence_pedagogique.scss +++ b/src/styles/components/_module_bloc_competence_pedagogique.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_competence_pedagogique.scss b/src/styles/components/_module_competence_pedagogique.scss index 1390b8d..febb40a 100644 --- a/src/styles/components/_module_competence_pedagogique.scss +++ b/src/styles/components/_module_competence_pedagogique.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_domaine_competence_pedagogique.scss b/src/styles/components/_module_domaine_competence_pedagogique.scss index 8f17d88..3b1fa74 100644 --- a/src/styles/components/_module_domaine_competence_pedagogique.scss +++ b/src/styles/components/_module_domaine_competence_pedagogique.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_editique.scss b/src/styles/components/_module_editique.scss index 390ce2a..5e9e1ec 100644 --- a/src/styles/components/_module_editique.scss +++ b/src/styles/components/_module_editique.scss @@ -617,7 +617,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -827,7 +827,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1474,7 +1474,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1998,7 +1998,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2012,7 +2012,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_module_email_management.scss b/src/styles/components/_module_email_management.scss index 70d2632..89ae79b 100644 --- a/src/styles/components/_module_email_management.scss +++ b/src/styles/components/_module_email_management.scss @@ -619,7 +619,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -838,7 +838,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1494,7 +1494,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2027,7 +2027,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2041,7 +2041,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_module_ent_mes_documents.scss b/src/styles/components/_module_ent_mes_documents.scss index f12ce72..3a0b574 100644 --- a/src/styles/components/_module_ent_mes_documents.scss +++ b/src/styles/components/_module_ent_mes_documents.scss @@ -167,7 +167,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -557,7 +557,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -742,7 +742,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1163,7 +1163,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1375,7 +1375,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1902,7 +1902,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_module_ent_mes_formations.scss b/src/styles/components/_module_ent_mes_formations.scss index 63f8288..b0533c8 100644 --- a/src/styles/components/_module_ent_mes_formations.scss +++ b/src/styles/components/_module_ent_mes_formations.scss @@ -193,7 +193,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -583,7 +583,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1132,7 +1132,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1571,7 +1571,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -2034,7 +2034,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2803,7 +2803,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_module_ent_mes_notes.scss b/src/styles/components/_module_ent_mes_notes.scss index 0c3f93f..97e3310 100644 --- a/src/styles/components/_module_ent_mes_notes.scss +++ b/src/styles/components/_module_ent_mes_notes.scss @@ -171,7 +171,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -561,7 +561,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -746,7 +746,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1167,7 +1167,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1379,7 +1379,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1906,7 +1906,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_module_ent_mon_planning.scss b/src/styles/components/_module_ent_mon_planning.scss index f6642c1..7eb26b4 100644 --- a/src/styles/components/_module_ent_mon_planning.scss +++ b/src/styles/components/_module_ent_mon_planning.scss @@ -181,7 +181,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -571,7 +571,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -764,7 +764,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1185,7 +1185,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1405,7 +1405,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1939,7 +1939,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_module_evaluation_positionnement.scss b/src/styles/components/_module_evaluation_positionnement.scss index 0da5d5a..e3427af 100644 --- a/src/styles/components/_module_evaluation_positionnement.scss +++ b/src/styles/components/_module_evaluation_positionnement.scss @@ -611,7 +611,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -821,7 +821,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1468,7 +1468,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1992,7 +1992,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2006,7 +2006,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_module_gestion_stage.scss b/src/styles/components/_module_gestion_stage.scss index 60a1fa7..dd99ed0 100644 --- a/src/styles/components/_module_gestion_stage.scss +++ b/src/styles/components/_module_gestion_stage.scss @@ -205,7 +205,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -594,7 +594,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -787,7 +787,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1206,7 +1206,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0px !important; border: none !important; } @@ -1427,7 +1427,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1934,7 +1934,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_module_historique_action.scss b/src/styles/components/_module_historique_action.scss index 52cbacd..42d10e9 100644 --- a/src/styles/components/_module_historique_action.scss +++ b/src/styles/components/_module_historique_action.scss @@ -544,7 +544,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -708,7 +708,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1322,7 +1322,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1790,7 +1790,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_Dialog { @@ -1803,7 +1803,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_module_inscrit_suivi_paiement.scss b/src/styles/components/_module_inscrit_suivi_paiement.scss index 4c2db20..1e7a84d 100644 --- a/src/styles/components/_module_inscrit_suivi_paiement.scss +++ b/src/styles/components/_module_inscrit_suivi_paiement.scss @@ -206,7 +206,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -595,7 +595,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -788,7 +788,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1207,7 +1207,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0px !important; border: none !important; } @@ -1428,7 +1428,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1935,7 +1935,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_module_internal_email_management.scss b/src/styles/components/_module_internal_email_management.scss index 7ded1ed..edacef2 100644 --- a/src/styles/components/_module_internal_email_management.scss +++ b/src/styles/components/_module_internal_email_management.scss @@ -619,7 +619,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -838,7 +838,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1494,7 +1494,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2027,7 +2027,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2041,7 +2041,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_module_jury_selection_apprenants.scss b/src/styles/components/_module_jury_selection_apprenants.scss index b4f3b85..5db9966 100644 --- a/src/styles/components/_module_jury_selection_apprenants.scss +++ b/src/styles/components/_module_jury_selection_apprenants.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_pole_activite_pedagogique.scss b/src/styles/components/_module_pole_activite_pedagogique.scss index 1a06f4b..73e3c9a 100644 --- a/src/styles/components/_module_pole_activite_pedagogique.scss +++ b/src/styles/components/_module_pole_activite_pedagogique.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_referentiel_pedagogique.scss b/src/styles/components/_module_referentiel_pedagogique.scss index e6b756e..becc489 100644 --- a/src/styles/components/_module_referentiel_pedagogique.scss +++ b/src/styles/components/_module_referentiel_pedagogique.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_relance_client_facture.scss b/src/styles/components/_module_relance_client_facture.scss index a9865b8..867f21d 100644 --- a/src/styles/components/_module_relance_client_facture.scss +++ b/src/styles/components/_module_relance_client_facture.scss @@ -205,7 +205,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -594,7 +594,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -787,7 +787,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1206,7 +1206,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0px !important; border: none !important; } @@ -1427,7 +1427,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1934,7 +1934,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } diff --git a/src/styles/components/_module_rh_tutorat.scss b/src/styles/components/_module_rh_tutorat.scss index 6ae1e22..995fe70 100644 --- a/src/styles/components/_module_rh_tutorat.scss +++ b/src/styles/components/_module_rh_tutorat.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_session_note_classement.scss b/src/styles/components/_module_session_note_classement.scss index bbe832d..2344df3 100644 --- a/src/styles/components/_module_session_note_classement.scss +++ b/src/styles/components/_module_session_note_classement.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_module_tache_pedagogique.scss b/src/styles/components/_module_tache_pedagogique.scss index bd56239..e125c60 100644 --- a/src/styles/components/_module_tache_pedagogique.scss +++ b/src/styles/components/_module_tache_pedagogique.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_moduleactivite.scss b/src/styles/components/_moduleactivite.scss index f6b3275..6c3d252 100644 --- a/src/styles/components/_moduleactivite.scss +++ b/src/styles/components/_moduleactivite.scss @@ -582,7 +582,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -834,7 +834,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1522,7 +1522,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2095,7 +2095,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2108,7 +2108,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } @@ -2752,7 +2752,7 @@ margin: 5px !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .css-md26zr-MuiInputBase-root-MuiOutlinedInput-root { diff --git a/src/styles/components/_moduleia.scss b/src/styles/components/_moduleia.scss index d16c3a5..08549f5 100644 --- a/src/styles/components/_moduleia.scss +++ b/src/styles/components/_moduleia.scss @@ -590,7 +590,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -957,7 +957,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1751,7 +1751,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2427,7 +2427,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2440,7 +2440,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_modules_mes_documents.scss b/src/styles/components/_modules_mes_documents.scss index 01beaac..9b3e96d 100644 --- a/src/styles/components/_modules_mes_documents.scss +++ b/src/styles/components/_modules_mes_documents.scss @@ -546,7 +546,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -763,7 +763,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1414,7 +1414,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1931,7 +1931,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_Dialog { @@ -1944,7 +1944,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .session_caract_Dialog { diff --git a/src/styles/components/_moduleselectionapprenants.scss b/src/styles/components/_moduleselectionapprenants.scss index 5bb9db9..f03a701 100644 --- a/src/styles/components/_moduleselectionapprenants.scss +++ b/src/styles/components/_moduleselectionapprenants.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_moduleselectionevaluationapprenants.scss b/src/styles/components/_moduleselectionevaluationapprenants.scss index 086e8de..59da57b 100644 --- a/src/styles/components/_moduleselectionevaluationapprenants.scss +++ b/src/styles/components/_moduleselectionevaluationapprenants.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_modulesessionevaluation.scss b/src/styles/components/_modulesessionevaluation.scss index f57d1aa..a638bae 100644 --- a/src/styles/components/_modulesessionevaluation.scss +++ b/src/styles/components/_modulesessionevaluation.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -837,7 +837,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1526,7 +1526,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2099,7 +2099,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2112,7 +2112,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_modulesessionplanification.scss b/src/styles/components/_modulesessionplanification.scss index 14b28ec..d040cda 100644 --- a/src/styles/components/_modulesessionplanification.scss +++ b/src/styles/components/_modulesessionplanification.scss @@ -584,7 +584,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -836,7 +836,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1524,7 +1524,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2096,7 +2096,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_moitier { @@ -2109,7 +2109,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; float: left; } diff --git a/src/styles/components/_mon_tableau_de_bord.scss b/src/styles/components/_mon_tableau_de_bord.scss index effb1dc..38f60b5 100644 --- a/src/styles/components/_mon_tableau_de_bord.scss +++ b/src/styles/components/_mon_tableau_de_bord.scss @@ -574,7 +574,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -811,7 +811,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1481,7 +1481,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2035,7 +2035,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_note_evaluation.scss b/src/styles/components/_note_evaluation.scss index c2c1baf..c00d997 100644 --- a/src/styles/components/_note_evaluation.scss +++ b/src/styles/components/_note_evaluation.scss @@ -167,7 +167,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -557,7 +557,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -742,7 +742,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1163,7 +1163,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1375,7 +1375,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1902,7 +1902,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_partner_catalog_pub.scss b/src/styles/components/_partner_catalog_pub.scss index b6c3f24..e4bd874 100644 --- a/src/styles/components/_partner_catalog_pub.scss +++ b/src/styles/components/_partner_catalog_pub.scss @@ -220,7 +220,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; font-family: "DM Sans", "sans-serif"; @@ -234,7 +234,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; font-family: 'DM sans'; } @@ -424,7 +424,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; font-family: "DM Sans", "sans-serif"; @@ -439,7 +439,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; font-family: 'DM sans'; @@ -630,7 +630,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; font-family: "DM Sans", "sans-serif"; } @@ -643,7 +643,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; font-family: 'DM sans'; } @@ -826,7 +826,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; font-family: "DM Sans", "sans-serif"; } @@ -840,7 +840,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; font-family: 'DM sans'; } diff --git a/src/styles/components/_partner_commande.scss b/src/styles/components/_partner_commande.scss index bdd5800..1f0dafd 100644 --- a/src/styles/components/_partner_commande.scss +++ b/src/styles/components/_partner_commande.scss @@ -577,7 +577,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -742,7 +742,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1369,7 +1369,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1873,7 +1873,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_Dialog { @@ -1886,7 +1886,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .session_caract_Dialog { diff --git a/src/styles/components/_partner_configiguration_formulaires.scss b/src/styles/components/_partner_configiguration_formulaires.scss index 474fd7e..857d164 100644 --- a/src/styles/components/_partner_configiguration_formulaires.scss +++ b/src/styles/components/_partner_configiguration_formulaires.scss @@ -545,7 +545,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -710,7 +710,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1310,7 +1310,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1788,7 +1788,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1802,7 +1802,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } diff --git a/src/styles/components/_partner_configuration_jours_travail.scss b/src/styles/components/_partner_configuration_jours_travail.scss index adf3dea..6f98d67 100644 --- a/src/styles/components/_partner_configuration_jours_travail.scss +++ b/src/styles/components/_partner_configuration_jours_travail.scss @@ -547,7 +547,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 0px !important; } @@ -712,7 +712,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 0px !important; } @@ -1312,7 +1312,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 0px !important; } @@ -1790,7 +1790,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 0px !important; } @@ -1804,7 +1804,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1818,7 +1818,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } diff --git a/src/styles/components/_partner_configuration_session_step.scss b/src/styles/components/_partner_configuration_session_step.scss index 4f28ba8..6e4768f 100644 --- a/src/styles/components/_partner_configuration_session_step.scss +++ b/src/styles/components/_partner_configuration_session_step.scss @@ -547,7 +547,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -712,7 +712,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1312,7 +1312,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1790,7 +1790,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -1804,7 +1804,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } diff --git a/src/styles/components/_partner_configuration_technique.scss b/src/styles/components/_partner_configuration_technique.scss index cb70315..192cf41 100644 --- a/src/styles/components/_partner_configuration_technique.scss +++ b/src/styles/components/_partner_configuration_technique.scss @@ -549,7 +549,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -714,7 +714,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1316,7 +1316,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1796,7 +1796,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1810,7 +1810,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_partner_domaine_categorie_metier.scss b/src/styles/components/_partner_domaine_categorie_metier.scss index cc24dcb..80453f8 100644 --- a/src/styles/components/_partner_domaine_categorie_metier.scss +++ b/src/styles/components/_partner_domaine_categorie_metier.scss @@ -549,7 +549,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -714,7 +714,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1316,7 +1316,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1796,7 +1796,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1810,7 +1810,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_partner_facture.scss b/src/styles/components/_partner_facture.scss index 8ee182f..2f137b3 100644 --- a/src/styles/components/_partner_facture.scss +++ b/src/styles/components/_partner_facture.scss @@ -546,7 +546,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -723,7 +723,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1335,7 +1335,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1825,7 +1825,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .disabled_style_Dialog { @@ -1838,7 +1838,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .session_caract_Dialog { diff --git a/src/styles/components/_partner_ftion_initiale_configuration.scss b/src/styles/components/_partner_ftion_initiale_configuration.scss index 185af52..c6f53d2 100644 --- a/src/styles/components/_partner_ftion_initiale_configuration.scss +++ b/src/styles/components/_partner_ftion_initiale_configuration.scss @@ -549,7 +549,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-left: 5px !important; } @@ -714,7 +714,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1316,7 +1316,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -1796,7 +1796,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1810,7 +1810,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_partner_prix_achat.scss b/src/styles/components/_partner_prix_achat.scss index adae1a4..8edbf9e 100644 --- a/src/styles/components/_partner_prix_achat.scss +++ b/src/styles/components/_partner_prix_achat.scss @@ -575,7 +575,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -807,7 +807,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1473,7 +1473,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -2022,7 +2022,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_partner_product_service.scss b/src/styles/components/_partner_product_service.scss index 0dbf18c..82bfc6c 100644 --- a/src/styles/components/_partner_product_service.scss +++ b/src/styles/components/_partner_product_service.scss @@ -155,7 +155,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -543,7 +543,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -708,7 +708,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1127,7 +1127,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1320,7 +1320,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1793,7 +1793,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_quisommesnous_v2.scss b/src/styles/components/_quisommesnous_v2.scss index 68b0a4c..78a8b9e 100644 --- a/src/styles/components/_quisommesnous_v2.scss +++ b/src/styles/components/_quisommesnous_v2.scss @@ -1865,7 +1865,7 @@ // end media .header_title { - background: gainsboro; + background: #e8eef6; font-size: x-large; font-weight: 700; letter-spacing: 1px; diff --git a/src/styles/components/_quisommesnous_v3.scss b/src/styles/components/_quisommesnous_v3.scss index 79ebcb4..d9f7e75 100644 --- a/src/styles/components/_quisommesnous_v3.scss +++ b/src/styles/components/_quisommesnous_v3.scss @@ -4213,7 +4213,7 @@ .header_title { - background: gainsboro; + background: #e8eef6; font-size: x-large; font-weight: 700; letter-spacing: 1px; diff --git a/src/styles/components/_quisommesnous_v4.scss b/src/styles/components/_quisommesnous_v4.scss index d0762d5..b92f92f 100644 --- a/src/styles/components/_quisommesnous_v4.scss +++ b/src/styles/components/_quisommesnous_v4.scss @@ -5672,7 +5672,7 @@ .header_title { - background: gainsboro; + background: #e8eef6; font-size: x-large; font-weight: 700; letter-spacing: 1px; diff --git a/src/styles/components/_session_admission_fi.scss b/src/styles/components/_session_admission_fi.scss index 1231cbd..d141608 100644 --- a/src/styles/components/_session_admission_fi.scss +++ b/src/styles/components/_session_admission_fi.scss @@ -167,7 +167,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -557,7 +557,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -748,7 +748,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1169,7 +1169,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1387,7 +1387,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1920,7 +1920,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_surveydocument.scss b/src/styles/components/_surveydocument.scss index 1a4d7d6..c7a893d 100644 --- a/src/styles/components/_surveydocument.scss +++ b/src/styles/components/_surveydocument.scss @@ -611,7 +611,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -887,7 +887,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1608,7 +1608,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2204,7 +2204,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2218,7 +2218,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_test_drag_drop.scss b/src/styles/components/_test_drag_drop.scss index fb10a3c..c533ee6 100644 --- a/src/styles/components/_test_drag_drop.scss +++ b/src/styles/components/_test_drag_drop.scss @@ -708,7 +708,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -918,7 +918,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1565,7 +1565,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2089,7 +2089,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2103,7 +2103,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_testurl_new.scss b/src/styles/components/_testurl_new.scss index 766a71d..3f7ea39 100644 --- a/src/styles/components/_testurl_new.scss +++ b/src/styles/components/_testurl_new.scss @@ -150,7 +150,7 @@ margin: 5px !important; height: 3.5rem !important; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -536,7 +536,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -700,7 +700,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1116,7 +1116,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0.5rem !important; border: none !important; } @@ -1308,7 +1308,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -1778,7 +1778,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { diff --git a/src/styles/components/_updateattendeelist.scss b/src/styles/components/_updateattendeelist.scss index ebf8645..16ceb30 100644 --- a/src/styles/components/_updateattendeelist.scss +++ b/src/styles/components/_updateattendeelist.scss @@ -611,7 +611,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -858,7 +858,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -1542,7 +1542,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2103,7 +2103,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } @@ -2117,7 +2117,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; //padding-left: 5px !important; } diff --git a/src/styles/components/_updateuserinfo.scss b/src/styles/components/_updateuserinfo.scss index eed290a..798088a 100644 --- a/src/styles/components/_updateuserinfo.scss +++ b/src/styles/components/_updateuserinfo.scss @@ -175,7 +175,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } @@ -340,7 +340,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; padding-top: 0px !important; border: none !important; } @@ -509,7 +509,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract { @@ -646,7 +646,7 @@ //border: none !important; border-radius: 5px; background: white; - border: solid gainsboro 1px; + border: solid #e8eef6 1px; } .training_caract {