diff --git a/src/components/HebergementLms.js b/src/components/HebergementLms.js index c32ca51..9c83759 100644 --- a/src/components/HebergementLms.js +++ b/src/components/HebergementLms.js @@ -221,7 +221,7 @@ function HebergementLms(props) { setimg_logo_file2(event.target.files[0]); } else { - sethandleSubmission_logo_message(" La taille de l'image est incorrecte. Larg = "+String(img_width)+" px Long = "+String(img_height)+" px"); + sethandleSubmission_logo_message(" La taille de l'image est incorrecte. Larg = " + String(img_width) + " px Long = " + String(img_height) + " px"); sethandleSubmission_logo_api("false"); setLoading(false); return; @@ -332,7 +332,7 @@ function HebergementLms(props) { console.log(" img_width = ", img_width); _URL.revokeObjectURL(objectUrl); if (parseFloat(img_width) > 1500 && parseFloat(img_width) < 1950 && - parseFloat(img_height) > 180 && parseFloat(img_height) < 200) { + parseFloat(img_height) > 170 && parseFloat(img_height) < 200) { //console.log(" img_height est = ", img_height, " < à 1500 "); @@ -342,7 +342,7 @@ function HebergementLms(props) { } else { - sethandleSubmission_bg_message(" La taille de l'image est incorrecte. Larg = "+String(img_width)+" px Long = "+String(img_height)+" px"); + sethandleSubmission_bg_message(" La taille de l'image est incorrecte. Larg = " + String(img_width) + " px Long = " + String(img_height) + " px"); sethandleSubmission_bg_api("false"); setLoading(false); return; @@ -436,6 +436,25 @@ function HebergementLms(props) { } + function Annule_bg_img() { + clear_message(); + setimg_bg_file(); + setimg_bg_file2(); + sethandleSubmission_bg_message(); + setSendBackground_Img_api(); + setSendBackground_Img_message(); + setbg_file_name(); + } + + function Annule_logo_img() { + clear_message(); + setimg_logo_file(); + setimg_logo_file2(); + sethandleSubmission_logo_message(); + setSend_logo_Img_api(); + setSend_logo_Img_message(); + setlogo_file_name(); + } return (
@@ -450,13 +469,13 @@ function HebergementLms(props) {
} - +
+ - - +
{String(submenu) === String("design") &&
@@ -521,9 +540,9 @@ function HebergementLms(props) { "minWidth": "15rem", "color": "black", "width": "auto" }} id='menu_import_formation' name='menu_import_formation'>Choisir une image  
- +
- + {logo_file_name && } La mise à jour a été correctement faite
} {String(Send_logo_Img_api) === "false" &&
{Send_logo_Img_message}
} - {String(handleSubmission_logo_api) === "false" &&
{handleSubmission_logo_message}
} + {String(handleSubmission_logo_api) === "false" &&
{handleSubmission_logo_message}
} @@ -556,7 +575,7 @@ function HebergementLms(props) { {
-
@@ -586,10 +605,10 @@ function HebergementLms(props) { "minWidth": "15rem", "color": "black", "width": "auto" }} id='menu_import_formation' name='menu_import_formation'>Choisir une image bannière  
- +
- - + + {bg_file_name && }
-
diff --git a/src/components/Partner.js b/src/components/Partner.js index 5468f9e..d01af95 100644 --- a/src/components/Partner.js +++ b/src/components/Partner.js @@ -664,8 +664,9 @@ const Partner = (props) => {
- {String(deplie_hebergement) !== "1" &&
- Espace Hébergement + {String(deplie_hebergement) !== "1" && +
+
{String(has_partner_lms_url) === "1" &&
{ diff --git a/src/styles/components/_abonnement.scss b/src/styles/components/_abonnement.scss index 5e59521..2bfc2fd 100644 --- a/src/styles/components/_abonnement.scss +++ b/src/styles/components/_abonnement.scss @@ -84,6 +84,7 @@ background-color: "#ECEFF1"; background: "#ECEFF1"; color: black; + margin: 0.5rem !important; } .texte_area_adress { @@ -96,6 +97,7 @@ background-color: "#ECEFF1"; background: "#ECEFF1"; color: black; + margin: 0.5rem !important; } .titre1 { @@ -131,8 +133,7 @@ float: right; //border:0px solid black; border-width: 0.01rem; - width: 95%; - padding-left: 2%; + width: 100%; border-radius: 0px; } @@ -290,7 +291,7 @@ } .texte_area { - width: 47% !important; + width: 95% !important; font-size: x-small !important; font-family: "verdana", "Quicksand", "Signika", sans-serif; margin: 0rem !important; @@ -299,6 +300,7 @@ background-color: "#ECEFF1"; background: "#ECEFF1"; color: black; + margin: 0.5rem !important; } .texte_area_adress { @@ -311,6 +313,7 @@ background-color: "#ECEFF1"; background: "#ECEFF1"; color: black; + margin: 0.5rem !important; } .titre1 { @@ -506,7 +509,7 @@ } .texte_area { - width: 47% !important; + width: 95% !important; font-size: x-small !important; font-family: "verdana", "Quicksand", "Signika", sans-serif; margin: 0rem !important; @@ -515,6 +518,7 @@ background-color: "#ECEFF1"; background: "#ECEFF1"; color: black; + margin: 0.5rem !important; } .texte_area_adress { @@ -527,6 +531,7 @@ background-color: "#ECEFF1"; background: "#ECEFF1"; color: black; + margin: 0.5rem !important; } .titre1 { @@ -725,7 +730,7 @@ .texte_area { width: 47% !important; - font-size: x-small !important; + font-size: small !important; font-family: "verdana", "Quicksand", "Signika", sans-serif; margin: 0rem !important; margin-right: 0.4rem !important; @@ -733,11 +738,12 @@ background-color: "#ECEFF1"; background: "#ECEFF1"; color: black; + margin: 0.5rem !important; } .texte_area_adress { - width: 95% !important; - font-size: x-small !important; + width: 96.5% !important; + font-size: small !important; font-family: "verdana", "Quicksand", "Signika", sans-serif; margin: 0rem !important; margin-right: 0.4rem !important; @@ -745,6 +751,7 @@ background-color: "#ECEFF1"; background: "#ECEFF1"; color: black; + margin: 0.5rem !important; } .titre1 { @@ -900,8 +907,17 @@ .Mui-disabled { color: 212121 !important; + font-size: small !important; + margin: 0px; } - .css-1o9s3wi-MuiInputBase-input-MuiOutlinedInput-input{ + + .css-1sumxir-MuiFormLabel-root-MuiInputLabel-root.Mui-disabled{ + color: 212121 !important; + font-size: medium !important; + margin: 0px !important; + } + + .css-1o9s3wi-MuiInputBase-input-MuiOutlinedInput-input { color: #212121 !important; } } \ No newline at end of file