07/10/2023 - 16h40

recette2
cherif 2023-10-07 16:51:38 +02:00
parent 0e4ade9a00
commit cc26b92db6
6 changed files with 154 additions and 77 deletions

View File

@ -4104,79 +4104,124 @@ const DisplayPartnerSession = (props) => {
function disableAttendeeDetailFields() {
setparticipant_data_edit_mode("0");
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].disabled = true;
document.getElementsByName("detail_session_class")[0].style.backgroundColor = "#ECEFF1";
if (document.getElementsByName("detail_client_rattachement")[0]) {
document.getElementsByName("detail_client_rattachement")[0].disabled = true;
document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#ECEFF1";
}
if (document.getElementsByName("detail_nom")[0]) {
document.getElementsByName("detail_nom")[0].disabled = true;
document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1";
}
document.getElementsByName("detail_client_rattachement")[0].disabled = true;
document.getElementsByName("detail_client_rattachement")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("detail_nom")[0].disabled = true;
document.getElementsByName("detail_nom")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("detail_status_inscript")[0].disabled = true;
document.getElementsByName("detail_status_inscript")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("detail_opco")[0].disabled = true;
document.getElementsByName("detail_opco")[0].style.backgroundColor = "#ECEFF1";
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_prenom")[0].disabled = true;
document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1";
if (document.getElementsByName("detail_opco")[0]) {
document.getElementsByName("detail_opco")[0].disabled = true;
document.getElementsByName("detail_opco")[0].style.backgroundColor = "#ECEFF1";
}
document.getElementsByName("detail_mail")[0].disabled = true;
document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1";
if (document.getElementsByName("detail_prenom")[0]) {
document.getElementsByName("detail_prenom")[0].disabled = true;
document.getElementsByName("detail_prenom")[0].style.backgroundColor = "#ECEFF1";
}
document.getElementsByName("detail_tel")[0].disabled = true;
document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1";
if (document.getElementsByName("detail_mail")[0]) {
document.getElementsByName("detail_mail")[0].disabled = true;
document.getElementsByName("detail_mail")[0].style.backgroundColor = "#ECEFF1";
}
if (document.getElementsByName("detail_tel")[0]) {
document.getElementsByName("detail_tel")[0].disabled = true;
document.getElementsByName("detail_tel")[0].style.backgroundColor = "#ECEFF1";
}
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].disabled = true;
document.getElementsByName("detail_adresse")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("detail_code_postal")[0].disabled = true;
document.getElementsByName("detail_code_postal")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("detail_ville")[0].disabled = true;
document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("detail_pays")[0].disabled = true;
document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("detail_cout")[0].disabled = true;
document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1";
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_mode_fin")[0].disabled = true;
document.getElementsByName("detail_mode_fin")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("detail_employeur")[0].disabled = true;
document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("date_evaluation")[0].disabled = true;
document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("certif_date")[0].disabled = true;
document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1";
document.getElementsByName("note_eval")[0].disabled = true;
document.getElementsByName("note_eval")[0].style.backgroundColor = "#ECEFF1";
if (document.getElementsByName("detail_ville")[0]) {
document.getElementsByName("detail_ville")[0].disabled = true;
document.getElementsByName("detail_ville")[0].style.backgroundColor = "#ECEFF1";
}
document.getElementsByName("date_evaluation")[0].disabled = true;
document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1";
if (document.getElementsByName("detail_pays")[0]) {
document.getElementsByName("detail_pays")[0].disabled = true;
document.getElementsByName("detail_pays")[0].style.backgroundColor = "#ECEFF1";
}
document.getElementsByName("detail_incr_date")[0].disabled = true;
document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1";
if (document.getElementsByName("detail_cout")[0]) {
document.getElementsByName("detail_cout")[0].disabled = true;
document.getElementsByName("detail_cout")[0].style.backgroundColor = "#ECEFF1";
}
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("certif_date")[0].disabled = true;
document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1";
if (document.getElementsByName("detail_employeur")[0]) {
document.getElementsByName("detail_employeur")[0].disabled = true;
document.getElementsByName("detail_employeur")[0].style.backgroundColor = "#ECEFF1";
}
if (document.getElementsByName("date_evaluation")[0]) {
document.getElementsByName("date_evaluation")[0].disabled = true;
document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1";
}
if (document.getElementsByName("certif_date")[0]) {
document.getElementsByName("certif_date")[0].disabled = true;
document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1";
}
if (document.getElementsByName("note_eval")[0]) {
document.getElementsByName("note_eval")[0].disabled = true;
document.getElementsByName("note_eval")[0].style.backgroundColor = "#ECEFF1";
}
if (document.getElementsByName("date_evaluation")[0]) {
document.getElementsByName("date_evaluation")[0].disabled = true;
document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1";
}
if (document.getElementsByName("detail_incr_date")[0]) {
document.getElementsByName("detail_incr_date")[0].disabled = true;
document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1";
}
if (document.getElementsByName("certif_date")[0]) {
document.getElementsByName("certif_date")[0].disabled = true;
document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1";
}
}
function EnableAttendeeDetailFields() {
@ -5941,7 +5986,7 @@ const DisplayPartnerSession = (props) => {
/>
</div>
<div className="session_caract"> Status Inscription *<br />
<div className="session_caract"> Statut Inscription *<br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
@ -6214,7 +6259,7 @@ const DisplayPartnerSession = (props) => {
/>
</div>
<div className="session_caract"> Status Inscription *<br />
<div className="session_caract"> Statut Inscription *<br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
@ -6351,7 +6396,7 @@ const DisplayPartnerSession = (props) => {
/>
</div>
<div className="session_caract"> Status Inscription *<br />
<div className="session_caract"> Statut Inscription *<br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
@ -6548,7 +6593,7 @@ const DisplayPartnerSession = (props) => {
</div>}
{String(addOneParticipant) !== "1" && String(display_detail_insc) === "1" && selected_code_session && <div className="div_row" style={{ "border": "None", "background": '#F8F9F9', "padding": '5px' }}>
{String(addOneParticipant) !== "1" && String(display_detail_insc) === "1" && selected_code_session && <div className="div_row block_detail_inscrit">
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Détail inscrit </nav>
{String(GetAttendee_api) === "true" && <div className="div_row" style={{ "border": "None" }}>
@ -6559,7 +6604,7 @@ const DisplayPartnerSession = (props) => {
{String(Resend_LMS_Credentials_api) === "false" && <div className="div_row okUpdateData" style={{ "textAlign": "center" }}>
{Resend_LMS_Credentials_message}</div>}
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Détail inscrit </nav>
<div className="div_row" style={{ "border": "None" }}>
<div className="div_row" style={{ "border": "None" }}>
@ -7090,15 +7135,13 @@ const DisplayPartnerSession = (props) => {
</div>
{String(participant_data_edit_mode) !== "1" && <div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
{String(participant_data_edit_mode) !== "1" && <div className="div_row" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
<div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
&nbsp;
</div>
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
<Button variant="contained" className="bton_edit" onClick={EnableAttendeeDetailFields}>Editer
<Button variant="contained" className="bton_edit" onClick={EnableAttendeeDetailFields}>Editer
</Button>
</div>
@ -7290,7 +7333,7 @@ const DisplayPartnerSession = (props) => {
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
<Button variant="contained" className="bton_edit" onClick={DownloadAttendeeAttestation}>Imprimer l'attestation de formation
<Button variant="contained" className="bton_edit" onClick={DownloadAttendeeAttestation} style={{"textAlign":"center"}}>Imprimer l'attestation de formation
</Button>

View File

@ -3547,7 +3547,7 @@ const DisplayPartnerStagiaires = (props) => {
<div className="session_caract"> Status Inscription *<br />
<div className="session_caract"> Statut Inscription *<br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required

View File

@ -6740,7 +6740,7 @@ function GestionAdministrative(props) {
/>
</div>
<div className="session_caract"> Status Inscription *<br />
<div className="session_caract"> Statut Inscription *<br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required

View File

@ -881,7 +881,7 @@ function Inscription_Information(props) {
String(AnnulerFction_status) !== "1" &&
String(SendEvaluationClass_api) === "true" && <div className="survey_page">
<div className="okUpdateData">
Votre évaluation à bien été prise en compte. Merci.
Votre évaluation a bien été prise en compte. Merci.
</div>
</div>}

View File

@ -195,7 +195,7 @@ function ResetUserPwd() {
setUpdateUserPwd_api("true")
setupdatepwd(true);
setfields1desabled(true);
alert(" le mot de passe à bien été mis à jour");
alert(" le mot de passe a bien été mis à jour");
// history.push("/Connexion");
}
else {

View File

@ -12,9 +12,9 @@
z-index: 1;
top: 0px;
opacity: 80%;
}
.spinner {
}
.spinner {
width: 20rem;
height: 10rem;
border: 8px solid;
@ -23,14 +23,15 @@
animation: spin-anim 1.2s linear infinite;
background-color: red;
color: black;
}
.mysy_spinner{
}
.mysy_spinner {
border-radius: 5px;
border: 1px solid black;
opacity: 100%;
}
}
.Mui-disabled {
font-size: small !important;
@ -599,6 +600,14 @@
margin-bottom: 1rem;
padding-top: 0.5rem !important;
}
.block_detail_inscrit {
border: none;
background: #F8F9F9;
padding: 5px;
margin-top: 10rem;
}
}
@media only screen and (min-width: 601px) and (max-width: 991px) {
@ -1146,6 +1155,14 @@
padding-top: 0.5rem !important;
}
.block_detail_inscrit {
border: none;
background: #F8F9F9;
padding: 5px;
margin-top: 10rem;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
@ -1594,6 +1611,14 @@
font-weight: normal;
}
.block_detail_inscrit {
border: none;
background: #F8F9F9;
padding: 5px;
margin-top: 5rem;
}
}
@media only screen and (min-width: 1200px) {
@ -2134,7 +2159,16 @@
text-align: center;
}
.block_detail_inscrit {
border: none;
background: #F8F9F9;
padding: 5px;
margin-top: 5rem;
}
}
// end media