16/02/23 - 22h
parent
86e1566a06
commit
2f78c5c780
|
@ -263,24 +263,6 @@ function GestionAdministrative(props) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
field: "valide", headerName: 'Valider',
|
|
||||||
renderCell: (cellValues) => {
|
|
||||||
return (
|
|
||||||
|
|
||||||
<Button
|
|
||||||
|
|
||||||
onClick={(event) => {
|
|
||||||
handleClick_accept(event, cellValues);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<FcApproval />
|
|
||||||
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
field: "Detail", headerName: 'Voir detail',
|
field: "Detail", headerName: 'Voir detail',
|
||||||
|
@ -458,16 +440,34 @@ function GestionAdministrative(props) {
|
||||||
if (parseFloat(montant).toFixed(2) <= 0) {
|
if (parseFloat(montant).toFixed(2) <= 0) {
|
||||||
alert(" Le montant de la formation est incorrect");
|
alert(" Le montant de la formation est incorrect");
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (String(montant) === "undefined") {
|
||||||
|
alert(" Le montant de la formation est incorrect");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var nom = cellValues.row.nom;
|
var nom = cellValues.row.nom;
|
||||||
var email = cellValues.row.email;
|
var email = cellValues.row.email;
|
||||||
var prenom = cellValues.row.prenom;
|
var prenom = cellValues.row.prenom;
|
||||||
var opco = cellValues.row.opco;
|
var opco = cellValues.row.opco;
|
||||||
|
if (String(opco) === "undefined") {
|
||||||
|
opco = ""
|
||||||
|
}
|
||||||
|
|
||||||
var modefinancement = cellValues.row.modefinancement;
|
var modefinancement = cellValues.row.modefinancement;
|
||||||
|
if (String(modefinancement) === "undefined") {
|
||||||
|
modefinancement = ""
|
||||||
|
}
|
||||||
|
|
||||||
var status = "1";
|
var status = "1";
|
||||||
var employeur = cellValues.row.employeur;
|
var employeur = cellValues.row.employeur;
|
||||||
|
if (String(employeur) === "undefined") {
|
||||||
|
employeur = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
UpdateStagiaireData(nom, prenom, email, status, montant, opco, modefinancement, employeur);
|
UpdateStagiaireData(nom, prenom, email, status, montant, opco, modefinancement, employeur);
|
||||||
}
|
}
|
||||||
|
@ -475,13 +475,29 @@ function GestionAdministrative(props) {
|
||||||
function handleClick_update_data(event, cellValues) {
|
function handleClick_update_data(event, cellValues) {
|
||||||
|
|
||||||
var montant = String(cellValues.row.amount);
|
var montant = String(cellValues.row.amount);
|
||||||
|
if (String(montant) === "undefined") {
|
||||||
|
montant = "0"
|
||||||
|
}
|
||||||
|
|
||||||
var nom = cellValues.row.nom;
|
var nom = cellValues.row.nom;
|
||||||
var email = cellValues.row.email;
|
var email = cellValues.row.email;
|
||||||
var prenom = cellValues.row.prenom;
|
var prenom = cellValues.row.prenom;
|
||||||
var opco = cellValues.row.opco;
|
var opco = cellValues.row.opco;
|
||||||
|
if (String(opco) === "undefined") {
|
||||||
|
opco = ""
|
||||||
|
}
|
||||||
|
|
||||||
var modefinancement = cellValues.row.modefinancement;
|
var modefinancement = cellValues.row.modefinancement;
|
||||||
|
if (String(modefinancement) === "undefined") {
|
||||||
|
modefinancement = ""
|
||||||
|
}
|
||||||
|
|
||||||
var status = "0";
|
var status = "0";
|
||||||
var employeur = cellValues.row.employeur;
|
var employeur = cellValues.row.employeur;
|
||||||
|
if (String(employeur) === "undefined") {
|
||||||
|
employeur = ""
|
||||||
|
}
|
||||||
|
|
||||||
var comment = "";
|
var comment = "";
|
||||||
|
|
||||||
UpdateStagiaireData(nom, prenom, email, status, montant, opco, modefinancement, employeur, comment);
|
UpdateStagiaireData(nom, prenom, email, status, montant, opco, modefinancement, employeur, comment);
|
||||||
|
@ -492,13 +508,29 @@ function GestionAdministrative(props) {
|
||||||
var motif_refus = document.getElementById("motif_refus").value;
|
var motif_refus = document.getElementById("motif_refus").value;
|
||||||
|
|
||||||
var montant = String(cellValues.row.amount);
|
var montant = String(cellValues.row.amount);
|
||||||
|
if (String(montant) === "undefined") {
|
||||||
|
montant = "0"
|
||||||
|
}
|
||||||
|
|
||||||
var nom = cellValues.row.nom;
|
var nom = cellValues.row.nom;
|
||||||
var email = cellValues.row.email;
|
var email = cellValues.row.email;
|
||||||
var prenom = cellValues.row.prenom;
|
var prenom = cellValues.row.prenom;
|
||||||
|
|
||||||
var opco = cellValues.row.opco;
|
var opco = cellValues.row.opco;
|
||||||
|
if (String(opco) === "undefined") {
|
||||||
|
opco = ""
|
||||||
|
}
|
||||||
|
|
||||||
var modefinancement = cellValues.row.modefinancement;
|
var modefinancement = cellValues.row.modefinancement;
|
||||||
|
if (String(modefinancement) === "undefined") {
|
||||||
|
modefinancement = ""
|
||||||
|
}
|
||||||
|
|
||||||
var status = "-1";
|
var status = "-1";
|
||||||
var employeur = cellValues.row.employeur;
|
var employeur = cellValues.row.employeur;
|
||||||
|
if (String(employeur) === "undefined") {
|
||||||
|
employeur = ""
|
||||||
|
}
|
||||||
|
|
||||||
UpdateStagiaireData(nom, prenom, email, status, montant, opco, modefinancement, employeur, motif_refus);
|
UpdateStagiaireData(nom, prenom, email, status, montant, opco, modefinancement, employeur, motif_refus);
|
||||||
}
|
}
|
||||||
|
@ -645,10 +677,12 @@ function GestionAdministrative(props) {
|
||||||
setUpdateStagiaireData_result(res.data.message);
|
setUpdateStagiaireData_result(res.data.message);
|
||||||
GetListePreinscrit(mysession);
|
GetListePreinscrit(mysession);
|
||||||
GetListeInscrit(mysession);
|
GetListeInscrit(mysession);
|
||||||
|
setretval_ch("1");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setUpdateStagiaireData_api("false");
|
setUpdateStagiaireData_api("false");
|
||||||
setUpdateStagiaireData_message(res.data.message);
|
setUpdateStagiaireData_message(res.data.message);
|
||||||
|
setretval_ch("-1");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -656,6 +690,7 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
console.warn('UpdateStagiaireData : Not good man :( mysearchtext = ' + error);
|
console.warn('UpdateStagiaireData : Not good man :( mysearchtext = ' + error);
|
||||||
setUpdateStagiaireData_api("false");
|
setUpdateStagiaireData_api("false");
|
||||||
|
setretval_ch("-1");
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -794,7 +829,7 @@ function GestionAdministrative(props) {
|
||||||
/* Envoi de l'envoi de l'email de confirmation de la validation de l'inscription */
|
/* Envoi de l'envoi de l'email de confirmation de la validation de l'inscription */
|
||||||
function handleClick_resend_conf_mail(event, cellValues) {
|
function handleClick_resend_conf_mail(event, cellValues) {
|
||||||
var email = cellValues.row.email;
|
var email = cellValues.row.email;
|
||||||
alert(" confirmation email = " + email);
|
//alert(" confirmation email = " + email);
|
||||||
SendInscriptionConfirmation(email);
|
SendInscriptionConfirmation(email);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1672,7 +1707,41 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
var nom_fiche_detaillee = "Fiche_Detaillee.pdf";
|
var nom_fiche_detaillee = "Fiche_Detaillee.pdf";
|
||||||
|
|
||||||
var url = process.env.REACT_APP_API_URL + "myclass/api/PrintAttendeeDetail_perSession/" + stored_cookie + "/" + mysession + "/" + selectedattendeeemail;
|
var url = process.env.REACT_APP_API_URL + "myclass/api/PrintAttendeeDetail_perSession/" + stored_cookie + "/" + mysession + "/" + selectedattendeeemail+ "/" + internal_url;
|
||||||
|
|
||||||
|
|
||||||
|
axios.get(url, { responseType: 'blob', },)
|
||||||
|
.then((res) => {
|
||||||
|
fileDownload(res.data, nom_fiche_detaillee)
|
||||||
|
}).catch((error) => {
|
||||||
|
console.error('Error:', error);
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function DownloadAttendeeDetail_one(addendeeEmail) {
|
||||||
|
|
||||||
|
|
||||||
|
var trainer = ""
|
||||||
|
if (document.getElementsByName("formateur")[0])
|
||||||
|
trainer = document.getElementsByName("formateur")[0].value;
|
||||||
|
|
||||||
|
if (trainer == "") {
|
||||||
|
alert(" Aucun formateur pour cette session ");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (addendeeEmail == "") {
|
||||||
|
alert(" Aucun utilisateur choisi ");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const stored_cookie = getCookie('tokenmysypart');
|
||||||
|
|
||||||
|
var nom_fiche_detaillee = "Fiche_Detaillee.pdf";
|
||||||
|
|
||||||
|
var url = process.env.REACT_APP_API_URL + "myclass/api/PrintAttendeeDetail_perSession/" + stored_cookie + "/" + mysession + "/" + addendeeEmail+ "/" + internal_url;
|
||||||
|
|
||||||
|
|
||||||
axios.get(url, { responseType: 'blob', },)
|
axios.get(url, { responseType: 'blob', },)
|
||||||
|
@ -2347,6 +2416,158 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const [actionmass_preinsc_val, setactionmass_preinsc_val] = useState();
|
||||||
|
const actionmass_preinsc = (event) => {
|
||||||
|
const value = event.target.value;
|
||||||
|
|
||||||
|
if (String(value) === "valider" || String(value) === "refuser") {
|
||||||
|
setactionmass_preinsc_val(value);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
setactionmass_preinsc_val();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function GetSelectedRows_PresInsc() {
|
||||||
|
|
||||||
|
var tab_tmp = []
|
||||||
|
for (var i = 0; i < selectionModel.length; i++) {
|
||||||
|
var myid = parseInt(String(selectionModel[i]));
|
||||||
|
var line = JSON.parse(rowss[myid]);
|
||||||
|
tab_tmp.push(line.email);
|
||||||
|
}
|
||||||
|
return tab_tmp;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function GetSelectedRows_PresInsc_Ids() {
|
||||||
|
|
||||||
|
var tab_tmp = []
|
||||||
|
for (var i = 0; i < selectionModel.length; i++) {
|
||||||
|
var myid = parseInt(String(selectionModel[i]));
|
||||||
|
//var line = JSON.parse(rowss[myid]);
|
||||||
|
tab_tmp.push(myid);
|
||||||
|
}
|
||||||
|
return tab_tmp;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
const [retval_ch, setretval_ch] = useState();
|
||||||
|
function actionmass_preinsc_Traitemet() {
|
||||||
|
|
||||||
|
var liste_formation = GetSelectedRows_PresInsc_Ids();
|
||||||
|
for (var i = 0; i < liste_formation.length; i++) {
|
||||||
|
var line = JSON.parse(rowss[i]);
|
||||||
|
|
||||||
|
var email = line.email;
|
||||||
|
var montant = String(line.price);
|
||||||
|
//console.log("line = ", line);
|
||||||
|
//console.log(" montant = ", montant);
|
||||||
|
var status;
|
||||||
|
var motif = "";
|
||||||
|
if (String(actionmass_preinsc_val) === "valider") {
|
||||||
|
status = "1";
|
||||||
|
|
||||||
|
if (String(montant) === "undefined" || String(montant).trim() === "") {
|
||||||
|
alert(" Verifier les montants. Ils sont incorrectes");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (parseFloat(montant).toFixed(2) <= 0) {
|
||||||
|
alert(" Verifier les montants. Ils sont incorrectes ");
|
||||||
|
return;
|
||||||
|
|
||||||
|
}
|
||||||
|
} else if (String(actionmass_preinsc_val) === "refuser") {
|
||||||
|
status = "-1";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
var nom = line.nom;
|
||||||
|
var prenom = line.prenom;
|
||||||
|
var opco = line.opco;
|
||||||
|
if (String(opco) === "undefined") {
|
||||||
|
opco = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
var modefinancement = line.modefinancement;
|
||||||
|
if (String(modefinancement) === "undefined") {
|
||||||
|
modefinancement = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var employeur = line.employeur;
|
||||||
|
if (String(employeur) === "undefined") {
|
||||||
|
employeur = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
if (String(actionmass_preinsc_val) === "valider") {
|
||||||
|
UpdateStagiaireData(nom, prenom, email, status, montant, opco, modefinancement, employeur);
|
||||||
|
}
|
||||||
|
else if (String(actionmass_preinsc_val) === "refuser") {
|
||||||
|
UpdateStagiaireData(nom, prenom, email, status, montant, opco, modefinancement, employeur, motif);
|
||||||
|
}
|
||||||
|
//console.log(" retval de ", email + " = retval_ch =", retval_ch);
|
||||||
|
|
||||||
|
}
|
||||||
|
setSelectionModel([]);
|
||||||
|
setactionmass_preinsc_val();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const [actionmass_insc_val, setactionmass_insc_val] = useState();
|
||||||
|
const actionmass_inscrit = (event) => {
|
||||||
|
const value = event.target.value;
|
||||||
|
|
||||||
|
|
||||||
|
if (String(value) === "confirmation" || String(value) === "impression") {
|
||||||
|
setactionmass_insc_val(value);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
setactionmass_insc_val();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function GetSelectedRows_Insc_Ids() {
|
||||||
|
|
||||||
|
var tab_tmp = []
|
||||||
|
for (var i = 0; i < selectionModel_insc.length; i++) {
|
||||||
|
var myid = parseInt(String(selectionModel_insc[i]));
|
||||||
|
//var line = JSON.parse(rowss[myid]);
|
||||||
|
tab_tmp.push(myid);
|
||||||
|
}
|
||||||
|
return tab_tmp;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function actionmass_insc_Traitemet() {
|
||||||
|
|
||||||
|
var liste_formation = GetSelectedRows_Insc_Ids();
|
||||||
|
for (var i = 0; i < liste_formation.length; i++) {
|
||||||
|
|
||||||
|
var line = JSON.parse(rowss_insc[i]);
|
||||||
|
console.log(" line = ", line);
|
||||||
|
var email = line.email;
|
||||||
|
console.log(" Traitement de email = ", email);
|
||||||
|
if (String(actionmass_insc_val) === "confirmation") {
|
||||||
|
|
||||||
|
SendInscriptionConfirmation(email);
|
||||||
|
} else if (String(actionmass_insc_val) === "impression") {
|
||||||
|
|
||||||
|
console.log(" impress mail = ", email);
|
||||||
|
DownloadAttendeeDetail_one(email);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
setSelectionModel_insc([]);
|
||||||
|
setactionmass_insc_val();
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='gestionadministrative'>
|
<div className='gestionadministrative'>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
|
@ -2899,21 +3120,73 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
{selectionModel && selectionModel.length >= 1 && <div style={{ "width": "50%", "float": "left" }}>
|
|
||||||
<nav className='traitement_mass'>Traitement en masse</nav>
|
|
||||||
<select
|
|
||||||
id={"actionmass_preinsc"} name={"actionmass_preinsc"}
|
|
||||||
onChange={"actionmass_preinsc"}
|
|
||||||
className="action_mass">
|
|
||||||
<option selected value="n/a">Action</option>
|
|
||||||
<option value="valider">Valider</option>
|
|
||||||
<option value="refuser">Refuser</option>
|
|
||||||
|
|
||||||
</select>
|
|
||||||
<br/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
}
|
{selectionModel && selectionModel.length >= 1 &&
|
||||||
|
<div className="div_row" style={{ "border": "none" }}>
|
||||||
|
<div style={{ "width": "50%", "float": "left" }}>
|
||||||
|
<nav className='traitement_mass'>Traitement en masse</nav>
|
||||||
|
<select
|
||||||
|
id={"actionmass_preinsc"} name={"actionmass_preinsc"}
|
||||||
|
onChange={actionmass_preinsc}
|
||||||
|
className="action_mass">
|
||||||
|
<option selected value="n/a">Choisir une action</option>
|
||||||
|
<option value="valider">Valider</option>
|
||||||
|
<option value="refuser">Refuser</option>
|
||||||
|
|
||||||
|
</select>
|
||||||
|
{actionmass_preinsc_val &&
|
||||||
|
<Popup
|
||||||
|
trigger={<Button className="bton_traiter_en_mass" >
|
||||||
|
<FcAcceptDatabase /> Traiter
|
||||||
|
|
||||||
|
</Button>}
|
||||||
|
modal
|
||||||
|
nested
|
||||||
|
position="center center"
|
||||||
|
>
|
||||||
|
|
||||||
|
{close => (
|
||||||
|
<div>
|
||||||
|
<button className="gest_close" onClick={close}>
|
||||||
|
×
|
||||||
|
</button>
|
||||||
|
<div className="gest_header"> MySy Information </div>
|
||||||
|
<div className="gest_content">
|
||||||
|
{' '}
|
||||||
|
|
||||||
|
Confirmer l'action <b> {actionmass_preinsc_val} </b> en masse.
|
||||||
|
</div>
|
||||||
|
<div className="gest_actions">
|
||||||
|
<div style={{ "width": "45%", "float": "left" }}>
|
||||||
|
<button className="gest_bton_popup" onClick={(event) => {
|
||||||
|
actionmass_preinsc_Traitemet();
|
||||||
|
close();
|
||||||
|
}}> Valider </button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div style={{ "width": "45%", "float": "right" }}>
|
||||||
|
<button
|
||||||
|
className="gest_bton_popup"
|
||||||
|
onClick={() => {
|
||||||
|
//console.log('modal closed ');
|
||||||
|
close();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Annuler
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</Popup>
|
||||||
|
}
|
||||||
|
<br />
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>}
|
||||||
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
{/* <Button variant="contained" onClick={GetAllClass_new}>Contained</Button>*/}
|
{/* <Button variant="contained" onClick={GetAllClass_new}>Contained</Button>*/}
|
||||||
|
@ -2961,18 +3234,69 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
{selectionModel_insc && selectionModel_insc.length >= 1 && <div style={{ "width": "50%", "float": "left" }}>
|
{selectionModel_insc && selectionModel_insc.length >= 1 &&
|
||||||
<nav className='traitement_mass'>Traitement en masse</nav>
|
<div style={{ "width": "50%", "float": "left" }}>
|
||||||
<select
|
<nav className='traitement_mass'>Traitement en masse / Inscrit</nav>
|
||||||
id={"actionmass"} name={"actionmass"}
|
<select
|
||||||
onChange={"ActionMass"}
|
id={"actionmassinscr"} name={"actionmassinscr"}
|
||||||
className="action_mass">
|
onChange={actionmass_inscrit}
|
||||||
<option selected value="n/a">Action</option>
|
className="action_mass">
|
||||||
<option value="publier">Publier</option>
|
<option selected value="n/a">Choisir une action</option>
|
||||||
<option value="depublier">Depublier</option>
|
<option value="confirmation">Renvoyer une confirmation</option>
|
||||||
<option value="supprimer">Supprimer</option>
|
<option value="impression">Imprimer fiches</option>
|
||||||
</select>
|
|
||||||
</div>
|
</select>
|
||||||
|
|
||||||
|
{actionmass_insc_val &&
|
||||||
|
<Popup
|
||||||
|
trigger={<Button className="bton_traiter_en_mass" >
|
||||||
|
<FcAcceptDatabase /> Traiter
|
||||||
|
|
||||||
|
</Button>}
|
||||||
|
modal
|
||||||
|
nested
|
||||||
|
position="center center"
|
||||||
|
>
|
||||||
|
|
||||||
|
{close => (
|
||||||
|
<div>
|
||||||
|
<button className="gest_close" onClick={close}>
|
||||||
|
×
|
||||||
|
</button>
|
||||||
|
<div className="gest_header"> MySy Information </div>
|
||||||
|
<div className="gest_content">
|
||||||
|
{' '}
|
||||||
|
|
||||||
|
Confirmer l'action <b> {actionmass_insc_val} </b> en masse.
|
||||||
|
</div>
|
||||||
|
<div className="gest_actions">
|
||||||
|
<div style={{ "width": "45%", "float": "left" }}>
|
||||||
|
<button className="gest_bton_popup" onClick={(event) => {
|
||||||
|
actionmass_insc_Traitemet();
|
||||||
|
close();
|
||||||
|
}}> Valider </button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div style={{ "width": "45%", "float": "right" }}>
|
||||||
|
<button
|
||||||
|
className="gest_bton_popup"
|
||||||
|
onClick={() => {
|
||||||
|
//console.log('modal closed ');
|
||||||
|
close();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Annuler
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</Popup>
|
||||||
|
}
|
||||||
|
<br />
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -436,28 +436,35 @@ function SignIn() {
|
||||||
<div className="div_centre_002">
|
<div className="div_centre_002">
|
||||||
<Button variant="outlined" onClick={menu_user_account} className="signin_menu"
|
<Button variant="outlined" onClick={menu_user_account} className="signin_menu"
|
||||||
id="user_account" name="user_account"
|
id="user_account" name="user_account"
|
||||||
style={{ "float": "left", "textAlign": "center" }}>Utilisateur</Button>
|
style={{ "float": "left", "textAlign": "center", "height":"3rem" }}>Utilisateur</Button>
|
||||||
|
|
||||||
<Button variant="outlined" onClick={menu_parter_account} className="signin_menu"
|
<Button variant="outlined" onClick={menu_parter_account} className="signin_menu"
|
||||||
id="partner_account" name="partner_account"
|
id="partner_account" name="partner_account"
|
||||||
style={{ "float": "right", "textAlign": "center" }}>Organisme de formation</Button>
|
style={{ "float": "right", "textAlign": "center", "height":"3rem" }}>Organisme de formation</Button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="div_centre">
|
<div className="div_centre">
|
||||||
|
|
||||||
<div className="div_row_bis">
|
<div className="div_row_bis" >
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<Label>Email</Label>
|
<Label>Votre adresse email</Label>
|
||||||
<Input type="email" placeholder="Email" name="email" />
|
<Input type="email" placeholder="Email" name="email" />
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<Label>Password</Label>
|
|
||||||
|
</FormGroup>
|
||||||
|
|
||||||
|
|
||||||
|
<FormGroup>
|
||||||
|
<Label>Votre mot de passe</Label>
|
||||||
<Input type="password" placeholder="Password" name="pwd" />
|
<Input type="password" placeholder="Password" name="pwd" />
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{/*String(menucompte) === String("partner") && <FormGroup autocomplete="off">
|
{/*String(menucompte) === String("partner") && <FormGroup autocomplete="off">
|
||||||
<Label >Clé secrete*</Label>
|
<Label >Clé secrete*</Label>
|
||||||
<Input type="password" placeholder="" name="cle_secrete" id="cle_secrete"
|
<Input type="password" placeholder="" name="cle_secrete" id="cle_secrete"
|
||||||
|
@ -532,6 +539,9 @@ function SignIn() {
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<FormGroup>
|
||||||
|
|
||||||
|
</FormGroup>
|
||||||
|
|
||||||
<div className="div_row22">
|
<div className="div_row22">
|
||||||
<Button variant="contained" color="success" className="div_row22 btn_login button" onClick={onSubmit}>Connectez-Vous</Button>
|
<Button variant="contained" color="success" className="div_row22 btn_login button" onClick={onSubmit}>Connectez-Vous</Button>
|
||||||
|
|
|
@ -886,7 +886,7 @@ Cette fonction recuperer les stats des TOP 5 formations sur la periode saisie pa
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<Popup
|
<Popup
|
||||||
trigger={<button className="button"> Open Modal 2</button>}
|
trigger={<button className="button"> Open Modal 2 1</button>}
|
||||||
modal
|
modal
|
||||||
nested
|
nested
|
||||||
position="center center"
|
position="center center"
|
||||||
|
|
|
@ -869,26 +869,14 @@
|
||||||
margin-left: 10rem;
|
margin-left: 10rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action_mass {
|
|
||||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
|
||||||
font-weight: 500;
|
|
||||||
text-align: left;
|
|
||||||
font-size: small;
|
|
||||||
line-height: 1.75;
|
|
||||||
letter-spacing: 0.02857em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
min-width: 64px;
|
|
||||||
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
||||||
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
||||||
border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
||||||
color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
||||||
color: #fff;
|
|
||||||
background-color: #81bc3a;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
width: 10rem;
|
|
||||||
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
|
|
||||||
0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
||||||
|
|
||||||
|
.action_mass {
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: small;
|
||||||
|
padding: 0.3rem;
|
||||||
|
width: 40%;
|
||||||
|
background: #81BC3A;
|
||||||
|
height: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -933,6 +921,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.bton_traiter_en_mass {
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: small;
|
||||||
|
padding: 0.3rem;
|
||||||
|
width: 40%;
|
||||||
|
background: #81BC3A;
|
||||||
|
margin-left: 5%;
|
||||||
|
height: 2.5rem;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.bton_fermer {
|
.bton_fermer {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
.signin-content {
|
.signin-content {
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
width: 16rem !important;
|
width: 16rem !important;
|
||||||
|
|
||||||
.popup-reset-pwd-content {
|
.popup-reset-pwd-content {
|
||||||
top: 10% !important;
|
top: 10% !important;
|
||||||
left: 10% !important;
|
left: 10% !important;
|
||||||
|
@ -32,10 +33,11 @@
|
||||||
color: #3b3e40;
|
color: #3b3e40;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-sm{
|
.btn-sm {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
.zone_mail{
|
|
||||||
|
.zone_mail {
|
||||||
width: 15rem;
|
width: 15rem;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
|
@ -46,6 +48,7 @@
|
||||||
|
|
||||||
@media only screen and (min-width: 601px) and (max-width: 991px) {
|
@media only screen and (min-width: 601px) and (max-width: 991px) {
|
||||||
width: 20rem !important;
|
width: 20rem !important;
|
||||||
|
|
||||||
.popup-reset-pwd-content {
|
.popup-reset-pwd-content {
|
||||||
top: 30% !important;
|
top: 30% !important;
|
||||||
left: 40% !important;
|
left: 40% !important;
|
||||||
|
@ -76,10 +79,11 @@
|
||||||
color: #3b3e40;
|
color: #3b3e40;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-sm{
|
.btn-sm {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
.zone_mail{
|
|
||||||
|
.zone_mail {
|
||||||
width: 15rem;
|
width: 15rem;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
|
@ -121,10 +125,11 @@
|
||||||
color: #3b3e40;
|
color: #3b3e40;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-sm{
|
.btn-sm {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
.zone_mail{
|
|
||||||
|
.zone_mail {
|
||||||
width: 15rem;
|
width: 15rem;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
|
@ -167,10 +172,11 @@
|
||||||
color: #3b3e40;
|
color: #3b3e40;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-sm{
|
.btn-sm {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
.zone_mail{
|
|
||||||
|
.zone_mail {
|
||||||
width: 15rem;
|
width: 15rem;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
|
@ -234,7 +240,8 @@
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: large; /*or whatever you want*/
|
font-size: large;
|
||||||
|
/*or whatever you want*/
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -286,6 +293,7 @@
|
||||||
.btn_login {
|
.btn_login {
|
||||||
width: 10rem;
|
width: 10rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
@ -303,6 +311,7 @@
|
||||||
font-size: small !important;
|
font-size: small !important;
|
||||||
margin: 0.2rem !important;
|
margin: 0.2rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_centre_social {
|
.div_centre_social {
|
||||||
float: center;
|
float: center;
|
||||||
border-width: 0.01rem;
|
border-width: 0.01rem;
|
||||||
|
@ -516,6 +525,7 @@
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
/* Lowering the shadow */
|
/* Lowering the shadow */
|
||||||
}
|
}
|
||||||
|
|
||||||
.signin_menu:focus {
|
.signin_menu:focus {
|
||||||
//border: 3px dotted green;
|
//border: 3px dotted green;
|
||||||
background-color: #e7f3fb;
|
background-color: #e7f3fb;
|
||||||
|
@ -904,11 +914,13 @@
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
|
|
||||||
@media only screen and (min-height: 1000px) { /* Ipaid */
|
@media only screen and (min-height: 1000px) {
|
||||||
|
/* Ipaid */
|
||||||
margin-top: 20rem;
|
margin-top: 20rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-height: 1101px) { /* Ipad Air */
|
@media only screen and (min-height: 1101px) {
|
||||||
|
/* Ipad Air */
|
||||||
margin-top: 25rem;
|
margin-top: 25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1066,6 +1078,7 @@
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
/* Lowering the shadow */
|
/* Lowering the shadow */
|
||||||
}
|
}
|
||||||
|
|
||||||
.signin_menu:focus {
|
.signin_menu:focus {
|
||||||
//border: 3px dotted green;
|
//border: 3px dotted green;
|
||||||
background-color: #e7f3fb;
|
background-color: #e7f3fb;
|
||||||
|
@ -1172,6 +1185,7 @@
|
||||||
max-width: 20%;
|
max-width: 20%;
|
||||||
max-height: 3rem;
|
max-height: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.erreurconnexion {
|
.erreurconnexion {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
color: red;
|
color: red;
|
||||||
|
@ -1598,6 +1612,7 @@
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
/* Lowering the shadow */
|
/* Lowering the shadow */
|
||||||
}
|
}
|
||||||
|
|
||||||
.signin_menu:focus {
|
.signin_menu:focus {
|
||||||
//border: 3px dotted green;
|
//border: 3px dotted green;
|
||||||
background-color: #e7f3fb;
|
background-color: #e7f3fb;
|
||||||
|
@ -1705,13 +1720,13 @@
|
||||||
color: red;
|
color: red;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2rem;
|
height: 3rem;
|
||||||
|
border-radius: 5rem;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border: auto;
|
border: auto;
|
||||||
border-radius: 0.5rem;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1836,6 +1851,8 @@
|
||||||
|
|
||||||
.btn_login {
|
.btn_login {
|
||||||
width: 10rem;
|
width: 10rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
border-radius: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_row_gauche {
|
.div_row_gauche {
|
||||||
|
@ -1933,6 +1950,12 @@
|
||||||
font-size: xx-small;
|
font-size: xx-small;
|
||||||
margin-left: auto !important;
|
margin-left: auto !important;
|
||||||
margin-right: 0px !important;
|
margin-right: 0px !important;
|
||||||
|
height: 1.5rem;
|
||||||
|
width: 30%;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
background: no-repeat;
|
||||||
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_row2 {
|
.div_row2 {
|
||||||
|
@ -2142,6 +2165,7 @@
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
/* Lowering the shadow */
|
/* Lowering the shadow */
|
||||||
}
|
}
|
||||||
|
|
||||||
.signin_menu:focus {
|
.signin_menu:focus {
|
||||||
//border: 3px dotted green;
|
//border: 3px dotted green;
|
||||||
background-color: #e7f3fb;
|
background-color: #e7f3fb;
|
||||||
|
@ -2210,5 +2234,14 @@
|
||||||
margin: 0.4rem !important;
|
margin: 0.4rem !important;
|
||||||
height: 1.8rem !important;
|
height: 1.8rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.div_row_bis {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// end media
|
||||||
}
|
}
|
|
@ -1306,7 +1306,7 @@
|
||||||
|
|
||||||
input {
|
input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1.9rem;
|
height: 2.5rem;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border: auto;
|
border: auto;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
|
@ -1679,11 +1679,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.texte_area_passwd {
|
.texte_area_passwd {
|
||||||
width: 95% !important;
|
font-size: small !important;
|
||||||
font-size: x-small !important;
|
|
||||||
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
||||||
margin: 0.4rem !important;
|
margin: 0.4rem !important;
|
||||||
height: 1.8rem !important;
|
height: 1.8rem !important;
|
||||||
|
margin-bottom: 2rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.css-1ptx2yq-MuiInputBase-root-MuiInput-root {
|
.css-1ptx2yq-MuiInputBase-root-MuiInput-root {
|
||||||
|
@ -1707,5 +1707,15 @@
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.css-1yq5fb3-MuiButtonBase-root-MuiIconButton-root{
|
||||||
|
margin-right: 1rem !important;
|
||||||
|
padding: 0px !important;
|
||||||
|
|
||||||
|
}
|
||||||
|
.MuiInputBase-inputAdornedEnd{
|
||||||
|
height: 2.5rem !important;
|
||||||
|
max-height: 2.5rem !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue