diff --git a/src/components/GestionAdministrative.js b/src/components/GestionAdministrative.js
index 4dde7e0..11f7efc 100644
--- a/src/components/GestionAdministrative.js
+++ b/src/components/GestionAdministrative.js
@@ -1209,6 +1209,21 @@ function GestionAdministrative(props) {
let [fields1desabled, setfields1desabled] = useState(true);
+
+ function desableAttendeeDetailFields() {
+ document.getElementsByName("date_evaluation")[0].disabled = true;
+ document.getElementsByName("date_evaluation")[0].style.backgroundColor = "#ECEFF1";
+
+
+ document.getElementsByName("detail_incr_date")[0].disabled = true;
+ document.getElementsByName("detail_incr_date")[0].style.backgroundColor = "#ECEFF1";
+
+
+ document.getElementsByName("certif_date")[0].disabled = true;
+ document.getElementsByName("certif_date")[0].style.backgroundColor = "#ECEFF1";
+ }
+
+
function desableSessionFields() {
document.getElementsByName("sessiondatedebut")[0].disabled = true;
@@ -1625,6 +1640,7 @@ function GestionAdministrative(props) {
setselectedattendeeemail(email);
var prenom = cellValues.row.prenom;
GetAttendee_Data(email, mysession);
+
}
@@ -1694,7 +1710,6 @@ function GestionAdministrative(props) {
}
-
document.getElementsByName("detail_cout")[0].value = "";
if (mylocalattendee.price) {
document.getElementsByName("detail_cout")[0].value = mylocalattendee.price;
@@ -1721,7 +1736,7 @@ function GestionAdministrative(props) {
document.getElementsByName("date_evaluation")[0].value = "";
if (mylocalattendee.certification_send_date) {
- alert(" certification_send_date = ", mylocalattendee.certification_send_date);
+ //alert(" certification_send_date = ", mylocalattendee.certification_send_date);
var date_eval = new Date(moment(mylocalattendee.certification_send_date, "DD/MM/YYYY"));
setdetailuser_date_certification(date_eval);
@@ -1740,7 +1755,7 @@ function GestionAdministrative(props) {
}
-
+ desableAttendeeDetailFields();
}
else {
@@ -1920,6 +1935,8 @@ function GestionAdministrative(props) {
}
+
+
return (
@@ -2801,6 +2818,7 @@ function GestionAdministrative(props) {
className="disabled_style"
locale='fr-FR'
+
/>
diff --git a/src/styles/components/_gestionadministrative.scss b/src/styles/components/_gestionadministrative.scss
index 37c36d3..41efdbb 100644
--- a/src/styles/components/_gestionadministrative.scss
+++ b/src/styles/components/_gestionadministrative.scss
@@ -25,7 +25,7 @@
float: left;
// border:1px solid black;
// border-width:0.01rem;
- width: 35%;
+ width: 50%;
border-radius: 1rem;
text-align: left;
}
@@ -34,7 +34,7 @@
float: right;
//border:1px solid black;
//border-width:0.01rem;
- width: 65%;
+ width: 50%;
border-radius: 1rem;
text-align: right;
}
@@ -168,6 +168,7 @@
padding: 5px;
float: left;
text-align: left;
+ font-size: small;
}
.session_style {
@@ -209,6 +210,15 @@
.css-qiwgdb {
padding: 6px !important;
}
+
+ .preview_certif{
+ display: block;
+ width: 128px;
+ height: 128px;
+ border-radius: 1rem !important;
+ margin-top: 1rem !important;
+ }
+
}
@media only screen and (min-width: 601px) and (max-width: 991px) {
@@ -381,6 +391,7 @@
padding: 5px;
float: left;
text-align: left;
+ font-size: small;
}
.session_style {
@@ -421,6 +432,14 @@
.css-qiwgdb {
padding: 6px !important;
}
+
+ .preview_certif{
+ display: block;
+ width: 128px;
+ height: 128px;
+ border-radius: 1rem !important;
+ margin-top: 1rem !important;
+ }
}
@@ -594,6 +613,7 @@
padding: 5px;
float: left;
text-align: left;
+ font-size: small;
}
.session_style {
@@ -636,6 +656,15 @@
padding: 6px !important;
}
+ .preview_certif{
+ display: block;
+ width: 128px;
+ height: 128px;
+ border-radius: 1rem !important;
+ margin-top: 1rem !important;
+ }
+
+
}
@media only screen and (min-width: 1200px) {
@@ -808,6 +837,7 @@
padding: 5px;
float: left;
text-align: left;
+ font-size: small;
}
.session_style {
@@ -837,6 +867,7 @@
.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input {
padding-top: 5px !important;
padding-bottom: 5px !important;
+ font-size: small;
}
.css-1t10bd6-MuiFormControl-root-MuiTextField-root fieldset {
@@ -883,4 +914,9 @@
padding: 6px !important;
}
+}
+
+
+.tox-statusbar{
+ display: none !important;
}
\ No newline at end of file