recette2
cherif 2025-01-19 13:18:03 +01:00
parent c0fce1d5ed
commit 90df0135b4
5 changed files with 1189 additions and 81 deletions

View File

@ -2770,11 +2770,22 @@ const Mon_Catalogue_Public = (props) => {
if (JSON.parse(x).catalog_pub_indicateur_4_taille) if (JSON.parse(x).catalog_pub_indicateur_4_taille)
catalog_pub_indicateur_4_taille = JSON.parse(x).catalog_pub_indicateur_4_taille; catalog_pub_indicateur_4_taille = JSON.parse(x).catalog_pub_indicateur_4_taille;
// Les contacts publics
var catalog_pub_contact_public_email = ""
if (JSON.parse(x).catalog_pub_contact_public_email)
catalog_pub_contact_public_email = JSON.parse(x).catalog_pub_contact_public_email;
var catalog_pub_contact_public_telephone = ""
if (JSON.parse(x).catalog_pub_contact_public_telephone)
catalog_pub_contact_public_telephone = JSON.parse(x).catalog_pub_contact_public_telephone;
var catalog_pub_theme_id = JSON.parse(x).catalog_pub_theme_id; var catalog_pub_theme_id = JSON.parse(x).catalog_pub_theme_id;
setmy_theme_code(theme_code); setmy_theme_code(theme_code);
console.log(" ### setmy_theme_code = ", theme_code);
//--- //---
var node = { var node = {
@ -2827,6 +2838,9 @@ const Mon_Catalogue_Public = (props) => {
"catalog_pub_indicateur_4_gras": catalog_pub_indicateur_4_gras, "catalog_pub_indicateur_4_gras": catalog_pub_indicateur_4_gras,
"catalog_pub_indicateur_4_taille": catalog_pub_indicateur_4_taille, "catalog_pub_indicateur_4_taille": catalog_pub_indicateur_4_taille,
// les contacts publics
"catalog_pub_contact_public_email": catalog_pub_contact_public_email,
"catalog_pub_contact_public_telephone": catalog_pub_contact_public_telephone,
"catalog_pub_theme_id": catalog_pub_theme_id, "catalog_pub_theme_id": catalog_pub_theme_id,
"theme_code": theme_code, "theme_code": theme_code,
@ -2897,8 +2911,6 @@ const Mon_Catalogue_Public = (props) => {
&& String(my_theme_code) === "MySy_Theme2" && <div> && String(my_theme_code) === "MySy_Theme2" && <div>
<div className="reherche_new_v4" > <div className="reherche_new_v4" >
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 {New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img && <div > && New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img && <div >
<img src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img} className="Partner_Catalog_Background_Header" ></img> <img src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img} className="Partner_Catalog_Background_Header" ></img>
@ -2920,25 +2932,12 @@ const Mon_Catalogue_Public = (props) => {
<img className="Logo_MySy" src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_logo} alt={New_Get_Subdomain_Partner_Data_result[0].nom} /> <img className="Logo_MySy" src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_logo} alt={New_Get_Subdomain_Partner_Data_result[0].nom} />
</div>} </div>}
{/*!New_Get_Subdomain_Partner_Data_result || New_Get_Subdomain_Partner_Data_result.length <= 0
|| !New_Get_Subdomain_Partner_Data_result[0].catalog_pub_logo &&
<div className="logo">
<img className="Logo_MySy" src={mysy_logo2} alt="MySy Training Technology" />
<nav className="training">TRAINING</nav>
</div>*/}
</a> </a>
<div className="Menu_Header"> <div className="Menu_Header">
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 Tél : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_telephone} <br />
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_txt && Email : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_email}
<font style={{
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_txt} </font>}
</div> </div>
@ -3723,10 +3722,10 @@ const Mon_Catalogue_Public = (props) => {
</div>} </div>}
{/******* FIN Gestion du THEME "MySy_Theme2" */} {/******* FIN Gestion du THEME "MySy_Theme2" */}
{/******* Gestion du THEME PAR DEFAULT " */} {/******* Gestion du THEME PAR DEFAULT " */}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 {New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& String(my_theme_code) !== "MySy_Theme2" && <div> && String(my_theme_code) !== "MySy_Theme2" && <div>
@ -3753,25 +3752,13 @@ const Mon_Catalogue_Public = (props) => {
</div>} </div>}
{/*!New_Get_Subdomain_Partner_Data_result || New_Get_Subdomain_Partner_Data_result.length <= 0
|| !New_Get_Subdomain_Partner_Data_result[0].catalog_pub_logo &&
<div className="logo">
<img className="Logo_MySy" src={mysy_logo2} alt="MySy Training Technology" />
<nav className="training">TRAINING</nav>
</div>*/}
</a> </a>
<div className="Menu_Header"> <div className="Menu_Header">
Tél : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_telephone} <br />
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 Email : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_email}
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_txt &&
<font style={{
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_3_txt} </font>}
</div> </div>
@ -3951,7 +3938,6 @@ const Mon_Catalogue_Public = (props) => {
</div> </div>
<div className="block_nos_formation"> <div className="block_nos_formation">
<div style={{ "width": "100%" }}> <div style={{ "width": "100%" }}>

View File

@ -2605,11 +2605,11 @@ const Mon_Intranet_Public = (props) => {
domain = url.split('://')[1]; domain = url.split('://')[1];
} }
console.log(" ### local_url_subdomain = ", local_url_subdomain); // console.log(" ### local_url_subdomain = ", local_url_subdomain);
const subdomain = domain.split('.')[0]; const subdomain = domain.split('.')[0];
console.log(" ### subdomain = ", subdomain); //console.log(" ### subdomain = ", subdomain);
var form = new FormData(); var form = new FormData();
@ -2774,10 +2774,22 @@ const Mon_Intranet_Public = (props) => {
catalog_pub_indicateur_4_taille = JSON.parse(x).catalog_pub_indicateur_4_taille; catalog_pub_indicateur_4_taille = JSON.parse(x).catalog_pub_indicateur_4_taille;
// Les contacts publics
var catalog_pub_contact_public_email = ""
if (JSON.parse(x).catalog_pub_contact_public_email)
catalog_pub_contact_public_email = JSON.parse(x).catalog_pub_contact_public_email;
var catalog_pub_contact_public_telephone = ""
if (JSON.parse(x).catalog_pub_contact_public_telephone)
catalog_pub_contact_public_telephone = JSON.parse(x).catalog_pub_contact_public_telephone;
var catalog_pub_theme_id = JSON.parse(x).catalog_pub_theme_id; var catalog_pub_theme_id = JSON.parse(x).catalog_pub_theme_id;
setmy_theme_code(theme_code); setmy_theme_code(theme_code);
console.log(" ### theme_code = ", theme_code);
//--- //---
var node = { var node = {
@ -2830,6 +2842,9 @@ const Mon_Intranet_Public = (props) => {
"catalog_pub_indicateur_4_gras": catalog_pub_indicateur_4_gras, "catalog_pub_indicateur_4_gras": catalog_pub_indicateur_4_gras,
"catalog_pub_indicateur_4_taille": catalog_pub_indicateur_4_taille, "catalog_pub_indicateur_4_taille": catalog_pub_indicateur_4_taille,
// les contacts publics
"catalog_pub_contact_public_email": catalog_pub_contact_public_email,
"catalog_pub_contact_public_telephone": catalog_pub_contact_public_telephone,
"catalog_pub_theme_id": catalog_pub_theme_id, "catalog_pub_theme_id": catalog_pub_theme_id,
"theme_code": theme_code, "theme_code": theme_code,
@ -2888,11 +2903,128 @@ const Mon_Intranet_Public = (props) => {
<div className="mon_intranet_public" > <div className="mon_intranet_public" >
{/******* Gestion du THEME "MySy_Theme2" */}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& String(my_theme_code) === "MySy_Theme2" &&
<div>
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img && <div >
<img src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img} className="Partner_Catalog_Background_Header_model_2" ></img>
</div>}
<div className="bloc_logo_indic_model_2">
<div className="bloc_logo_indic_logo_model_2">
<img src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_logo} alt={New_Get_Subdomain_Partner_Data_result[0].nom} />
</div>
<div className="bloc_logo_indic_contact_model_2">
&nbsp;
</div>
<div className="bloc_logo_indic_indic_model_2">
&nbsp;
</div>
</div>
<div className="bloc_milieu_model_2">
<div className="bloc_milieu_text_model_2">
<div className="bloc_milieu_text_model_2_gauche">
<font className="bloc_logo_indic_indic_text"> Indicateurs </font> <br />
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_txt &&
<div style={{
textAlign: "left",
width: '100%',
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_txt}
</div>}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_txt &&
<div style={{
textAlign: "left",
width: '100%',
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_txt}
</div>}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_txt &&
<div style={{
textAlign: "left",
width: '100%',
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_txt}
</div>}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_txt &&
<div style={{
textAlign: "left",
width: '100%',
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_txt}
</div>}
</div>
<div className="bloc_milieu_text_model_2_centre">
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 &&
<nav>
<font className='title1_nom_model_2'> {New_Get_Subdomain_Partner_Data_result[0].nom} </font> <br />
<font className='title1_text1_model_2' style={{
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_1_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_1_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_1_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_1_txt} </font>
</nav>}
{New_Get_Subdomain_Partner_Data_result[0] && New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_txt &&
<nav className="title2_model_2" style={{
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_txt} </nav>}
</div>
<div className="bloc_milieu_text_model_2_droite">
<font className="bloc_logo_indic_contact_text_model_2"> Contact </font> <br />
Tel : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_telephone} <br />
Email : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_email}
</div>
</div>
</div>
<div className="bloc_connexion_model_2">
<Module_Connexion_Intranet_Client />
</div>
</div>}
{/******* FIN Gestion du THEME "MySy_Theme2" */}
{/******* Gestion du THEME PAR DEFAULT " */}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 {New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& String(my_theme_code) !== "MySy_Theme2" && && String(my_theme_code) !== "MySy_Theme2" &&
<div> <div>
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 {New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img && <div > && New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img && <div >
<img src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img} className="Partner_Catalog_Background_Header" ></img> <img src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img} className="Partner_Catalog_Background_Header" ></img>
@ -2908,8 +3040,8 @@ const Mon_Intranet_Public = (props) => {
<div className="bloc_logo_indic_contact"> <div className="bloc_logo_indic_contact">
<font className="bloc_logo_indic_contact_text"> Contact </font> <br /> <font className="bloc_logo_indic_contact_text"> Contact </font> <br />
Tel : 0101010101 <br /> Tel : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_telephone} <br />
Email : email@email.com Email : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_email}
</div> </div>
<div className="bloc_logo_indic_indic"> <div className="bloc_logo_indic_indic">
@ -2993,9 +3125,8 @@ const Mon_Intranet_Public = (props) => {
<Module_Connexion_Intranet_Client /> <Module_Connexion_Intranet_Client />
</div> </div>
</div>} </div>}
</div > </div >
{/******* FIN Gestion du THEME PAR DEFAULT " */}
<div style={{ height: "5rem", width: "100%" }}> <div style={{ height: "5rem", width: "100%" }}>

