10/04/23 - 17h

recette2
cherif 2023-04-10 16:56:34 +02:00
parent d6bdc50174
commit cfa080f945
2 changed files with 25 additions and 6 deletions

View File

@ -2702,6 +2702,7 @@ function GestionAdministrative(props) {
var prenom = cellValues.row.prenom; var prenom = cellValues.row.prenom;
GetAttendee_Data(email, mysession); GetAttendee_Data(email, mysession);
} }
@ -2827,6 +2828,16 @@ function GestionAdministrative(props) {
} }
desableAttendeeDetailFields(); desableAttendeeDetailFields();
var myelement;
if (document.getElementById('ajout_participant')) {
myelement = document.getElementById('ajout_participant');
}
if (myelement) {
myelement.scrollIntoView({ behavior: 'smooth' });
}
} }
else { else {
@ -3406,6 +3417,14 @@ function GestionAdministrative(props) {
return; return;
} }
var validRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
if (!one_email_part.match(validRegex)) {
alert("L'adresse email est invalide.");
return;
}
var one_phone_part = "" var one_phone_part = ""
if (document.getElementById("one_phone_part") && document.getElementById("one_phone_part").value != "") { if (document.getElementById("one_phone_part") && document.getElementById("one_phone_part").value != "") {
one_phone_part = document.getElementById("one_phone_part").value; one_phone_part = document.getElementById("one_phone_part").value;
@ -3618,7 +3637,7 @@ function GestionAdministrative(props) {
</div> </div>
<div className="session_caract"> <div className="session_caract">
Date Debut Date Debut *
<DatePicker <DatePicker
name="one_sessiondatedebut" name="one_sessiondatedebut"
id="one_sessiondatedebut" id="one_sessiondatedebut"
@ -3638,7 +3657,7 @@ function GestionAdministrative(props) {
</div> </div>
<div className="session_caract"> Date Fin <div className="session_caract"> Date Fin *
<DatePicker <DatePicker
name="one_sessiondatefin" name="one_sessiondatefin"
id="one_sessiondatefin" id="one_sessiondatefin"

View File

@ -237,7 +237,7 @@
.bton_import_excel { .bton_import_excel {
background: #c8cfd5; background: #c8cfd5;
color: black; color: black;
width: 100%; width: 100% !important;
} }
.div_row_gauche_etendu{ .div_row_gauche_etendu{
@ -486,13 +486,13 @@
.bton_add_session { .bton_add_session {
background: #c8cfd5; background: #c8cfd5;
color: black; color: black;
width: 45%; width: 30%;
} }
.bton_import_excel { .bton_import_excel {
background: #c8cfd5; background: #c8cfd5;
color: black; color: black;
width: 45%; width: 65% !important;
} }
.div_row_gauche_etendu{ .div_row_gauche_etendu{
@ -747,7 +747,7 @@
.bton_import_excel { .bton_import_excel {
background: #c8cfd5; background: #c8cfd5;
color: black; color: black;
width: 50%; width: 50% !important;
} }
.div_row_gauche_etendu{ .div_row_gauche_etendu{