11/01/24 - 21h30

recette2
cherif 2024-01-11 21:28:47 +01:00
parent 94898c374f
commit d8d3417601
8 changed files with 58498 additions and 139 deletions

57627
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -116,7 +116,7 @@
"react-scroll-to-top": "^3.0.0", "react-scroll-to-top": "^3.0.0",
"react-search-autocomplete": "^7.2.2", "react-search-autocomplete": "^7.2.2",
"react-select": "^5.2.2", "react-select": "^5.2.2",
"react-share": "^4.4.0", "react-share": "^4.4.1",
"react-simple-modal": "^1.1.5", "react-simple-modal": "^1.1.5",
"react-simple-modal-cb": "^2.0.4", "react-simple-modal-cb": "^2.0.4",
"react-simple-star-rating": "^4.1.1", "react-simple-star-rating": "^4.1.1",

View File

@ -125,7 +125,7 @@ const DisplayPartnerSession = (props) => {
{ field: 'id', headerName: 'id', hide: true }, { field: 'id', headerName: 'id', hide: true },
{ field: '_id', headerName: '_id', hide: true }, { field: '_id', headerName: '_id', hide: true },
{ field: 'class_internal_url', headerName: 'class_internal_url', hide: true }, { field: 'class_internal_url', headerName: 'class_internal_url', hide: true },
{ field: 'code_session', headerName: 'Code session', hide: false, minWidth: 100, flex: 1, maxWidth: 150 }, { field: 'code_session', headerName: 'Code session', hide: false, minWidth: 100, flex: 1, },
{ field: 'session_title', headerName: 'Titre', hide: false, flex: 1, minWidth: 250 }, { field: 'session_title', headerName: 'Titre', hide: false, flex: 1, minWidth: 250 },
{ {
@ -8383,6 +8383,12 @@ const DisplayPartnerSession = (props) => {
// -- end convention // -- end convention
const New_Option_Type_Ressource = [
{ "id": "0", "label": "Employe", "value": "ressource_humaine" },
{ "id": "1", "label": "Materiel", "value": "ressource_materielle" },
]
return ( return (
<div className="displaypartnersession"> <div className="displaypartnersession">
@ -8703,7 +8709,7 @@ const DisplayPartnerSession = (props) => {
> >
<DialogTitle>Ajout ressource</DialogTitle> <DialogTitle>Ajout ressource </DialogTitle>
<DialogContent className="DialogContent_width"> <DialogContent className="DialogContent_width">
<DialogContentText> <DialogContentText>
{Dialog_seq_ressource_1_message} {Dialog_seq_ressource_1_message}
@ -8711,7 +8717,25 @@ const DisplayPartnerSession = (props) => {
<div className="session_caract_Dialog" > Type de ressource <div className="session_caract_Dialog" > Type de ressource
<TextField <Autocomplete
disablePortal
name="event_dialog_type_ressource"
id="event_dialog_type_ressource"
fullWidth
options={New_Option_Type_Ressource}
onChange={(event, value) => {
if (value && value.value) {
setDialog_seq_ressource_1_selected_type_ressource(value.value);
}
}}
renderInput={(params) => <TextField {...params} label="" />
}
/>
{/*<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }} sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
name="event_dialog_type_ressource" name="event_dialog_type_ressource"
@ -8730,7 +8754,7 @@ const DisplayPartnerSession = (props) => {
<MenuItem value="ressource_humaine" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Employé &nbsp;</MenuItem> <MenuItem value="ressource_humaine" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Employé &nbsp;</MenuItem>
<MenuItem value="ressource_materielle" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Materiel &nbsp;</MenuItem> <MenuItem value="ressource_materielle" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Materiel &nbsp;</MenuItem>
</TextField> </TextField>*/}
</div> </div>
@ -8794,7 +8818,7 @@ const DisplayPartnerSession = (props) => {
name="event_dialog_ressource_id" name="event_dialog_ressource_id"
id="event_dialog_ressource_id" id="event_dialog_ressource_id"
fullWidth fullWidth
options={New_Getall_Training_Employee_No_Filter_result} options={New_Getall_Training_Materiel_No_Filter_result}
onChange={(event, value) => { onChange={(event, value) => {
if (value && value._id) { if (value && value._id) {
@ -8892,7 +8916,7 @@ const DisplayPartnerSession = (props) => {
> >
<DialogTitle>Ajout ressource</DialogTitle> <DialogTitle>Ajout ressource </DialogTitle>
<DialogContent className="DialogContent_width"> <DialogContent className="DialogContent_width">
<DialogContentText> <DialogContentText>
{Dialog_tuteur_1_message} {Dialog_tuteur_1_message}

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@ import img_2 from "../mysy_img/lms.png";
import img_3_old from "../mysy_img/3.jpg"; import img_3_old from "../mysy_img/3.jpg";
import img_3 from "../mysy_img/crm.png"; import img_3 from "../mysy_img/crm.png";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import ReactPlayer from 'react-player/lazy'
@ -272,6 +272,48 @@ const QuiSommesNous_v2 = () => {
<div style={{ "width": "100%", "float": "left", "border": "1px solid" }}>
<div className="div_row_center_contact" style={{ width: '100%' }}>
<Button variant="outlined" onClick={"menu_info"} className="bton_contact_nous"> Découvrez quelques-unes de nos fonctionnalités </Button>
</div>
<div className="div_row_center_video_ftion" >
<div className="div_row_center_enphasis" >
<div className="detail_block_video_ftion">
<div className="detail_text_video_ftion">
<b className="chapitre"> Le catalogue de Formation </b> <br /> <br />
Import Excel de formation<br />
Creation unitaire<br />
Modification, Suppression, Export, etc<br />
</div>
<div className="detail_img_video_ftion">
<div className="only_mobile">
<b className="chapitre"> Le catalogue de Formation </b> <br /> <br />
Import Excel de formation<br />
Creation unitaire<br />
Modification, Suppression, Export, etc<br />
</div>
<ReactPlayer
controls={true}
light="https://img.mysy-training.com/video/mysy_catalog_thumb.png"
playing
url='https://img.mysy-training.com/video/MyS_Creation_Catalogue.mp4'
width="100%"
/>
</div>
</div>
</div>
</div>
</div>
<div className="div_row_where"> <div className="div_row_where">

View File

@ -171,7 +171,7 @@ const SideBar = () => {
} }
</Menu>} </Menu>}
{String(environnment) === "REC" && {(String(environnment) === "REC" || String(environnment) === "DEM") &&
<Menu className="ch_burger_menu"> <Menu className="ch_burger_menu">
{String(someoneconnected) !== String("1") && <NavLink exact to={"/Connexion"} activeClassName={"nav-active"}> {String(someoneconnected) !== String("1") && <NavLink exact to={"/Connexion"} activeClassName={"nav-active"}>
Connexion Utilisateur Connexion Utilisateur

View File

@ -1719,7 +1719,7 @@
margin-right: 1rem; margin-right: 1rem;
padding: 0.3rem; padding: 0.3rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
min-width: 12rem; min-width: 15rem;
text-align: center; text-align: center;
border: 1px solid #9cf; border: 1px solid #9cf;
color: #3b3e40; color: #3b3e40;

View File

@ -4,7 +4,16 @@
font-size: 0.1rem; font-size: 0.1rem;
} }
.only_mobile{
display: none;
}
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
.only_mobile{
width: 100%;
display: block;
}
.media_sociaux { .media_sociaux {
svg { svg {
margin-top: 0 !important; margin-top: 0 !important;
@ -380,7 +389,7 @@
background: white; background: white;
} }
.detail_block{ .detail_block {
width: 100%; width: 100%;
float: left; float: left;
display: flex; display: flex;
@ -400,6 +409,48 @@
} }
.detail_img_video_ftion {
width: 100%;
float: left;
margin: auto;
}
.div_row_center_video_ftion {
width: 100%;
text-align: left;
padding: 5px;
margin-bottom: 4rem;
border-radius: 0px;
margin-left: auto;
margin-right: auto;
min-height: 10 rem;
height: rem;
text-align: center;
font-size: large;
line-height: normal;
letter-spacing: normal;
color: #3b3e40;
font-family: Arial, Helvetica, sans-serif;
margin-top: 3rem;
}
.detail_block_video_ftion {
width: 95%;
margin-left: auto;
margin-right: auto;
display: flex;
border-bottom: 10px solid;
border-top: 10px solid;
padding-left: 10px;
}
.detail_text_video_ftion {
display: none;
}
} }
@media only screen and (min-width: 601px) and (max-width: 991px) { @media only screen and (min-width: 601px) and (max-width: 991px) {
@ -796,7 +847,7 @@
background: white; background: white;
} }
.detail_block{ .detail_block {
width: 100%; width: 100%;
float: left; float: left;
display: flex; display: flex;
@ -814,9 +865,56 @@
.detail_img { .detail_img {
width: 50%; width: 50%;
float: left; float: left;
margin: auto; margin: auto;
} }
.detail_img_video_ftion {
width: 50%;
float: left;
margin: auto;
}
.div_row_center_video_ftion {
width: 100%;
text-align: left;
padding: 5px;
margin-bottom: 4rem;
border-radius: 0px;
margin-left: auto;
margin-right: auto;
min-height: 10 rem;
height: rem;
text-align: center;
font-size: large;
line-height: normal;
letter-spacing: normal;
color: #3b3e40;
font-family: Arial, Helvetica, sans-serif;
margin-top: 3rem;
}
.detail_block_video_ftion {
width: 95%;
margin-left: auto;
margin-right: auto;
display: flex;
border-bottom: 10px solid;
border-top: 10px solid;
padding-left: 10px;
}
.detail_text_video_ftion {
width: 50%;
float: left;
margin: auto;
text-align: justify;
padding-left: 2rem;
}
} }
@media only screen and (min-width: 992px) and (max-width: 1199px) { @media only screen and (min-width: 992px) and (max-width: 1199px) {
@ -1112,7 +1210,7 @@
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
height: 13rem; height: 13rem;
// margin-top: 5rem; // margin-top: 5rem;
} }
.text_head_new { .text_head_new {
@ -1214,14 +1312,14 @@
} }
.main_sub_div { .main_sub_div {
height: 180rem; height: 280rem;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width: 90%; width: 90%;
background: white; background: white;
} }
.detail_block{ .detail_block {
width: 100%; width: 100%;
float: left; float: left;
display: flex; display: flex;
@ -1238,10 +1336,57 @@
.detail_img { .detail_img {
width: 50%; width: 50%;
float: left; float: left;
margin: auto; margin: auto;
} }
.detail_img_video_ftion {
width: 50%;
float: left;
margin: auto;
}
.div_row_center_video_ftion {
width: 100%;
text-align: left;
padding: 5px;
margin-bottom: 4rem;
border-radius: 0px;
margin-left: auto;
margin-right: auto;
min-height: 10 rem;
height: rem;
text-align: center;
font-size: large;
line-height: normal;
letter-spacing: normal;
color: #3b3e40;
font-family: Arial, Helvetica, sans-serif;
margin-top: 3rem;
}
.detail_block_video_ftion {
width: 95%;
margin-left: auto;
margin-right: auto;
display: flex;
border-bottom: 10px solid;
border-top: 10px solid;
padding-left: 10px;
}
.detail_text_video_ftion {
width: 50%;
float: left;
margin: auto;
text-align: justify;
padding-left: 2rem;
}
} }
@media only screen and (min-width: 1200px) { @media only screen and (min-width: 1200px) {
@ -1469,6 +1614,7 @@
margin-top: 3rem; margin-top: 3rem;
} }
.div_row_center_contact { .div_row_center_contact {
//border: 0.01rem solid #000; //border: 0.01rem solid #000;
width: 90%; width: 90%;
@ -1641,7 +1787,7 @@
} }
.main_sub_div { .main_sub_div {
height: 230rem; min-height: 280rem;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width: 90%; width: 90%;
@ -1649,7 +1795,7 @@
padding-top: 2rem !important; padding-top: 2rem !important;
} }
.detail_block{ .detail_block {
width: 100%; width: 100%;
float: left; float: left;
display: flex; display: flex;
@ -1665,9 +1811,56 @@
.detail_img { .detail_img {
width: 50%; width: 50%;
float: left; float: left;
margin: auto; margin: auto;
} }
.div_row_center_video_ftion {
width: 100%;
text-align: left;
padding: 5px;
margin-bottom: 4rem;
border-radius: 0px;
margin-left: auto;
margin-right: auto;
min-height: 10 rem;
height: rem;
text-align: center;
font-size: large;
line-height: normal;
letter-spacing: normal;
color: #3b3e40;
font-family: Arial, Helvetica, sans-serif;
}
.detail_block_video_ftion {
width: 95%;
margin-left: auto;
margin-right: auto;
display: flex;
border-bottom: 10px solid;
border-top: 10px solid;
padding-left: 10px;
min-height: 25rem !important;
}
.detail_text_video_ftion {
width: 50%;
float: left;
margin: auto;
text-align: justify;
padding-left: 2rem;
}
.detail_img_video_ftion {
width: 50%;
float: left;
margin: auto;
}
} }
// end media // end media