View File

@ -40,7 +40,7 @@ import DialogTitle from '@mui/material/DialogTitle';
import ColorPicker from 'react-pick-color'; import ColorPicker from 'react-pick-color';
import { gridClasses } from '@mui/x-data-grid'; import { gridClasses } from '@mui/x-data-grid';
import AttachFileIcon from '@mui/icons-material/AttachFile'; import AttachFileIcon from '@mui/icons-material/AttachFile';
import Module_Alert_Confirmation from "./Module_Alert_Confirmation";
import DeleteForeverIcon from '@mui/icons-material/DeleteForever'; import DeleteForeverIcon from '@mui/icons-material/DeleteForever';
import DownloadingIcon from '@mui/icons-material/Downloading'; import DownloadingIcon from '@mui/icons-material/Downloading';
@ -878,6 +878,19 @@ function UpdateParnterInfo(props) {
var form = new FormData(); var form = new FormData();
// Pour activier la fontion de "include com", le contact foit avoir une adresse email
var validRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
if (p_contact_public_email && !String(p_contact_public_email).trim().match(validRegex)) {
// alert("L'adresse email de contact public est invalide.");
var txt = "L'adresse email de contact public est invalide."
// alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(txt);
setalert_type("error");
return;
}
const stored_cookie = getCookie('tokenmysypart'); const stored_cookie = getCookie('tokenmysypart');
form.append("token", stored_cookie); form.append("token", stored_cookie);
form.append("theme_id", selected_catalog_pub_theme_id); form.append("theme_id", selected_catalog_pub_theme_id);
@ -941,6 +954,14 @@ function UpdateParnterInfo(props) {
form.append("indicateur_4_txt", p_indicateur4_text); form.append("indicateur_4_txt", p_indicateur4_text);
form.append("indicateur_4_taille", p_indicateur4_taille); form.append("indicateur_4_taille", p_indicateur4_taille);
form.append("indicateur_4_color", p_indicateur4_color); form.append("indicateur_4_color", p_indicateur4_color);
form.append("contact_public_email", p_contact_public_email);
form.append("contact_public_telephone", p_contact_public_telephone);
if (p_indicateur4_gras) if (p_indicateur4_gras)
form.append("indicateur_4_gras", "700"); form.append("indicateur_4_gras", "700");
else else
@ -967,13 +988,19 @@ function UpdateParnterInfo(props) {
setAdd_Update_Catalog_Pub_Theme_result(res.data.message); setAdd_Update_Catalog_Pub_Theme_result(res.data.message);
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setAdd_Update_Catalog_Pub_Theme_api("false"); setAdd_Update_Catalog_Pub_Theme_api("false");
setAdd_Update_Catalog_Pub_Theme_message(res.data.message); setAdd_Update_Catalog_Pub_Theme_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -1702,14 +1729,17 @@ function UpdateParnterInfo(props) {
const [partner_catalog_pub_url, setpartner_catalog_pub_url] = useState(""); const [partner_catalog_pub_url, setpartner_catalog_pub_url] = useState("");
const [partner_intranet_pub_url, setpartner_intranet_pub_url] = useState("");
async function submenu_donnee_catalog_pub() { async function submenu_donnee_catalog_pub() {
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
var new_nom = (p_nom).replace(/[^0-9a-z]/gi, '').toLocaleLowerCase(); var new_nom = (p_nom).replace(/[^0-9a-z]/gi, '').toLocaleLowerCase();
var new_url = window.location.protocol + "//" + new_nom + "." + process.env.REACT_APP_PART_PUB_CATALOG_DOMAIN + "moncatalog"; var new_catalog_url = window.location.protocol + "//" + new_nom + "." + process.env.REACT_APP_PART_PUB_CATALOG_DOMAIN + "moncatalog";
var new_intranet_url = window.location.protocol + "//" + new_nom + "." + process.env.REACT_APP_PART_PUB_CATALOG_DOMAIN + "intranet";
setpartner_catalog_pub_url(new_url); setpartner_catalog_pub_url(new_catalog_url);
setpartner_intranet_pub_url(new_intranet_url);
setsubmenu("submenu_donnee_catalog_pub"); setsubmenu("submenu_donnee_catalog_pub");
} }
@ -2484,13 +2514,20 @@ function UpdateParnterInfo(props) {
setDelete_Catalog_Pub_Banniere_Img_result(res.data.message); setDelete_Catalog_Pub_Banniere_Img_result(res.data.message);
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setDelete_Catalog_Pub_Banniere_Img_api("false"); setDelete_Catalog_Pub_Banniere_Img_api("false");
setDelete_Catalog_Pub_Banniere_Img_message(res.data.message); setDelete_Catalog_Pub_Banniere_Img_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -2530,13 +2567,19 @@ function UpdateParnterInfo(props) {
setDelete_Catalog_Pub_Logo_Img_result(res.data.message); setDelete_Catalog_Pub_Logo_Img_result(res.data.message);
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setDelete_Catalog_Pub_Logo_Img_api("false"); setDelete_Catalog_Pub_Logo_Img_api("false");
setDelete_Catalog_Pub_Logo_Img_message(res.data.message); setDelete_Catalog_Pub_Logo_Img_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -2577,13 +2620,19 @@ function UpdateParnterInfo(props) {
setimg_bg_file(""); setimg_bg_file("");
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setAdd_Update_Catalog_Pub_Banniere_api("false"); setAdd_Update_Catalog_Pub_Banniere_api("false");
setAdd_Update_Catalog_Pub_Banniere_message(res.data.message); setAdd_Update_Catalog_Pub_Banniere_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -2624,13 +2673,19 @@ function UpdateParnterInfo(props) {
setimg_logo_file(""); setimg_logo_file("");
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setAdd_Update_Catalog_Pub_Logo_api("false"); setAdd_Update_Catalog_Pub_Logo_api("false");
setAdd_Update_Catalog_Pub_Logo_message(res.data.message); setAdd_Update_Catalog_Pub_Logo_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -2716,6 +2771,9 @@ function UpdateParnterInfo(props) {
const [p_text1_gras, setp_text1_gras] = React.useState(false); const [p_text1_gras, setp_text1_gras] = React.useState(false);
const [p_text1_color, setp_text1_color] = React.useState("#000000"); const [p_text1_color, setp_text1_color] = React.useState("#000000");
const [p_contact_public_email, setp_contact_public_email] = React.useState("");
const [p_contact_public_telephone, setp_contact_public_telephone] = React.useState("");
const [p_indicateur1_text, setp_indicateur1_text] = React.useState(""); const [p_indicateur1_text, setp_indicateur1_text] = React.useState("");
const [p_indicateur1_taille, setp_indicateur1_taille] = React.useState("12"); const [p_indicateur1_taille, setp_indicateur1_taille] = React.useState("12");
@ -2825,13 +2883,19 @@ function UpdateParnterInfo(props) {
setcgv_file_name(""); setcgv_file_name("");
setpdf_cgv_file_pdf(""); setpdf_cgv_file_pdf("");
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setAdd_Update_Catalog_Pub_CGV_api("false"); setAdd_Update_Catalog_Pub_CGV_api("false");
setAdd_Update_Catalog_Pub_CGV_message(res.data.message); setAdd_Update_Catalog_Pub_CGV_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -2876,13 +2940,19 @@ function UpdateParnterInfo(props) {
setcgv_file_name(""); setcgv_file_name("");
setpdf_cgv_file_pdf(""); setpdf_cgv_file_pdf("");
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setSupprimer_Catalog_Pub_CGV_api("false"); setSupprimer_Catalog_Pub_CGV_api("false");
setSupprimer_Catalog_Pub_CGV_message(res.data.message); setSupprimer_Catalog_Pub_CGV_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -2974,13 +3044,20 @@ function UpdateParnterInfo(props) {
setcgv_file_name(""); setcgv_file_name("");
setpdf_cgu_file_pdf(""); setpdf_cgu_file_pdf("");
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setAdd_Update_Catalog_Pub_CGU_api("false"); setAdd_Update_Catalog_Pub_CGU_api("false");
setAdd_Update_Catalog_Pub_CGU_message(res.data.message); setAdd_Update_Catalog_Pub_CGU_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -3026,13 +3103,20 @@ function UpdateParnterInfo(props) {
setcgv_file_name(""); setcgv_file_name("");
setpdf_cgu_file_pdf(""); setpdf_cgu_file_pdf("");
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setSupprimer_Catalog_Pub_CGU_api("false"); setSupprimer_Catalog_Pub_CGU_api("false");
setSupprimer_Catalog_Pub_CGU_message(res.data.message); setSupprimer_Catalog_Pub_CGU_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -3128,13 +3212,19 @@ function UpdateParnterInfo(props) {
setcgv_file_name(""); setcgv_file_name("");
setpdf_mention_legale_file_pdf(""); setpdf_mention_legale_file_pdf("");
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setAdd_Update_Catalog_Pub_Mention_Legale_api("false"); setAdd_Update_Catalog_Pub_Mention_Legale_api("false");
setAdd_Update_Catalog_Pub_Mention_Legale_message(res.data.message); setAdd_Update_Catalog_Pub_Mention_Legale_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -3175,13 +3265,19 @@ function UpdateParnterInfo(props) {
setcgv_file_name(""); setcgv_file_name("");
setpdf_mention_legale_file_pdf(""); setpdf_mention_legale_file_pdf("");
Get_Partner_Catalog_Pub_Config(); Get_Partner_Catalog_Pub_Config();
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} }
else { else {
setSupprimer_Catalog_Pub_Mention_Legale_api("false"); setSupprimer_Catalog_Pub_Mention_Legale_api("false");
setSupprimer_Catalog_Pub_Mention_Legale_message(res.data.message); setSupprimer_Catalog_Pub_Mention_Legale_message(res.data.message);
alert(res.data.message); // alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
} }
}).catch((error) => { }).catch((error) => {
@ -3203,9 +3299,37 @@ function UpdateParnterInfo(props) {
downloadLink.click(); downloadLink.click();
} }
const [display_alert_mysy, setdisplay_alert_mysy] = useState("");
const [alert_message, setalert_message] = useState("");
const [alert_type, setalert_type] = useState("");
function clear_alert_message() {
setalert_message("");
}
function clear_alert_type() {
setalert_type("");
}
function clear_display_alert_mysy() {
setdisplay_alert_mysy("");
}
return ( return (
<div className='updateparnterinfo'> <div className='updateparnterinfo'>
{/*** Affichage des messages d'alerte*/}
{display_alert_mysy && String(display_alert_mysy) === "1" &&
<Module_Alert_Confirmation alert_message={alert_message}
alert_type={alert_type}
clear_alert_message={clear_alert_message}
clear_alert_type={clear_alert_type}
clear_display_alert_mysy={clear_display_alert_mysy}
/>
}
{/*** FIN Affichage des messages d'alerte*/}
{/*** Dialog pickup Color */} {/*** Dialog pickup Color */}
@ -3294,6 +3418,8 @@ function UpdateParnterInfo(props) {
{/*** Fin ajout pickup Color */} {/*** Fin ajout pickup Color */}
<div className="div_row"> <div className="div_row">
{String(is_partner_admin_account) !== "1" && <Button variant="outlined" onClick={submenu_donnee_entreprise} className="detail_submenu" id='submenu_donnee_entreprise' name='submenu_donnee_entreprise'>DONNEES PERSONNELLES</Button>} {String(is_partner_admin_account) !== "1" && <Button variant="outlined" onClick={submenu_donnee_entreprise} className="detail_submenu" id='submenu_donnee_entreprise' name='submenu_donnee_entreprise'>DONNEES PERSONNELLES</Button>}
@ -3327,7 +3453,7 @@ function UpdateParnterInfo(props) {
<div className="div_row"> <div className="div_row">
<TextField <TextField
name="config_url" name="config_url"
label="lien web (url) catalogue " label="lien web (url) mon catalogue "
className="texte_area" className="texte_area"
sx={{ m: 1, width: '48%' }} sx={{ m: 1, width: '48%' }}
InputProps={{ InputProps={{
@ -3353,6 +3479,36 @@ function UpdateParnterInfo(props) {
<OpenInNewIcon /> <OpenInNewIcon />
</Button> </Button>
</div>
<div className="div_row">
<TextField
name="config_url"
label="lien web (url) mon intranet "
className="texte_area"
sx={{ m: 1, width: '20%' }}
InputProps={{
startAdornment: (
<InputAdornment position="start">
<LanguageIcon />
</InputAdornment>
),
}}
value={partner_intranet_pub_url}
/> <Button
onClick={(event) => {
window.open(
String(partner_intranet_pub_url),
'_blank'
);
}}
style={{ marginTop: '10px' }}
>
<OpenInNewIcon />
</Button>
</div> </div>
<div className="div_row"> <div className="div_row">
@ -3655,7 +3811,7 @@ function UpdateParnterInfo(props) {
<hr className="hr_break" /> <hr className="hr_break" />
<div className="titre1"> <b> Les indicateurs zzzz</b> </div> <div className="titre1"> <b> Les indicateurs </b> </div>
<div className="div_row"> <div className="div_row">
<div style={{ width: "70%", float: 'left', }}> <b> Text Indicateur 1 </b> <br /> <div style={{ width: "70%", float: 'left', }}> <b> Text Indicateur 1 </b> <br />
@ -3981,7 +4137,41 @@ function UpdateParnterInfo(props) {
</div> </div>
<div className="titre1"> <b> Contacts Publiques </b> </div>
<div className="div_row">
<div style={{ width: "50%", float: 'left', }}> <b> Email </b> <br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
name="contact_public_email"
id="contact_public_email"
className="disabled_style"
value={p_contact_public_email}
onChange={(e) => {
setp_contact_public_email(e.target.value);
}
}
/>
</div>
<div style={{ width: "50%", float: 'left', }}> <b> Téléphone </b> <br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
name="contact_public_phone"
id="contact_public_phone"
className="disabled_style"
inputProps={{ style: { height: '4rem' } }}
value={p_contact_public_telephone}
onChange={(e) => {
setp_contact_public_telephone(e.target.value);
}
}
/>
</div>
</div>
</div>} </div>}
{String(catalog_pub_config_edit) !== "1" && <div> {String(catalog_pub_config_edit) !== "1" && <div>
@ -4199,8 +4389,7 @@ function UpdateParnterInfo(props) {
</div> </div>
<hr className="hr_break" /> <div className="titre1"> <b> Les indicateurs </b> </div>
<div className="titre1"> <b> Les indicateurs zzzz22</b> </div>
<div className="div_row"> <div className="div_row">
<div style={{ width: "70%", float: 'left', }}> <b> Text Indicateur 1 </b> <br /> <div style={{ width: "70%", float: 'left', }}> <b> Text Indicateur 1 </b> <br />
@ -4478,8 +4667,32 @@ function UpdateParnterInfo(props) {
</div> </div>
<div className="titre1"> <b> Contacts Publiques </b> </div>
<div className="div_row">
<div style={{ width: "50%", float: 'left', }}> <b> Email </b> <br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
name="contact_public_email"
id="contact_public_email"
className="disabled_style"
value={p_contact_public_email}
/>
</div>
<div style={{ width: "50%", float: 'left', }}> <b> Téléphone </b> <br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
name="contact_public_phone"
id="contact_public_phone"
className="disabled_style"
value={p_contact_public_telephone}
/>
</div>
</div>
</div>} </div>}

View File

@ -2327,7 +2327,7 @@
.bloc_connexion { .bloc_connexion {
width: 100%; width: 100%;
float: left; float: left;
min-height: 40vh; min-height: 60vh;
margin-top: 35rem; margin-top: 35rem;
} }
@ -2427,6 +2427,157 @@
font-weight: 700; font-weight: 700;
} }
/*** Pour le modele 2 - MySy_Theme2 **/
.bloc_milieu_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 8rem;
}
.bloc_milieu_text_model_2 {
width: 100%;
float: left;
text-align: center;
}
.title1_nom_model_2 {
width: 100%;
text-align: center;
height: 150px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 700;
font-size: 30px;
// line-height: 54px;
/* or 107% */
letter-spacing: 1px;
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
.title2_model_2 {
width: 100%;
text-align: center;
height: 22px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 500;
font-size: 18px;
line-height: 22px;
/* identical to box height */
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 1;
flex-grow: 0;
}
.bloc_img_milieu_gauche {
display: none;
}
.Partner_Catalog_Background_Header_model_2 {
// position: absolute;
width: 100%;
height: 600px;
left: 0px;
top: 0px;
}
.bloc_logo_indic_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 1rem;
}
.bloc_logo_indic_logo_model_2 {
width: 60%;
float: left;
text-align: left;
}
.bloc_logo_indic_contact_model_2 {
width: 18%;
float: right;
text-align: right;
}
.bloc_logo_indic_indic_model_2 {
width: 18%;
float: left;
}
.bloc_logo_indic_contact_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_logo_indic_indic_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_milieu_text_model_2_gauche{
width: 100%;
float: left;
}
.bloc_milieu_text_model_2_centre{
width: 100%;
float: left;
height: 250px;
}
.bloc_milieu_text_model_2_droite{
width: 100%;
float: right;
}
.title1_text1_model_2 {
}
.bloc_connexion_model_2 {
width: 100%;
float: left;
height: 70vh;
}
} }
@media only screen and (min-width: 601px) and (max-width: 991px) { @media only screen and (min-width: 601px) and (max-width: 991px) {
@ -5591,6 +5742,134 @@
text-align: left; text-align: left;
font-weight: 700; font-weight: 700;
} }
/*** Pour le modele 2 - MySy_Theme2 **/
.bloc_milieu_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 10rem;
}
.bloc_milieu_text_model_2 {
width: 100%;
float: left;
text-align: center;
}
.title1_nom_model_2 {
width: 100%;
text-align: center;
height: 150px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 700;
font-size: 40px;
line-height: 54px;
/* or 107% */
letter-spacing: 1px;
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
.title2_model_2 {
}
.bloc_img_milieu_gauche {
display: none;
}
.Partner_Catalog_Background_Header_model_2 {
// position: absolute;
width: 100%;
height: 380px;
left: 0px;
top: 0px;
}
.bloc_logo_indic_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 1rem;
}
.bloc_logo_indic_logo_model_2 {
width: 60%;
float: left;
text-align: left;
}
.bloc_logo_indic_contact_model_2 {
width: 18%;
float: right;
text-align: right;
}
.bloc_logo_indic_indic_model_2 {
width: 18%;
float: left;
}
.bloc_logo_indic_contact_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_logo_indic_indic_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_milieu_text_model_2_gauche{
width: 19%;
float: left;
}
.bloc_milieu_text_model_2_centre{
width: 60%;
float: left;
}
.bloc_milieu_text_model_2_droite{
width: 20%;
float: right;
}
.title1_text1_model_2 {
}
.bloc_connexion_model_2 {
width: 100%;
float: left;
min-height: 60vh;
margin-top: 3rem;
}
} }
@media only screen and (min-width: 992px) and (max-width: 1199px) { @media only screen and (min-width: 992px) and (max-width: 1199px) {
@ -8714,6 +8993,156 @@
font-weight: 700; font-weight: 700;
} }
/*** Pour le modele 2 - MySy_Theme2 **/
.bloc_milieu_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 10rem;
}
.bloc_milieu_text_model_2 {
width: 100%;
float: left;
text-align: center;
}
.title1_nom_model_2 {
width: 100%;
text-align: center;
height: 150px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 700;
font-size: 40px;
line-height: 54px;
/* or 107% */
letter-spacing: 1px;
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
.title2_model_2 {
width: 100%;
text-align: center;
height: 22px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 500;
font-size: 18px;
line-height: 22px;
/* identical to box height */
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 1;
flex-grow: 0;
}
.bloc_img_milieu_gauche {
display: none;
}
.Partner_Catalog_Background_Header_model_2 {
// position: absolute;
width: 100%;
height: 352px;
left: 0px;
top: 0px;
}
.bloc_logo_indic_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 1rem;
}
.bloc_logo_indic_logo_model_2 {
width: 60%;
float: left;
text-align: left;
}
.bloc_logo_indic_contact_model_2 {
width: 18%;
float: right;
text-align: right;
}
.bloc_logo_indic_indic_model_2 {
width: 18%;
float: left;
}
.bloc_logo_indic_contact_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_logo_indic_indic_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_milieu_text_model_2_gauche{
width: 19%;
float: left;
}
.bloc_milieu_text_model_2_centre{
width: 60%;
float: left;
}
.bloc_milieu_text_model_2_droite{
width: 20%;
float: right;
}
.title1_text1_model_2 {
}
.bloc_connexion_model_2 {
width: 100%;
float: left;
min-height: 50vh;
margin-top: 3rem;
}
} }
@media only screen and (min-width: 1200px) and (max-width: 1919px) { @media only screen and (min-width: 1200px) and (max-width: 1919px) {
@ -11840,6 +12269,178 @@
text-align: left; text-align: left;
font-weight: 700; font-weight: 700;
} }
/*** Pour le modele 2 - MySy_Theme2 **/
.bloc_milieu_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 10rem;
}
.bloc_milieu_text_model_2 {
width: 100%;
float: left;
text-align: center;
}
.title1_nom_model_2 {
width: 100%;
text-align: center;
height: 150px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 700;
font-size: 40px;
line-height: 54px;
/* or 107% */
letter-spacing: 1px;
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
.title2_model_2 {
width: 100%;
text-align: center;
height: 22px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 500;
font-size: 18px;
line-height: 22px;
/* identical to box height */
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 1;
flex-grow: 0;
}
.bloc_img_milieu_gauche {
display: none;
}
.Partner_Catalog_Background_Header_model_2 {
// position: absolute;
width: 100%;
height: 352px;
left: 0px;
top: 0px;
}
.bloc_logo_indic_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 1rem;
}
.bloc_logo_indic_logo_model_2 {
width: 60%;
float: left;
text-align: left;
}
.bloc_logo_indic_contact_model_2 {
width: 18%;
float: right;
text-align: right;
}
.bloc_logo_indic_indic_model_2 {
width: 18%;
float: left;
}
.bloc_logo_indic_contact_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_logo_indic_indic_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_milieu_text_model_2_gauche{
width: 19%;
float: left;
}
.bloc_milieu_text_model_2_centre{
width: 60%;
float: left;
}
.bloc_milieu_text_model_2_droite{
width: 20%;
float: right;
}
.title1_text1_model_2 {
width: 100%;
text-align: left;
height: 192px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 500;
font-size: 30px;
line-height: 54px;
/* or 107% */
letter-spacing: 1px;
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
.bloc_connexion_model_2 {
width: 100%;
float: left;
min-height: 50vh;
padding-top: 3rem;
}
} }
@media only screen and (min-width: 1920px) { @media only screen and (min-width: 1920px) {
@ -14998,6 +15599,180 @@
font-weight: 700; font-weight: 700;
} }
/*** Pour le modele 2 - MySy_Theme2 **/
.bloc_milieu_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 10rem;
}
.bloc_milieu_text_model_2 {
width: 100%;
float: left;
text-align: center;
}
.title1_nom_model_2 {
width: 100%;
text-align: center;
height: 150px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 700;
font-size: 40px;
line-height: 54px;
/* or 107% */
letter-spacing: 1px;
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
.title2_model_2 {
width: 100%;
text-align: center;
height: 22px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 500;
font-size: 18px;
line-height: 22px;
/* identical to box height */
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 1;
flex-grow: 0;
}
.bloc_img_milieu_gauche {
display: none;
}
.Partner_Catalog_Background_Header_model_2 {
// position: absolute;
width: 100%;
height: 352px;
left: 0px;
top: 0px;
}
.bloc_logo_indic_model_2 {
min-height: 5rem;
width: 90%;
margin-left: 5%;
float: left;
position: absolute;
top: 1rem;
}
.bloc_logo_indic_logo_model_2 {
width: 60%;
float: left;
text-align: left;
}
.bloc_logo_indic_contact_model_2 {
width: 18%;
float: right;
text-align: right;
}
.bloc_logo_indic_indic_model_2 {
width: 18%;
float: left;
}
.bloc_logo_indic_contact_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_logo_indic_indic_text_model_2 {
text-align: left;
font-weight: 700;
}
.bloc_milieu_text_model_2_gauche{
width: 19%;
float: left;
}
.bloc_milieu_text_model_2_centre{
width: 60%;
float: left;
}
.bloc_milieu_text_model_2_droite{
width: 20%;
float: right;
}
.title1_text1_model_2 {
width: 100%;
text-align: left;
height: 192px;
font-family: 'Albert Sans';
font-style: normal;
font-weight: 500;
font-size: 30px;
line-height: 54px;
/* or 107% */
letter-spacing: 1px;
/* Deep Blue */
color: #0A043C;
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
.bloc_connexion_model_2 {
width: 100%;
float: left;
min-height: 40vh;
padding-top: 3rem;
}
} }
// end media // end media

View File

@ -832,6 +832,9 @@
margin-bottom: 1.5rem !important; margin-bottom: 1.5rem !important;
} }
.texte_area_adress { .texte_area_adress {
float: left; float: left;
width: 95% !important; width: 95% !important;