From 98de5feea30aa1e9ccc061630a8ccf122571c684 Mon Sep 17 00:00:00 2001 From: cherif Date: Sat, 18 May 2024 19:36:15 +0200 Subject: [PATCH] qsdsqd --- src/components/Employes.js | 19 +- src/components/Notes_Evaluation.js | 2970 +++++++++++++++++++ src/components/Partner.js | 1977 ++++++------ src/styles/components/_note_evaluation.scss | 2469 +++++++++++++++ src/styles/index.scss | 1 + 5 files changed, 6450 insertions(+), 986 deletions(-) create mode 100644 src/components/Notes_Evaluation.js create mode 100644 src/styles/components/_note_evaluation.scss diff --git a/src/components/Employes.js b/src/components/Employes.js index f583c08..26d938b 100644 --- a/src/components/Employes.js +++ b/src/components/Employes.js @@ -6016,24 +6016,7 @@ const Employes = (props) => { } />} - {/* { - setp_filtre1(e.target.value); - - }} - > - Email   - Nom   - Lié a la Formation (code externe)   - Lié a la Session (code session)   - - - */} + diff --git a/src/components/Notes_Evaluation.js b/src/components/Notes_Evaluation.js new file mode 100644 index 0000000..3dc5a1a --- /dev/null +++ b/src/components/Notes_Evaluation.js @@ -0,0 +1,2970 @@ +import React, { useRef, useState, useEffect } from "react"; +import TextField from '@mui/material/TextField'; +import MenuItem from '@mui/material/MenuItem'; +import 'react-confirm-alert/src/react-confirm-alert.css'; // Import css +import Button from '@mui/material/Button'; +import axios from "axios"; +import { getCookie, setCookie } from 'react-use-cookie'; +import { useHistory } from "react-router-dom"; +import CheckOut from "./CheckOut"; +import { DataGrid, GridToolbar, frFR } from '@mui/x-data-grid'; +import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css"; +import { Editor } from '@tinymce/tinymce-react'; +import parse from 'html-react-parser'; +import { FcViewDetails, FcDisapprove } from "react-icons/fc"; +import { FcPodiumWithAudience } from "react-icons/fc"; +import { FcInfo } from "react-icons/fc"; +import { LiaDharmachakraSolid } from "react-icons/lia"; +import 'react-tooltip/dist/react-tooltip.css' +import { Tooltip } from 'react-tooltip' +import add_plus from "../mysy_img/plus.png"; +import excel_icone from "../mysy_img/excel_icone.png"; +import participants from "../mysy_img/participants.png"; +import fileDownload from 'js-file-download'; +import Popup from 'reactjs-popup'; +import 'reactjs-popup/dist/index.css'; +import { FcCancel, FcApproval, FcAcceptDatabase, FcPrint } from "react-icons/fc"; +import DatePicker from "react-datepicker"; +import "react-datepicker/dist/react-datepicker.css"; +import { format } from 'date-fns' +import moment from "moment"; +import InputAdornment from '@mui/material/InputAdornment'; +import { AiFillCloseCircle } from "react-icons/ai"; +import Box from '@mui/material/Box'; +import { Typography, LinearProgress } from '@mui/material'; +import styled from 'styled-components'; +import { CiTrash } from "react-icons/ci"; +import { MdAddCircleOutline, MdRemoveCircleOutline } from "react-icons/md"; +import Dialog from '@mui/material/Dialog'; +import DialogActions from '@mui/material/DialogActions'; +import DialogContent from '@mui/material/DialogContent'; +import DialogContentText from '@mui/material/DialogContentText'; +import DialogTitle from '@mui/material/DialogTitle'; + +import Visibility from '@mui/icons-material/Visibility'; +import VisibilityOff from '@mui/icons-material/VisibilityOff'; +import { Fab } from "@material-ui/core"; +import { IoMdAddCircle, IoIosRemoveCircleOutline } from "react-icons/io"; +import { AiTwotoneEdit, AiTwotoneSave } from "react-icons/ai"; +import Autocomplete from '@mui/material/Autocomplete'; +import img_loading_spin from "./../mysy_img/mysy_spin_loading.gif"; + +import { gridClasses } from '@mui/x-data-grid'; +import Link from '@mui/material/Link'; +import { PiDotsThree } from "react-icons/pi"; +import { IoAddCircleOutline, IoCloseCircleOutline } from "react-icons/io5"; +import Rating from '@mui/material/Rating'; + +const Notes_Evaluation = (props) => { + const history = useHistory(); + const [submenu, setsubmenu] = useState(""); + const [rowss, setRows] = useState([]); + const [selectionModel, setSelectionModel] = React.useState([]); + const [isLoading, setLoading] = useState(); + + var date_today_90j = new Date(); + date_today_90j.setDate(date_today_90j.getDate() + 90); + + + const [p_filtre1, setp_filtre1] = useState(""); + const [p_filtre1_value, setp_filtre1_value] = useState(""); + + const [p_filtre2, setp_filtre2] = useState(""); + const [p_filtre2_value, setp_filtre2_value] = useState(""); + + const [p_filtre3, setp_filtre3] = useState(""); + const [p_filtre3_value, setp_filtre3_value] = useState(""); + + const [p_filtre4, setp_filtre4] = useState(""); + const [p_filtre4_value, setp_filtre4_value] = useState(""); + + + function ExpandableCell_50({ value }) { + const [expanded, setExpanded] = React.useState(false); + + return ( + + ); + } + + + const columns_evalutions = [ + { field: '_id', headerName: '_id', hide: true, Width: 0 }, + { field: 'id', headerName: 'id', hide: true, Width: 0 }, + + { field: 'code', headerName: 'code', flex: 1, hide: false, minWidth: 180, renderCell: (params) => , }, + { field: 'titre', headerName: 'titre', flex: 1, hide: false, minWidth: 180, renderCell: (params) => , }, + { field: 'class_id', headerName: 'class_id', hide: true, Width: 0 }, + + { + field: 'class_id_code', headerName: 'Ftion Code', minWidth: 150, flex: 1, renderCell: (params) => , + renderCell: (cellValues) => { + return ( +
+ {New_Getall_Partner_Class_Reduice_Fields_result && New_Getall_Partner_Class_Reduice_Fields_result.length > 0 && } + + +
+ + ); + } + }, + + { field: 'session_id', headerName: 'session_id', hide: true, Width: 0 }, + { + field: 'session_code', headerName: 'Classe', minWidth: 150, flex: 1, renderCell: (params) => , + renderCell: (cellValues) => { + return ( +
+ {New_Getall_Partner_Session_Reduice_Fields_result && New_Getall_Partner_Session_Reduice_Fields_result.length > 0 && } + + +
+ + ); + } + }, + + { field: 'class_eu_id', headerName: 'class_eu_id', hide: true, Width: 0 }, + { + field: 'class_ue_code', headerName: 'Code UE', minWidth: 150, flex: 1, renderCell: (params) => , + renderCell: (cellValues) => { + return ( +
+ {New_Getall_Partner_List_UE_result && New_Getall_Partner_List_UE_result.length > 0 && } + + +
+ + ); + } + }, + + + { field: 'type_eval_id', headerName: 'type_eval_id', hide: true, Width: 0 }, + { + field: 'type_eval_code', headerName: 'Type Eval', minWidth: 150, flex: 1, renderCell: (params) => , + renderCell: (cellValues) => { + return ( +
+ {New_Getall_Partner_Type_Evalution_List_result && New_Getall_Partner_Type_Evalution_List_result.length > 0 && } + + +
+ + ); + } + }, + + { field: 'statut', headerName: 'statut', minWidth: 200, flex: 1, renderCell: (params) => , }, + + { + field: "Detail", headerName: 'Voir detail', + renderCell: (cellValues) => { + return ( + + + + ); + } + }, + { + field: "delete", headerName: 'Supprimer', + renderCell: (cellValues) => { + return ( + + { + // handleClick_delete(event, cellValues); + }} + > + + + } + modal + nested + position="center center" + > + {close => ( +
+ +
MySy Information
+
+ {' '} + + En confirmant cette opération, l'employé sera définitivement supprimé.
+ +
+
+
+ + +
+
+ +
+
+
+ )} +
+ + + ); + } + } + + ] + + const [selectionModel_evalutions, setselectionModel_evalutions] = React.useState([]); + + const [selected_id, setselected_id] = React.useState(""); + const [display_evaluation, setdisplay_evaluation] = React.useState(""); + const [evaluation_data_changed, setevaluation_data_changed] = React.useState(""); + const [evaluation_data_edit_mode, setevaluation_data_edit_mode] = useState(""); + + const [add_one_evaluation, setadd_one_evaluation] = React.useState(""); + + function handleClick_edit_evaluation_From_Line(selected_row_id) { + + setdisplay_evaluation("1"); + setevaluation_data_changed(""); + setevaluation_data_edit_mode(""); + + var line = JSON.parse(Getall_Partner_Evaluation_result[selected_row_id]); + + + setselected_id(line._id); + setgridline_id(selected_row_id); + + Get_Given_Evaluation_Data(line._id); + + setsubmenu("detail_evaluation"); + + /* + var employe_email = line.email; + setselected_employe_email(employe_email); + + + Display_Detail_Employe(employe_id); + + Get_List_Managers(); + Get_List_RH_Profils(); + Get_Employee_Related_Target_Collection_Data(); + + if (document.getElementById('myRef')) { + var divh = document.getElementById('myRef').offsetTop; + window.scrollTo({ + top: divh, + behavior: "smooth", + }); + } + + Getall_Employee_Affectation(employe_id); + Getall_Employee_Acces_Right(employe_id); + Getall_Employee_Contrat(employe_id); + Get_Partner_Purchase_Prices(); + + Get_List_Of_All_PJ(employe_id); + + */ + } + + + const [GetAttendee_api, setGetAttendee_api] = useState(); + const [GetAttendee_message, setGetAttendee_message] = useState(); + const [GetAttendee_result, setGetAttendee_result] = useState(); + function Get_Given_Evaluation_Data(evaluation_id) { + setevaluation_data_changed(""); + setevaluation_data_edit_mode(""); + + + var form = new FormData(); + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + form.append("evaluation_id", evaluation_id); + + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Given_Evaluation_Planification/"; + + setLoading(true); + axios.post(myurl, form).then(res => { + + if (String(res.data.status) === "true") { + setLoading(false); + //console.log(" In Get_Given_Evaluation_Data res.data.status = " + res.data.status); + //console.log(" In Get_Given_Evaluation_Data res.data.message r_class = " + res.data.message); + setGetAttendee_api("true"); + setGetAttendee_result(res.data.message); + + if (res.data.message.length > 0) { + var mylocal_evaluation = JSON.parse(res.data.message); + + if (mylocal_evaluation.code) + setp_detail_code(mylocal_evaluation.code); + else + setp_detail_code(""); + + if (mylocal_evaluation.titre) { + setp_detail_titre(mylocal_evaluation.titre); + } else { + setp_detail_titre(""); + } + + + if (mylocal_evaluation.description) { + setp_detail_description(mylocal_evaluation.description); + } else { + setp_detail_description(""); + } + + if (mylocal_evaluation.comment) { + setp_detail_comment(mylocal_evaluation.comment); + } else { + setp_detail_comment(""); + } + + + if (mylocal_evaluation.class_id) { + setp_detail_class_id(mylocal_evaluation.class_id); + } else { + setp_detail_class_id(""); + } + + + if (mylocal_evaluation.class_eu_id) { + setp_detail_class_eu_id(mylocal_evaluation.class_eu_id); + } else { + setp_detail_class_eu_id(""); + } + + + if (mylocal_evaluation.type_eval_id) { + setp_detail_type_eval_id(mylocal_evaluation.type_eval_id); + } else { + setp_detail_type_eval_id(""); + } + + + if (mylocal_evaluation.eval_date_heure_debut) { + setp_detail_eval_date_heure_debut(mylocal_evaluation.eval_date_heure_debut); + } + + if (mylocal_evaluation.eval_date_heure_fin) + setp_detail_eval_date_heure_fin(mylocal_evaluation.eval_date_heure_fin); + + + if (mylocal_evaluation.statut) { + setp_detail_statut(mylocal_evaluation.statut); + } else { + setp_detail_statut(""); + } + + if (mylocal_evaluation.adress) { + setp_detail_adress(mylocal_evaluation.adress); + } else { + setp_detail_adress(""); + } + + + if (mylocal_evaluation.cp) { + setp_detail_cp(mylocal_evaluation.cp); + } else { + setp_detail_cp(""); + } + + if (mylocal_evaluation.ville) { + setp_detail_ville(mylocal_evaluation.ville); + } else { + setp_detail_ville(""); + } + + + if (mylocal_evaluation.pays) { + setp_detail_pays(mylocal_evaluation.pays); + } else { + setp_detail_pays(""); + } + + + if (mylocal_evaluation.responsable_id) { + setp_detail_responsable_id(mylocal_evaluation.responsable_id); + } else { + setp_detail_responsable_id(""); + } + + if (mylocal_evaluation.session_id) { + setp_detail_session_id(mylocal_evaluation.session_id); + } else { + setp_detail_session_id(""); + } + + + if (document.getElementById('myRef')) { + var divh = document.getElementById('myRef').offsetTop; + window.scrollTo({ + top: divh, + behavior: "smooth", + }); + } + + Disable_Evaluation_DetailFields(); + } else { + alert(" Aucune donnée recuperée"); + } + + + } else if (String(res.data.status) === String("Err_Connexion")) { + alert('Erreur: ' + res.data.message); + history.push("/Connexion"); + } + + else { + setLoading(false); + setGetAttendee_api("false"); + setGetAttendee_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( Get_Given_Evaluation_Data = ', error); + setGetAttendee_api("false"); + alert(" Impossible de recuperer les données de l'évaluation"); + //setmyApimyApiMessage("") + }) + } + + + const New_Option_Filter = [ + { "id": "class_external_code", "label": "Lié a la Formation (code externe) ", "value": "class_external_code" }, + { "id": "code_session", "label": "Lié a la Classe (code Classe) ", "value": "code_session" }, + { "id": "code_ue", "label": "Lié a l'UE (code UE) ", "value": "code_ue" }, + { "id": "", "label": "", "value": "" }, + { "id": "1", "label": "", "value": "1" }, // Cette ligne pour couvrir l'ajout d'une ligne de filter. C'est fait expres. + ] + + + const [New_Getall_Training_Employee_No_Filter_result, setNew_Getall_Training_Employee_No_Filter_result] = useState([]); + + const [Getall_Training_Employee_No_Filter_api, setGetall_Training_Employee_No_Filter_api] = useState(); + const [Getall_Training_Employee_No_Filter_message, setGetall_Training_Employee_No_Filter_message] = useState(); + const [Getall_Training_Employee_No_Filter_result, setGetall_Training_Employee_No_Filter_result] = useState([]); + function Getall_Training_Employee_No_Filter(event) { + + var form = new FormData(); + + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Ressource_Humaine_no_filter/"; + + + + axios.post(myurl, form).then(res => { + + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Training_Employee_No_Filter res.data.status = " + res.data.status); + //console.log(" In Getall_Training_Employee_No_Filter res.data.message r_class = " + res.data.message); + setGetall_Training_Employee_No_Filter_api("true"); + setGetall_Training_Employee_No_Filter_result(res.data.message); + setRows(res.data.message); + + var new_data2 = []; + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_nom = JSON.parse(x).nom; + var local_prenom = JSON.parse(x).prenom; + var local_ismanager = JSON.parse(x).ismanager; + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_nom + " " + local_prenom, + "nom": local_nom, + "prenom": local_prenom, + "ismanager": local_ismanager + }; + new_data2.push(node); + }); + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "nom": "", + "prenom": "", + "ismanager": "" + }; + new_data2.push(node); + + if (new_data2.length > 0) + setNew_Getall_Training_Employee_No_Filter_result(new_data2); + + } + else { + setGetall_Training_Employee_No_Filter_api("false"); + setGetall_Training_Employee_No_Filter_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( Getall_Training_Employee_No_Filter = ', error); + setGetall_Training_Employee_No_Filter_api("false"); + alert(" Impossible de recuperer la liste des employés"); + //setmyApimyApiMessage("") + }) + } + + + const [New_Getall_Partner_Evaluation_result, setNew_Getall_Partner_Evaluation_result] = useState([]); + + const [Getall_Partner_Evaluation_api, setGetall_Partner_Evaluation_api] = useState(); + const [Getall_Partner_Evaluation_message, setGetall_Partner_Evaluation_message] = useState(); + const [Getall_Partner_Evaluation_result, setGetall_Partner_Evaluation_result] = useState([]); + function Getall_Partner_Evaluation(event) { + + var form = new FormData(); + + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Evaluation_Planification_No_Filter/"; + + + + axios.post(myurl, form).then(res => { + + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Partner_Evaluation res.data.status = " + res.data.status); + //console.log(" In Getall_Partner_Evaluation res.data.message r_class = " + res.data.message); + setGetall_Partner_Evaluation_api("true"); + setGetall_Partner_Evaluation_result(res.data.message); + + + var new_data2 = []; + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_code = JSON.parse(x).code; + var local_titre = JSON.parse(x).titre; + var local_class_id = JSON.parse(x).class_id; + var local_class_eu_id = JSON.parse(x).class_eu_id; + var local_type_eval_id = JSON.parse(x).type_eval_id; + + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code, + "code": local_code, + "titre": local_titre, + "class_id": local_class_id, + "local_class_eu_id": local_class_eu_id, + "local_type_eval_id": local_type_eval_id, + + }; + new_data2.push(node); + }); + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "code": "", + "titre": "", + "class_id": "", + "local_class_eu_id": "", + "local_type_eval_id": "", + + }; + new_data2.push(node); + + if (new_data2.length > 0) + setNew_Getall_Partner_Evaluation_result(new_data2); + + } + else { + setGetall_Partner_Evaluation_api("false"); + setGetall_Partner_Evaluation_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( Getall_Partner_Evaluation = ', error); + setGetall_Partner_Evaluation_api("false"); + alert(" Impossible de recuperer la liste des évaluations"); + //setmyApimyApiMessage("") + }) + } + + const [gridline_id, setgridline_id] = useState(""); + + + const [New_Getall_Partner_Class_Reduice_Fields_result, setNew_Getall_Partner_Class_Reduice_Fields_result] = useState([]); + + const [Getall_Partner_Class_Reduice_Fields_api, setGetall_Partner_Class_Reduice_Fields_api] = useState(); + const [Getall_Partner_Class_Reduice_Fields_message, setGetall_Partner_Class_Reduice_Fields_message] = useState(); + const [Getall_Partner_Class_Reduice_Fields_result, setGetall_Partner_Class_Reduice_Fields_result] = useState(); + function Getall_Partner_Class_Reduice_Fields(event) { + + var form = new FormData(); + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Partner_All_Class_Few_Fields/"; + + axios.post(myurl, form).then(res => { + + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Partner_Class_Reduice_Fields res.data.status = " + res.data.status); + //console.log(" In Getall_Partner_Class_Reduice_Fields res.data.message r_class = " + res.data.message); + setGetall_Partner_Class_Reduice_Fields_api("true"); + setGetall_Partner_Class_Reduice_Fields_result(res.data.message); + setRows(res.data.message); + + var new_data2 = []; + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_external_code = JSON.parse(x).external_code; + var local_internal_code = JSON.parse(x).internal_code; + var local_internal_url = JSON.parse(x).internal_url; + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_external_code, + "external_code": local_external_code, + "internal_code": local_internal_code, + "internal_url": local_internal_url + }; + new_data2.push(node); + }); + + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "external_code": "", + "internal_code": "", + "internal_url": "" + }; + new_data2.push(node); + + + if (new_data2.length > 0) + setNew_Getall_Partner_Class_Reduice_Fields_result(new_data2); + + } + else { + setGetall_Partner_Class_Reduice_Fields_api("false"); + setGetall_Partner_Class_Reduice_Fields_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( Getall_Partner_Class_Reduice_Fields = ', error); + setGetall_Partner_Class_Reduice_Fields_api("false"); + alert(" Impossible de recuperer la liste des formations"); + //setmyApimyApiMessage("") + }) + } + + + + const [New_Getall_Partner_Session_Reduice_Fields_result, setNew_Getall_Partner_Session_Reduice_Fields_result] = useState([]); + + const [Getall_Partner_Session_Reduice_Fields_api, setGetall_Partner_Session_Reduice_Fields_api] = useState(); + const [Getall_Partner_Session_Reduice_Fields_message, setGetall_Partner_Session_Reduice_Fields_message] = useState(); + const [Getall_Partner_Session_Reduice_Fields_result, setGetall_Partner_Session_Reduice_Fields_result] = useState(); + function Getall_Partner_Session_Reduice_Fields(event) { + + var form = new FormData(); + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Partner_Session_Ftion_Reduice_Fields/"; + + axios.post(myurl, form).then(res => { + + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Partner_Session_Reduice_Fields res.data.status = " + res.data.status); + //console.log(" In Getall_Partner_Session_Reduice_Fields res.data.message r_class = " + res.data.message); + setGetall_Partner_Session_Reduice_Fields_api("true"); + setGetall_Partner_Session_Reduice_Fields_result(res.data.message); + setRows(res.data.message); + + var new_data2 = []; + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_code_session = JSON.parse(x).code_session; + var local_titre = JSON.parse(x).titre; + var local_class_internal_url = JSON.parse(x).class_internal_url; + + var local_date_debut = JSON.parse(x).date_debut; + var local_date_fin = JSON.parse(x).date_fin; + + + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code_session, + "code_session": local_code_session, + "titre": local_titre, + "class_internal_url": local_class_internal_url, + "date_debut": local_date_debut, + "date_fin": local_date_fin, + }; + new_data2.push(node); + }); + + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "code_session": "", + "titre": "", + "class_internal_url": "", + "date_debut": "", + "date_fin": "", + }; + new_data2.push(node); + + + if (new_data2.length > 0) + setNew_Getall_Partner_Session_Reduice_Fields_result(new_data2); + + } + else { + setGetall_Partner_Session_Reduice_Fields_api("false"); + setGetall_Partner_Session_Reduice_Fields_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( Getall_Partner_Session_Reduice_Fields = ', error); + setGetall_Partner_Session_Reduice_Fields_api("false"); + alert(" Impossible de recuperer la liste des sessions de formation (classe)"); + //setmyApimyApiMessage("") + }) + } + + + + const [New_Getall_Partner_List_UE_result, setNew_Getall_Partner_List_UE_result] = useState([]); + + const [Getall_Partner_List_UE_api, setGetall_Partner_List_UE_api] = useState(); + const [Getall_Partner_List_UE_message, setGetall_Partner_List_UE_message] = useState(); + const [Getall_Partner_List_UE_result, setGetall_Partner_List_UE_result] = useState(); + function Getall_Partner_List_UE(event) { + + var form = new FormData(); + + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Unite_Enseignement_no_filter/"; + + setLoading(true); + + axios.post(myurl, form).then(res => { + + + setLoading(false); + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Partner_List_UE res.data.status = " + res.data.status); + //console.log(" In Getall_Partner_List_UE res.data.message r_class = " + res.data.message); + setGetall_Partner_List_UE_api("true"); + setGetall_Partner_List_UE_result(res.data.message); + + var new_data2 = []; + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_code = JSON.parse(x).code; + var local_titre = JSON.parse(x).titre; + + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code, + "code": local_code, + "titre": local_titre, + + }; + new_data2.push(node); + }); + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "code": "", + "titre": "", + "credit": "", + "pres_dist_hyp": "", + "is_noted": "", + + }; + new_data2.push(node); + + if (new_data2.length > 0) + setNew_Getall_Partner_List_UE_result(new_data2); + } + else { + setGetall_Partner_List_UE_api("false"); + setGetall_Partner_List_UE_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + + setLoading(false); + console.warn('Not good man :( Getall_Partner_List_UE = ', error); + setGetall_Partner_List_UE_api("false"); + alert(" Impossible de recuperer la liste des UE de la formation"); + //setmyApimyApiMessage("") + }) + } + + const [New_Getall_Partner_Type_Evalution_List_result, setNew_Getall_Partner_Type_Evalution_List_result] = useState([]); + + const [Getall_Partner_Type_Evalution_List_api, setGetall_Partner_Type_Evalution_List_api] = useState(); + const [Getall_Partner_Type_Evalution_List_message, setGetall_Partner_Type_Evalution_List_message] = useState(); + const [Getall_Partner_Type_Evalution_List_result, setGetall_Partner_Type_Evalution_List_result] = useState([]); + function Getall_Partner_Type_Evalution_List(event) { + + var form = new FormData(); + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Type_Evaluation/"; + + setLoading(true); + + axios.post(myurl, form).then(res => { + + + setLoading(false); + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Partner_Type_Evalution_List res.data.status = " + res.data.status); + //console.log(" In Getall_Partner_Type_Evalution_List res.data.message r_class = " + res.data.message); + setGetall_Partner_Type_Evalution_List_api("true"); + setGetall_Partner_Type_Evalution_List_result(res.data.message); + + var new_data2 = []; + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_code = JSON.parse(x).code; + var local_nom = JSON.parse(x).nom; + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code, + "code": local_code, + "nom": local_nom, + + + }; + new_data2.push(node); + }); + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "code": "", + "nom": "", + + }; + new_data2.push(node); + + if (new_data2.length > 0) + setNew_Getall_Partner_Type_Evalution_List_result(new_data2); + } + else { + setGetall_Partner_Type_Evalution_List_api("false"); + setGetall_Partner_Type_Evalution_List_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + + setLoading(false); + console.warn('Not good man :( Getall_Partner_Type_Evalution_List = ', error); + setGetall_Partner_Type_Evalution_List_api("false"); + alert(" Impossible de recuperer la liste des types d'evaluation"); + //setmyApimyApiMessage("") + }) + } + + + useEffect(() => { + Getall_Partner_Class_Reduice_Fields(); + Getall_Partner_Session_Reduice_Fields(); + Getall_Partner_List_UE(); + Getall_Partner_Type_Evalution_List(); + Getall_Training_Employee_No_Filter(); + + Getall_Partner_Evaluation(); + + window.scrollTo({ + top: 0, + behavior: "smooth", + }); + + }, []) + + const myRef_head = useRef(null); + function clean_all_filters() { + setgridline_id(''); + setp_filtre1(""); + setp_filtre1_value(""); + + setp_filtre2(""); + setp_filtre2_value(""); + + setp_filtre3(""); + setp_filtre3_value(""); + + setp_filtre4(""); + setp_filtre4_value(""); + + Getall_Partner_Evaluation(); + } + + const [Getall_Training_Employee_With_Filter_api, setGetall_Training_Employee_With_Filter_api] = useState(); + const [Getall_Training_Employee_With_Filter_message, setGetall_Training_Employee_With_Filter_message] = useState(); + const [Getall_Training_Employee_With_Filter_result, setGetall_Training_Employee_With_Filter_result] = useState(); + function Getall_Training_Employee_With_Filter(event) { + + var form = new FormData(); + + + // Recuperation des parametres + var filtre1 = p_filtre1; + var filtre2 = p_filtre2; + var filtre3 = p_filtre3; + var filtre4 = p_filtre4; + + var filtre1_value = ""; + var filtre2_value = ""; + var filtre3_value = ""; + var filtre4_value = ""; + // Recuperation des valeurs de filtres + + if (p_filtre1_value) { + filtre1_value = p_filtre1_value; + form.append(filtre1, filtre1_value); + } + + if (p_filtre2_value) { + filtre2_value = p_filtre2_value; + form.append(filtre2, filtre2_value); + } + + if (p_filtre3_value) { + filtre3_value = p_filtre3_value; + form.append(filtre3, p_filtre3_value); + } + + if (p_filtre4_value) { + filtre4_value = p_filtre4_value; + form.append(filtre4, p_filtre4_value); + } + + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Evaluation_Planification_With_Filter/"; + + + + axios.post(myurl, form).then(res => { + + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Training_Employee_With_Filter res.data.status = " + res.data.status); + //console.log(" In Getall_Training_Employee_With_Filter res.data.message r_class = " + res.data.message); + setGetall_Training_Employee_With_Filter_api("true"); + setGetall_Training_Employee_With_Filter_result(res.data.message); + + setGetall_Partner_Evaluation_result(res.data.message); + + + + var new_data2 = []; + const new_data = res.data.message.map((x) => { + + //--- + var localid = JSON.parse(x).id; + var local_id = JSON.parse(x)._id; + var local_code = JSON.parse(x).code; + var local_titre = JSON.parse(x).titre; + var local_class_id = JSON.parse(x).class_id; + var local_class_eu_id = JSON.parse(x).class_eu_id; + var local_type_eval_id = JSON.parse(x).type_eval_id; + + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code, + "code": local_code, + "titre": local_titre, + "class_id": local_class_id, + "local_class_eu_id": local_class_eu_id, + "local_type_eval_id": local_type_eval_id, + + }; + new_data2.push(node); + }); + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "code": "", + "titre": "", + "class_id": "", + "local_class_eu_id": "", + "local_type_eval_id": "", + + }; + new_data2.push(node); + + if (new_data2.length > 0) + setNew_Getall_Partner_Evaluation_result(new_data2); + + } + else { + setGetall_Training_Employee_With_Filter_api("false"); + setGetall_Training_Employee_With_Filter_message(res.data.message); + } + + }).catch((error) => { + console.warn('Not good man :( Getall_Training_Employee_With_Filter = ', error); + setGetall_Training_Employee_With_Filter_api("false"); + //setmyApimyApiMessage("") + }) + } + + + const [Add_Update_Evaluation_Data_api, setAdd_Update_Evaluation_Data_api] = useState(); + const [Add_Update_Evaluation_Data_message, setAdd_Update_Evaluation_Data_message] = useState(); + const [Add_Update_Evaluation_Data_result, setAdd_Update_Evaluation_Data_result] = useState(); + function Add_Update_Evaluation_Data() { + var form = new FormData(); + //form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA"); + + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + form.append("code", p_detail_code); + form.append("titre", p_detail_titre); + form.append("description", p_detail_description); + form.append("comment", p_detail_comment); + form.append("class_id", p_detail_class_id); + form.append("class_eu_id", p_detail_class_eu_id); + form.append("type_eval_id", p_detail_type_eval_id); + + form.append("eval_date_heure_debut", p_detail_eval_date_heure_debut); + form.append("eval_date_heure_fin", p_detail_eval_date_heure_fin); + form.append("statut", p_detail_statut); + form.append("adress", p_detail_adress); + form.append("cp", p_detail_cp); + form.append("ville", p_detail_ville); + + form.append("pays", p_detail_pays); + form.append("responsable_id", p_detail_responsable_id); + form.append("session_id", p_detail_session_id); + + var myurl = ""; + + if (selected_id && String(selected_id).length > 5 && gridline_id) { + form.append("evaluation_id", selected_id); + myurl = process.env.REACT_APP_API_URL + "myclass/api/Update_Evaluation_Planification/"; + } else { + myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_Evaluation_Planification/"; + } + + + + setLoading(true); + axios.post(myurl, form).then(res => { + //console.log(" In Add_Update_Evaluation_Data res.data.status = " + res.data.status); + //console.log(" In Add_Update_Evaluation_Data res.data.message r_class = " + res.data.message); + + setLoading(false); + + if (String(res.data.status) === String("true")) { + setAdd_Update_Evaluation_Data_api("true"); + setAdd_Update_Evaluation_Data_result(res.data.message); + + Disable_Evaluation_DetailFields(); + setevaluation_data_changed(""); + setevaluation_data_edit_mode(""); + + + if (selected_id && String(selected_id).length > 5) { + Disable_Evaluation_DetailFields(); + setevaluation_data_changed(""); + setevaluation_data_edit_mode(""); + setdisplay_evaluation('1'); + + } else { + Disable_Evaluation_DetailFields(); + setevaluation_data_changed(""); + setevaluation_data_edit_mode(""); + setdisplay_evaluation(""); + setadd_one_evaluation(""); + setsubmenu(""); + } + + Getall_Partner_Evaluation(); + + + alert(res.data.message); + + if (document.getElementById('myRef')) { + // myRef.current.scrollIntoView({ behavior: "smooth" }); + var divh = document.getElementById('myRef').offsetTop; + window.scrollTo({ + top: divh, + behavior: "smooth", + }); + } + + } + else { + setAdd_Update_Evaluation_Data_api("false"); + setAdd_Update_Evaluation_Data_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + setLoading(false); + + console.log('UpdateStagiaireData : Not good man :( Add_Update_Evaluation_Data = ' + error); + setAdd_Update_Evaluation_Data_api("false"); + alert(" Impossible d'ajouter ou mettre à jour l'évaluation"); + + }) + } + + function Annule_Evaluaton_DetailFields() { + Get_Given_Evaluation_Data(selected_id); + + setevaluation_data_changed(""); + setevaluation_data_edit_mode(""); + + } + + + const [p_detail_code, setp_detail_code] = React.useState(""); + const [p_detail_titre, setp_detail_titre] = React.useState(""); + const [p_detail_description, setp_detail_description] = React.useState(""); + const [p_detail_comment, setp_detail_comment] = React.useState(""); + const [p_detail_class_id, setp_detail_class_id] = React.useState(""); + const [p_detail_class_eu_id, setp_detail_class_eu_id] = React.useState(""); + const [p_detail_type_eval_id, setp_detail_type_eval_id] = React.useState(""); + + const [p_detail_eval_date_heure_debut, setp_detail_eval_date_heure_debut] = useState(new Date()); + const [p_detail_eval_date_heure_fin, setp_detail_eval_date_heure_fin] = useState(new Date()); + + const [p_detail_statut, setp_detail_statut] = React.useState(""); + const [p_detail_adress, setp_detail_adress] = React.useState(""); + const [p_detail_cp, setp_detail_cp] = React.useState(""); + const [p_detail_ville, setp_detail_ville] = React.useState(""); + const [p_detail_pays, setp_detail_pays] = React.useState(""); + const [p_detail_responsable_id, setp_detail_responsable_id] = React.useState(""); + const [p_detail_session_id, setp_detail_session_id] = React.useState(""); + + function clear_DetailFieds() { + + setp_detail_code(""); + setp_detail_titre(""); + setp_detail_description(""); + setp_detail_comment(""); + setp_detail_class_id(""); + setp_detail_class_eu_id(""); + setp_detail_type_eval_id(""); + + setp_detail_eval_date_heure_debut(new Date()); + setp_detail_eval_date_heure_fin(new Date()); + + setp_detail_statut(""); + setp_detail_adress(""); + setp_detail_cp(""); + setp_detail_ville(""); + setp_detail_pays(""); + setp_detail_responsable_id(""); + setp_detail_session_id(""); + } + + const myRef = useRef(null) + + function Enable_Evaluation_DetailFields() { + setevaluation_data_edit_mode("1"); + + var liste_champs = ['detail_code', 'detail_titre', 'detail_description', 'detail_classe', + 'detail_ftion', 'detail_ue', 'detail_type_eval', 'detail_debut', 'detail_fin', 'detail_adresse', + 'detail_cp', 'detail_ville', 'detail_pays', 'detail_responsable'] + + for (let i = 0; i < liste_champs.length; i++) { + if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { + document.getElementsByName(String(liste_champs[i]))[0].disabled = false; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#FFFFFF"; + + } + } + } + + + const sleep = (milliseconds) => { + return new Promise(resolve => setTimeout(resolve, milliseconds)) + } + + + async function Disable_Evaluation_DetailFields() { + sleep(10); + setevaluation_data_edit_mode("0"); + + var liste_champs = ['detail_code', 'detail_titre', 'detail_description', 'detail_classe', + 'detail_ftion', 'detail_ue', 'detail_type_eval', 'detail_debut', 'detail_fin', 'detail_adresse', + 'detail_cp', 'detail_ville', 'detail_pays', 'detail_responsable'] + + + for (let i = 0; i < liste_champs.length; i++) { + if (document.getElementsByName(String(liste_champs[i])) && document.getElementsByName(String(liste_champs[i]))[0]) { + document.getElementsByName(String(liste_champs[i]))[0].disabled = true; + document.getElementsByName(String(liste_champs[i]))[0].style.backgroundColor = "#ECEFF1"; + + } + } + } + + + function planifier_one_evaluation() { + setevaluation_data_edit_mode(""); + setevaluation_data_changed(""); + setdisplay_evaluation(""); + setselected_id(""); + + setadd_one_evaluation("1"); + setsubmenu("add_eval"); + + } + + + function Annule_Add_One_Evaluaton_DetailFields() { + setevaluation_data_edit_mode(""); + setevaluation_data_changed(""); + setdisplay_evaluation(""); + setselected_id(""); + + setadd_one_evaluation(""); + setsubmenu(""); + + } + + return ( +
+ {isLoading &&
+
+
} + +

Les Evaluations

+
+
Utilisez les filtres !
+
+
+ + {New_Option_Filter && New_Option_Filter.length > 0 && (data).value === String(p_filtre1))[0].label} + options={New_Option_Filter} + onChange={(event, value) => { + if (value && value.value) { + setp_filtre1(value.value); + + } + + }} + + renderInput={(params) => + } + />} + + +
+ + + +
+ {p_filtre1 && + { setp_filtre1_value(e.target.value); }} + InputProps={{ + endAdornment: ( + + { + setp_filtre1_value(""); + }} /> + + ), + }} + + /> + + } +
+ {p_filtre1 && } + {p_filtre1 && } + + +
+ + {p_filtre2 && +
+
+ + {New_Option_Filter && New_Option_Filter.length > 0 && (data).value === String(p_filtre2))[0].label} + options={New_Option_Filter} + onChange={(event, value) => { + if (value && value.value) { + setp_filtre2(value.value); + + } + + }} + + renderInput={(params) => + } + />} + +
+
+ {String(p_filtre2).length > 2 && + setp_filtre2_value(e.target.value)} + InputProps={{ + endAdornment: ( + + { + setp_filtre2_value(""); + }} /> + + ), + }} + + />} +
+ + {String(p_filtre2).length > 2 && } + + {String(p_filtre2).length > 2 && } + +
+ } + + + {p_filtre3 && +
+
+ + {New_Option_Filter && New_Option_Filter.length > 0 && (data).value === String(p_filtre3))[0].label} + options={New_Option_Filter} + onChange={(event, value) => { + if (value && value.value) { + setp_filtre3(value.value); + + } + + }} + + renderInput={(params) => + } + />} + + +
+
+ {String(p_filtre3).length > 2 && + setp_filtre3_value(e.target.value)} + InputProps={{ + endAdornment: ( + + { + setp_filtre3_value(""); + }} /> + + ), + }} + + />} +
+ + {String(p_filtre2).length > 2 && } + + {String(p_filtre3).length > 2 && } +
+ } + + +
+ +
+ +
+ +
+ + +
+ +
+ +
+
+ + +
+ +
+
+ +
+ +   + + { + setselectionModel_evalutions(newSelectionModel); + /*if (newSelectionModel.length === 1) + handleClick_edit_employee_From_Line(newSelectionModel);*/ + if (newSelectionModel.length !== 1) { + /* setsubmenu(); + setdisplay_detail_employe(); + setadd_One_Employee();*/ + } + }} + selectionModel={selectionModel_evalutions} + + localeText={frFR.components.MuiDataGrid.defaultProps.localeText} + rows={Getall_Partner_Evaluation_result.map((item, index) => ( + { + id: index, + _id: JSON.parse(item)._id, + code: JSON.parse(item).code, + titre: JSON.parse(item).titre, + class_id: JSON.parse(item).class_id, + class_eu_id: JSON.parse(item).class_eu_id, + type_eval_id: JSON.parse(item).type_eval_id, + statut: JSON.parse(item).statut, + session_id: JSON.parse(item).session_id, + + + } + ))} + + columns={columns_evalutions} + pageSize={10} + className="datagridclass" + + onRowDoubleClick={(newSelectionModel) => { + setselected_id(newSelectionModel.row._id); + + setgridline_id(newSelectionModel.row.id); + + handleClick_edit_evaluation_From_Line(newSelectionModel.row.id); + + + }} + + rowsPerPageOptions={[10]} + disableSelectionOnClick + components={{ + Toolbar: GridToolbar, + }} + //sx={datagridSx} + getCellClassName={(params) => { + + + + }} + getRowClassName={(params) => { + // Pour la gestion de la couleur de zone double cliquée + if (String(params.row.id) === String(gridline_id)) { + return 'line--statut--selected'; + } + else if (parseInt(String(params.row.id)) % 2 === 0) { + return 'line--statut--pair'; + } + else if (parseInt(String(params.row.id)) % 2 !== 0) { + return 'line--statut--impair'; + } + + + }} + getEstimatedRowHeight={() => 200} + getRowHeight={() => "auto"} + sx={{ + "& .MuiDataGrid-cellContent": { + minHeight: 50, + + } + }} + + /> + +
+ +
+ + +
+
+ +
+ +
+ + +
+
+
+ +
 
+ + + {String(submenu) === "detail_evaluation" && String(display_evaluation) === "1" &&
+
+ + + + + + +
+ + + + {String(evaluation_data_edit_mode) !== "1" &&
+ +
+
Code
+ + +
+ +
titre
+ + +
+ +
Description
+ + +
+ +
Classe
+ {New_Getall_Partner_Session_Reduice_Fields_result && New_Getall_Partner_Session_Reduice_Fields_result.length > 0 && (data)._id === String(p_detail_session_id))[0].label} + + />} + +
+ +
Formation
+ {New_Getall_Partner_Class_Reduice_Fields_result && New_Getall_Partner_Class_Reduice_Fields_result.length > 0 && (data)._id === String(p_detail_class_id))[0].label} + + />} + +
+ + +
Unite D'enseignement
+ {New_Getall_Partner_List_UE_result && New_Getall_Partner_List_UE_result.length > 0 && (data)._id === String(p_detail_class_eu_id))[0].label} + + />} + +
+ +
Type d'évaluation
+ {New_Getall_Partner_Type_Evalution_List_result && New_Getall_Partner_Type_Evalution_List_result.length > 0 && (data)._id === String(p_detail_type_eval_id))[0].label} + + />} + +
+ +
Début
+ + +
+ +
Fin
+ + +
+ + + +
Adresse
+ + +
+ +
Code postal
+ + +
+ + +
Ville
+ + +
+ + + +
Pays
+ + +
+ + + +
Responsable
+ {New_Getall_Training_Employee_No_Filter_result && New_Getall_Training_Employee_No_Filter_result.length > 0 && (data)._id === String(p_detail_responsable_id))[0].label} + + />} + +
+
+   +
+
+ + + +
} + + + {String(evaluation_data_edit_mode) === "1" &&
+ +
+
Code
+ { + setp_detail_code(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ +
titre
+ { + setp_detail_titre(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ +
Description
+ { + setp_detail_description(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ +
Classe
+ {New_Getall_Partner_Session_Reduice_Fields_result && New_Getall_Partner_Session_Reduice_Fields_result.length > 0 && + + (data)._id === String(p_detail_session_id))[0].label} + onChange={(event, value) => { + if (value && value._id) { + setp_detail_session_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_session_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+ +
Formation
+ {New_Getall_Partner_Class_Reduice_Fields_result && New_Getall_Partner_Class_Reduice_Fields_result.length > 0 && + + (data)._id === String(p_detail_class_id))[0].label} + onChange={(event, value) => { + if (value && value._id) { + setp_detail_class_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_class_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+ + +
Unite D'enseignement
+ {New_Getall_Partner_List_UE_result && New_Getall_Partner_List_UE_result.length > 0 && + + (data)._id === String(p_detail_class_eu_id))[0].label} + + onChange={(event, value) => { + if (value && value._id) { + setp_detail_class_eu_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_class_eu_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+ +
Type d'évaluation
+ {New_Getall_Partner_Type_Evalution_List_result && New_Getall_Partner_Type_Evalution_List_result.length > 0 && + (data)._id === String(p_detail_type_eval_id))[0].label} + + onChange={(event, value) => { + if (value && value._id) { + setp_detail_type_eval_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_type_eval_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+ +
Début
+ { + setp_detail_eval_date_heure_debut(format(date, 'dd/MM/yyyy HH:mm')); + setevaluation_data_changed("1"); + } + } + + + className="disabled_style enable_style" + locale='fr-FR' + showTimeSelect + timeFormat="HH:mm" + timeIntervals={15} + dateFormat="dd/MM/yyyy HH:mm" + is24Hour + + /> + +
+ + + +
Fin
+ { + + setp_detail_eval_date_heure_fin(format(date, 'dd/MM/yyyy HH:mm')); + setevaluation_data_changed("1"); + } + } + + + className="disabled_style enable_style" + locale='fr-FR' + showTimeSelect + timeFormat="HH:mm" + timeIntervals={15} + dateFormat="dd/MM/yyyy HH:mm" + is24Hour + + /> + +
+ + + +
Adresse
+ { + setp_detail_adress(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ +
Code postal
+ { + setp_detail_cp(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ + +
Ville
+ { + setp_detail_ville(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ + + +
Pays
+ { + setp_detail_pays(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ + + + +
Responsable
+ {New_Getall_Training_Employee_No_Filter_result && New_Getall_Training_Employee_No_Filter_result.length > 0 && + + (data)._id === String(p_detail_responsable_id))[0].label} + + onChange={(event, value) => { + if (value && value._id) { + setp_detail_responsable_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_responsable_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+
+   +
+ +
+
+   +
+
} + +
+   +
+
+ {String(evaluation_data_changed) === "1" && String(evaluation_data_edit_mode) === "1" &&
+ /!\ Pensez à enregistrer les modifications +
} + + +
+ + {String(evaluation_data_changed) === "1" && String(evaluation_data_edit_mode) === "1" &&
+ + + +
} + + {String(evaluation_data_edit_mode) === "1" &&
+ +
} +
+ + + {String(evaluation_data_edit_mode) !== "1" &&
+ + + +
} +
+   +
+
+ +
} + + + {String(submenu) === "add_eval" && String(add_one_evaluation) === "1" &&
+ + Planifier une nouvelle évaluation
+ +
+ +
+
Code
+ { + setp_detail_code(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ +
titre
+ { + setp_detail_titre(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ +
Description
+ { + setp_detail_description(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ +
Classe
+ {New_Getall_Partner_Session_Reduice_Fields_result && New_Getall_Partner_Session_Reduice_Fields_result.length > 0 && + + (data)._id === String(p_detail_session_id))[0].label} + onChange={(event, value) => { + if (value && value._id) { + setp_detail_session_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_session_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+ +
Formation
+ {New_Getall_Partner_Class_Reduice_Fields_result && New_Getall_Partner_Class_Reduice_Fields_result.length > 0 && + + (data)._id === String(p_detail_class_id))[0].label} + onChange={(event, value) => { + if (value && value._id) { + setp_detail_class_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_class_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+ + +
Unite D'enseignement
+ {New_Getall_Partner_List_UE_result && New_Getall_Partner_List_UE_result.length > 0 && + + (data)._id === String(p_detail_class_eu_id))[0].label} + + onChange={(event, value) => { + if (value && value._id) { + setp_detail_class_eu_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_class_eu_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+ +
Type d'évaluation
+ {New_Getall_Partner_Type_Evalution_List_result && New_Getall_Partner_Type_Evalution_List_result.length > 0 && + (data)._id === String(p_detail_type_eval_id))[0].label} + + onChange={(event, value) => { + if (value && value._id) { + setp_detail_type_eval_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_type_eval_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+ +
Début
+ { + setp_detail_eval_date_heure_debut(format(date, 'dd/MM/yyyy HH:mm')); + setevaluation_data_changed("1"); + } + } + + + className="disabled_style enable_style" + locale='fr-FR' + showTimeSelect + timeFormat="HH:mm" + timeIntervals={15} + dateFormat="dd/MM/yyyy HH:mm" + is24Hour + + /> + +
+ + + +
Fin
+ { + + setp_detail_eval_date_heure_fin(format(date, 'dd/MM/yyyy HH:mm')); + setevaluation_data_changed("1"); + } + } + + + className="disabled_style enable_style" + locale='fr-FR' + showTimeSelect + timeFormat="HH:mm" + timeIntervals={15} + dateFormat="dd/MM/yyyy HH:mm" + is24Hour + + /> + +
+ + + +
Adresse
+ { + setp_detail_adress(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ +
Code postal
+ { + setp_detail_cp(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ + +
Ville
+ { + setp_detail_ville(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ + + +
Pays
+ { + setp_detail_pays(e.target.value); + setevaluation_data_changed("1"); + } + } + /> + +
+ + + + +
Responsable
+ {New_Getall_Training_Employee_No_Filter_result && New_Getall_Training_Employee_No_Filter_result.length > 0 && + + (data)._id === String(p_detail_responsable_id))[0].label} + + onChange={(event, value) => { + if (value && value._id) { + setp_detail_responsable_id(value._id); + setevaluation_data_changed("1"); + } else { + setp_detail_responsable_id(""); + setevaluation_data_changed("1"); + } + }} + + renderInput={(params) => + } + /> + + } + +
+
+   +
+ +
+
+   +
+
+ +
+   +
+
+ + + +
+ +
+ + + +
+ +
+ +
+
+ + + {String(evaluation_data_edit_mode) !== "1" &&
+ + + +
} +
+   +
+
+ +
} + +
+ ); +} + +export default Notes_Evaluation; diff --git a/src/components/Partner.js b/src/components/Partner.js index 3ef026b..5ec612e 100644 --- a/src/components/Partner.js +++ b/src/components/Partner.js @@ -107,6 +107,8 @@ import LocalOfferIcon from '@mui/icons-material/LocalOffer'; import DisplayPartnerUnite_Enseignement from "./DisplayPartnerUnite_Enseignement"; import Partner_Domaine_Categorie_Metier from "./Partner_Domaine_Categorie_Metier"; import Partner_Config_Ftion_Initiale from "./Partner_Config_Ftion_Initiale"; +import Notes_Evaluation from "./Notes_Evaluation"; +import ScoreboardIcon from '@mui/icons-material/Scoreboard'; const Partner = (props) => { const { commingmenu, commingpack } = useParams(); @@ -416,7 +418,7 @@ const Partner = (props) => { "config_champ_specific", "module_agenda", "config_session_steps", "config_jours_heures", "dashbord_formation", "dashbord_session", "mon_tableau_de_bord", "prix_achat", "mes_apprenants", "dashbord_ressources_humaines", "dashbord_inscriptions", "mes_salles", "mes_opportunites", "config_formulaires", "dashbord_factures", "mes_ue", - "domaine_categorie_metier", "config_formation_initiale"] + "domaine_categorie_metier", "config_formation_initiale", "note_evaluation"] if (action && list_menu.includes(action)) { @@ -451,7 +453,7 @@ const Partner = (props) => { function inactive_active_menu_header(current_menu_header) { const list_menu_header_names = ['my_account', 'my_class', 'my_session', 'my_apprenant', 'my_ressource', 'my_planning', 'my_partners', 'my_invoices', 'my_prix_achat', 'my_e_learning', 'my_configuration', 'my_tbd', 'my_ue', 'domaine_categorie_metier', - 'config_formation_initiale'] + 'config_formation_initiale', 'note_evaluation'] for (let i = 0; i < list_menu_header_names.length; i++) { if (document.getElementsByName(String(list_menu_header_names[i])) && document.getElementsByName(String(list_menu_header_names[i]))[0]) { document.getElementsByName(String(list_menu_header_names[i]))[0].style.fontWeight = "400"; @@ -467,7 +469,7 @@ const Partner = (props) => { function inactive_active_menu_header_from_url_action(url_action) { const list_menu_header_names = ['my_account', 'my_class', 'my_session', 'my_apprenant', 'my_ressource', 'my_planning', 'my_partners', 'my_invoices', 'my_prix_achat', 'my_e_learning', 'my_configuration', 'my_tbd', 'my_ue', 'domaine_categorie_metier', - 'config_formation_initiale'] + 'config_formation_initiale', 'note_evaluation'] for (let i = 0; i < list_menu_header_names.length; i++) { if (document.getElementsByName(String(list_menu_header_names[i])) && document.getElementsByName(String(list_menu_header_names[i]))[0]) { document.getElementsByName(String(list_menu_header_names[i]))[0].style.fontWeight = "400"; @@ -830,6 +832,22 @@ const Partner = (props) => { } } + function Display_note_evaluation_func(event) { + var security_retval = check_user_acces_right("note_evaluation", "read"); + + if (security_retval === 1) { + setmenu("note_evaluation"); + setapiexcelimportmessage(); + setformation_file_name(); + history.push("/Partner/note_evaluation"); + document.body.style.backgroundColor = "#ffffff"; + + inactive_active_menu_header("note_evaluation"); + } else { + Dialog_1_handle_acces_insuffisant("Vos droits ne sont pas suffisants pour acceder à la gestion des sessions"); + } + } + function DiplayStagiaireList(event) { var security_retval = check_user_acces_right("stagiaire", "read"); if (security_retval === 1) { @@ -1533,14 +1551,16 @@ const Partner = (props) => { {String(menu) !== "mes_sessions" &&    SESSIONS } {String(menu) === "mes_sessions" &&   SESSIONS } - - - - - + {String(formation_initiale) === "1" && +
+ + {String(menu) !== "note_evaluation" &&    NOTES & EVALUATIONS } + {String(menu) === "note_evaluation" &&   NOTES & EVALUATIONS } + +
}
@@ -1754,1048 +1774,1069 @@ const Partner = (props) => {
} - {left_menu === true &&
- {String(firstConnexion) === "1" && String(part_is_partner_admin_account) === "1" && -
-
- Cher partenaire, c'est votre première connexion,
 
- Nous sommes ravis de vous accueillir dans notre aventure MySy. - Pour commencer à publier vos formations, veuillez choisir une formule d'abonnement en cliquant
-  
Merci. -
- -
} - - {String(firstConnexion) === "1" && String(part_is_partner_admin_account) !== "1" && -
-
- Cher Utilisateur, c'est votre première connexion,
 
- Nous sommes ravis de vous accueillir dans notre aventure MySy. Nous vous invitons à modifier votre mot de passe à partir du menu "MES INFORMATIONS" ==> Bouton "SECURITE"

-
-  
Merci. -
- -
} - - - {String(myApiResponse) === String("false") &&
-
Impossible de contacter l'hote distant. Merci de contacter votre administrateur
-
- - } - - {String(menu) === "affichage" && -
- - -
- } - - - {String(menu) === "mes_ue" && -
- - -
- } - - {String(menu) === "domaine_categorie_metier" && -
- - -
- } - - - {String(menu) === "config_formation_initiale" && -
- - -
- } - - - - - - - {String(menu) === "checkout" &&
- - -
- - } - - {String(menu) === "creation" && -
- - -
- {String(apiexcelimportmessage) === String("true") && -
- {excelimportmessage}
 
- -
- - } - {String(apiexcelimportmessage) === String("false") && -
- Impossible de traiter le fichier
- {excelimportmessage} -
 
-
- - } - - {String(apiexcelimportmessage) === String("-1") && -
- Impossible de traiter le fichier
 
-
- - } - - -
-
- - - {String(partnerstatus) === String("0") &&
- -
- {formation_file_name && } - - - - - Télécharger un fichier modèle - -
- - {/*
*/} -
  -
- - - - Pour le reste,
-
    -
  • Il s'agit d'un fichier csv. Les colonnes sont separées par des ";"
  • -
  • A l'interieur d'une même colonne, les informations sont separées par des ";"
  • -
  • Champ 'Metier' : les valeurs acceptées sont : IT, RH, vente, dev_perso, Graphisme, Management, Digital, Office, Autre
  • -
  • ...
  • -
- Télécharger le guide complet pour plus d'informations
-
-
 
- - - - - -
} - - {String(partnerstatus) !== String("0") &&
- - - Import excel d'une formation Télécharger un fichier modèle - -
- - - - -
-
- -
- -
} -
- -
- + { + left_menu === true &&
+ {String(firstConnexion) === "1" && String(part_is_partner_admin_account) === "1" && +
+
+ Cher partenaire, c'est votre première connexion,
 
+ Nous sommes ravis de vous accueillir dans notre aventure MySy. + Pour commencer à publier vos formations, veuillez choisir une formule d'abonnement en cliquant
+  
Merci.
+ +
} + + {String(firstConnexion) === "1" && String(part_is_partner_admin_account) !== "1" && +
+
+ Cher Utilisateur, c'est votre première connexion,
 
+ Nous sommes ravis de vous accueillir dans notre aventure MySy. Nous vous invitons à modifier votre mot de passe à partir du menu "MES INFORMATIONS" ==> Bouton "SECURITE"

+
+  
Merci. +
+ +
} + + + {String(myApiResponse) === String("false") &&
+
Impossible de contacter l'hote distant. Merci de contacter votre administrateur
+
+ + } + + {String(menu) === "affichage" && +
+ +
- {/*
+ } + + + {String(menu) === "mes_ue" && +
+ + +
+ } + + {String(menu) === "domaine_categorie_metier" && +
+ + +
+ } + + + {String(menu) === "config_formation_initiale" && +
+ + +
+ } + + {String(menu) === "note_evaluation" && +
+ + +
+ } + + + + + + + {String(menu) === "checkout" &&
+ + +
+ + } + + {String(menu) === "creation" && +
+ + +
+ {String(apiexcelimportmessage) === String("true") && +
+ {excelimportmessage}
 
+ +
+ + } + {String(apiexcelimportmessage) === String("false") && +
+ Impossible de traiter le fichier
+ {excelimportmessage} +
 
+
+ + } + + {String(apiexcelimportmessage) === String("-1") && +
+ Impossible de traiter le fichier
 
+
+ + } + + +
+
+ + + {String(partnerstatus) === String("0") &&
+ +
+ {formation_file_name && } + + + + + Télécharger un fichier modèle + +
+ + {/*
*/} +
  +
+ + + + Pour le reste,
+
    +
  • Il s'agit d'un fichier csv. Les colonnes sont separées par des ";"
  • +
  • A l'interieur d'une même colonne, les informations sont separées par des ";"
  • +
  • Champ 'Metier' : les valeurs acceptées sont : IT, RH, vente, dev_perso, Graphisme, Management, Digital, Office, Autre
  • +
  • ...
  • +
+ Télécharger le guide complet pour plus d'informations
+
+
 
+ + + + + +
} + + {String(partnerstatus) !== String("0") &&
+ + + Import excel d'une formation Télécharger un fichier modèle + +
+ + + + +
+
+ +
+ +
} +
+ +
+ +
+
+ {/*
Création manuelle d'une formation
*/} +
+ } + + + {String(menu) === "infopartner" && +
+ + + +
+ } + + {String(menu) === "statistique" && +
+ +
+ } + + {String(menu) === "setuplms" && +
+ +
+ } + + + {String(menu) === "mes_sessions" && +
+ + +
+ } + + {String(menu) === "mes_employes" && +
+ +
+ } + + {String(menu) === "factures_client" && +
+ +
+ } + + {String(menu) === "prix_achat" && +
+ +
+ } + + + {String(menu) === "mon_materiel" && +
+ +
+ } + + + {String(menu) === "mes_salles" && +
+ +
+ } + + {String(menu) === "mes_opportunites" && +
+ + +
+ } + + + {String(menu) === "mes_cmd" && +
+ +
+ } + + + {String(menu) === "facture" &&
+ +
- } + } + + {String(menu) === "pricing" &&
+ + +
+ } + + {String(menu) === "mes_stagiaires" &&
+ + +
+ } + + {String(menu) === "mes_apprenants" &&
+ + +
+ } - {String(menu) === "infopartner" && -
+ {String(menu) === "abonnement" &&
- + +
+ } + + {String(menu) === "ordervalide" && orderid && packs &&
+ +
+ } + + {String(menu) === "mes_clients" &&
+ + +
+ } + + + + {String(menu) === "config_document" &&
+ + +
+ } + + {String(menu) === "config_technique" &&
+ + +
+ } + + + {String(menu) === "config_session_steps" &&
+ + +
+ } + + + + {String(menu) === "config_jours_heures" &&
+ + +
+ } + + + {String(menu) === "config_formulaires" &&
+ +
- } + } - {String(menu) === "statistique" && -
- + + {String(menu) === "config_champ_specific" &&
+ +
- } + } - {String(menu) === "setuplms" && -
- + + {String(menu) === "module_agenda" &&
+ +
- } + } - {String(menu) === "mes_sessions" && -
+ {String(menu) === "dashbord_session" &&
- +
- } + } - {String(menu) === "mes_employes" && -
- + {String(menu) === "dashbord_formation" &&
+ +
- } + } - {String(menu) === "factures_client" && -
- + {String(menu) === "dashbord_ressources_humaines" &&
+ +
- } + } - {String(menu) === "prix_achat" && -
- + {String(menu) === "dashbord_inscriptions" &&
+
- } + } - {String(menu) === "mon_materiel" && -
- + {String(menu) === "dashbord_factures" &&
+
- } + } + {String(menu) === "mon_tableau_de_bord" &&
+ - {String(menu) === "mes_salles" && -
-
- } + } - {String(menu) === "mes_opportunites" && -
- - -
- } - - - {String(menu) === "mes_cmd" && -
- -
- } - - - {String(menu) === "facture" &&
- - -
- } - - {String(menu) === "pricing" &&
- - -
- } - - {String(menu) === "mes_stagiaires" &&
- - -
- } - - {String(menu) === "mes_apprenants" &&
- - -
- } - - - {String(menu) === "abonnement" &&
- - -
- } - - {String(menu) === "ordervalide" && orderid && packs &&
- -
- } - - {String(menu) === "mes_clients" &&
- - -
- } - - - - {String(menu) === "config_document" &&
- - -
- } - - {String(menu) === "config_technique" &&
- - -
- } - - - {String(menu) === "config_session_steps" &&
- - -
- } - - - - {String(menu) === "config_jours_heures" &&
- - -
- } - - - {String(menu) === "config_formulaires" &&
- -
- } - - - {String(menu) === "config_champ_specific" &&
- - -
- } - - - {String(menu) === "module_agenda" &&
- - -
- } - - - {String(menu) === "dashbord_session" &&
- - -
- } - - {String(menu) === "dashbord_formation" &&
- - -
- } - - {String(menu) === "dashbord_ressources_humaines" &&
- - -
- } - - {String(menu) === "dashbord_inscriptions" &&
- -
- } - - - {String(menu) === "dashbord_factures" &&
- -
- } - {String(menu) === "mon_tableau_de_bord" &&
- - - -
- } - - -
} + } {/* div_gauche div_gauche_reduit */} - {left_menu === false &&
-
+ { + left_menu === false &&
+
- + -

+

- - - {String(menu) !== "infopartner" &&
 
} - {String(menu) === "infopartner" &&
 
} -
-
+ + + {String(menu) !== "infopartner" &&
 
} + {String(menu) === "infopartner" &&
 
} +
+
- - - {String(menu) !== "mon_tableau_de_bord" &&
 
} - {String(menu) === "mon_tableau_de_bord" &&
 
} -
-
+ + + {String(menu) !== "mon_tableau_de_bord" &&
 
} + {String(menu) === "mon_tableau_de_bord" &&
 
} +
+
- - - {String(menu) !== "module_agenda" &&
 
} - {String(menu) === "module_agenda" &&
 
} -
-
+ + + {String(menu) !== "module_agenda" &&
 
} + {String(menu) === "module_agenda" &&
 
} +
+
- - - {String(menu) !== "abonnement" &&
 
} - {String(menu) === "abonnement" &&
 
} -
-
+ + + {String(menu) !== "abonnement" &&
 
} + {String(menu) === "abonnement" &&
 
} +
+
- - - {String(menu) !== "facture" &&
 
} - {String(menu) === "facture" &&
 
} -
-
+ + + {String(menu) !== "facture" &&
 
} + {String(menu) === "facture" &&
 
} +
+
-

+

- {/* + {/* {String(menu) !== "creation" &&
 
} {String(menu) === "creation" &&
}

*/} - - - {String(menu) !== "affichage" &&
 
} - {String(menu) === "affichage" &&
 
} -
-
- - - - {String(menu) !== "mes_ue" &&
 
} - {String(menu) === "mes_ue" &&
 
} -
-
- - - - - {String(menu) !== "domaine_categorie_metier" &&
 
} - {String(menu) === "domaine_categorie_metier" &&
 
} -
-
- - - - - - {String(menu) !== "mes_sessions" &&
 
} - {String(menu) === "mes_sessions" &&
 
} -
-
- - - - {String(menu) !== "mes_stagiaires" &&
 
} - {String(menu) === "mes_stagiaires" &&
 
} -
-
- - - - {String(menu) !== "mes_apprenants" &&
 
} - {String(menu) === "mes_apprenants" &&
 
} -
-
- - - - - - {String(menu) !== "mes_employes" &&
 
} - {String(menu) === "mes_employes" &&
 
} -
-
- - - - {String(menu) !== "mon_materiel" &&
 
} - {String(menu) === "mon_materiel" &&
 
} -
-
- - - - - {String(menu) !== "statistique" &&
 
} - {String(menu) === "statistique" &&
 
} -
-
- - -

- -
-
- - - {String(menu) !== "mes_clients" &&
 
} - {String(menu) === "mes_clients" &&
 
} + +
+ {String(menu) !== "affichage" &&
 
} + {String(menu) === "affichage" &&
 
}
+
+ + + + {String(menu) !== "mes_ue" &&
 
} + {String(menu) === "mes_ue" &&
 
} +
+
+ + + + + {String(menu) !== "domaine_categorie_metier" &&
 
} + {String(menu) === "domaine_categorie_metier" &&
 
} +
+
+ + + + + + {String(menu) !== "mes_sessions" &&
 
} + {String(menu) === "mes_sessions" &&
 
} +
+
+ + + + {String(menu) !== "mes_stagiaires" &&
 
} + {String(menu) === "mes_stagiaires" &&
 
} +
+
+ + + + {String(menu) !== "mes_apprenants" &&
 
} + {String(menu) === "mes_apprenants" &&
 
} +
+
+ + + + + + {String(menu) !== "mes_employes" &&
 
} + {String(menu) === "mes_employes" &&
 
} +
+
+ + + + {String(menu) !== "mon_materiel" &&
 
} + {String(menu) === "mon_materiel" &&
 
} +
+
+ + + + + {String(menu) !== "statistique" &&
 
} + {String(menu) === "statistique" &&
 
} +
+
+ + +

+ + + + + + + + + + + + + + +

+ + + {String(has_partner_lms_url) === "1" &&
{ + e.preventDefault(); + window.open( + partner_lms_url, + '_blank' + ); + }}> + + + + +
} + + {String(has_partner_lms_url) === "1" && } + + +
- - - - - - - - - - - - -

- - - {String(has_partner_lms_url) === "1" &&
{ - e.preventDefault(); - window.open( - partner_lms_url, - '_blank' - ); - }}> - - - - -
} - - {String(has_partner_lms_url) === "1" && } - - -
-
} {/* div_droite div_droite_ralonge */} - {left_menu === false &&
- - {String(firstConnexion) === "1" && String(part_is_partner_admin_account) === "1" && -
-
- Cher partenaire, c'est votre première connexion,
 
- Nous sommes ravis de vous accueillir dans notre aventure MySy. - Pour commencer à publier vos formations, veuillez choisir une formule d'abonnement en cliquant
-  
Merci. -
- -
} - - {String(firstConnexion) === "1" && String(part_is_partner_admin_account) !== "1" && -
-
- Cher Utilisateur, c'est votre première connexion,
 
- Nous sommes ravis de vous accueillir dans notre aventure MySy. Nous vous invitons à modifier votre mot de passe à partir du menu "MES INFORMATIONS" ==> Bouton "SECURITE"

-
-  
Merci. -
- -
} - - - {String(myApiResponse) === String("false") &&
-
Impossible de contacter l'hote distant. Merci de contacter votre administrateur
-
- - } - - {String(menu) === "affichage" && -
- - - -
- } - - {String(menu) === "mes_ue" && -
- -
- } - - - {String(menu) === "domaine_categorie_metier" && -
- -
- } - - {String(menu) === "config_formation_initiale" && -
- - -
- } - - - - - {String(menu) === "checkout" &&
- - -
- - } - - {String(menu) === "creation" && -
- - -
- {String(apiexcelimportmessage) === String("true") && -
- {excelimportmessage}
 
- -
- - } - {String(apiexcelimportmessage) === String("false") && -
- Impossible de traiter le fichier
- {excelimportmessage} -
 
-
- - } - - {String(apiexcelimportmessage) === String("-1") && -
- Impossible de traiter le fichier
 
-
- - } - - -
-
- - - {String(partnerstatus) === String("0") &&
- -
- {formation_file_name && } - - - - - Télécharger un fichier modèle - -
- - {/*
*/} -
  -
- - - - Pour le reste,
-
    -
  • Il s'agit d'un fichier csv. Les colonnes sont separées par des ";"
  • -
  • A l'interieur d'une même colonne, les informations sont separées par des ";"
  • -
  • Champ 'Metier' : les valeurs acceptées sont : IT, RH, vente, dev_perso, Graphisme, Management, Digital, Office, Autre
  • -
  • ...
  • -
- Télécharger le guide complet pour plus d'informations
-
-
 
- - - - - -
} - - {String(partnerstatus) !== String("0") &&
- - - Import excel d'une formation Télécharger un fichier modèle - -
- - - - -
-
- -
- -
} -
- -
+ { + left_menu === false &&
+ {String(firstConnexion) === "1" && String(part_is_partner_admin_account) === "1" && +
+
+ Cher partenaire, c'est votre première connexion,
 
+ Nous sommes ravis de vous accueillir dans notre aventure MySy. + Pour commencer à publier vos formations, veuillez choisir une formule d'abonnement en cliquant
+  
Merci.
+ +
} + + {String(firstConnexion) === "1" && String(part_is_partner_admin_account) !== "1" && +
+
+ Cher Utilisateur, c'est votre première connexion,
 
+ Nous sommes ravis de vous accueillir dans notre aventure MySy. Nous vous invitons à modifier votre mot de passe à partir du menu "MES INFORMATIONS" ==> Bouton "SECURITE"

+
+  
Merci. +
+ +
} + + + {String(myApiResponse) === String("false") &&
+
Impossible de contacter l'hote distant. Merci de contacter votre administrateur
+
+ + } + + {String(menu) === "affichage" && +
+ + +
-
-
Création manuelle d'une formation
+ } - + {String(menu) === "mes_ue" && +
+
+ } + + + {String(menu) === "domaine_categorie_metier" && +
+ +
+ } + + {String(menu) === "config_formation_initiale" && +
+ + +
+ } + + {String(menu) === "note_evaluation" && +
+ + +
+ } + + + + + {String(menu) === "checkout" &&
+ + +
+ + } + + {String(menu) === "creation" && +
+ + +
+ {String(apiexcelimportmessage) === String("true") && +
+ {excelimportmessage}
 
+ +
+ + } + {String(apiexcelimportmessage) === String("false") && +
+ Impossible de traiter le fichier
+ {excelimportmessage} +
 
+
+ + } + + {String(apiexcelimportmessage) === String("-1") && +
+ Impossible de traiter le fichier
 
+
+ + } + + +
+
+ + + {String(partnerstatus) === String("0") &&
+ +
+ {formation_file_name && } + + + + + Télécharger un fichier modèle + +
+ + {/*
*/} +
  +
+ + + + Pour le reste,
+
    +
  • Il s'agit d'un fichier csv. Les colonnes sont separées par des ";"
  • +
  • A l'interieur d'une même colonne, les informations sont separées par des ";"
  • +
  • Champ 'Metier' : les valeurs acceptées sont : IT, RH, vente, dev_perso, Graphisme, Management, Digital, Office, Autre
  • +
  • ...
  • +
+ Télécharger le guide complet pour plus d'informations
+
+
 
+ + + + + +
} + + {String(partnerstatus) !== String("0") &&
+ + + Import excel d'une formation Télécharger un fichier modèle + +
+ + + + +
+
+ +
+ +
} +
+ +
+ +
+
+
+
Création manuelle d'une formation
+ + +
+ +
+ } + + + {String(menu) === "infopartner" && +
+ + + +
+ } + + {String(menu) === "statistique" && +
+ +
+ } + + {String(menu) === "setuplms" && +
+ +
+ } + + + {String(menu) === "mes_sessions" && +
+ + +
+ } + + {String(menu) === "mes_employes" && +
+ +
+ } + + {String(menu) === "factures_client" && +
+ +
+ } + + {String(menu) === "prix_achat" && +
+ +
+ } + + + {String(menu) === "mon_materiel" && +
+ +
+ } + + + {String(menu) === "mes_salles" && +
+ +
+ } + + {String(menu) === "mes_opportunites" && +
+ +
+ } + + + {String(menu) === "mes_cmd" && +
+ +
+ } + + + {String(menu) === "facture" &&
+ + +
+ } + + {String(menu) === "pricing" &&
+ + +
+ } + + {String(menu) === "mes_stagiaires" &&
+ + +
+ } + + {String(menu) === "mes_apprenants" &&
+ + +
+ } + + + {String(menu) === "abonnement" &&
+ + +
+ } + + {String(menu) === "ordervalide" && orderid && packs &&
+ +
+ } + + {String(menu) === "mes_clients" &&
+ + +
+ } + + + + {String(menu) === "config_document" &&
+ + +
+ } + + {String(menu) === "config_technique" &&
+ + +
+ } + + + {String(menu) === "config_session_steps" &&
+ + +
+ } + + + + {String(menu) === "config_jours_heures" &&
+ + +
+ } + + + {String(menu) === "config_formulaires" &&
+ +
- } + } - {String(menu) === "infopartner" && -
+ {String(menu) === "config_champ_specific" &&
+ + +
+ } + + + {String(menu) === "module_agenda" &&
+ + +
+ } + + + {String(menu) === "dashbord_session" &&
+ + +
+ } + + {String(menu) === "dashbord_formation" &&
+ + +
+ } + + {String(menu) === "dashbord_ressources_humaines" &&
+ + +
+ } + + + + {String(menu) === "mon_tableau_de_bord" &&
+ + -
- } - - {String(menu) === "statistique" && -
- -
- } - - {String(menu) === "setuplms" && -
- -
- } - - - {String(menu) === "mes_sessions" && -
- - -
- } - - {String(menu) === "mes_employes" && -
- -
- } - - {String(menu) === "factures_client" && -
- -
- } - - {String(menu) === "prix_achat" && -
- -
- } - - - {String(menu) === "mon_materiel" && -
- -
- } - - - {String(menu) === "mes_salles" && -
- -
- } - - {String(menu) === "mes_opportunites" && -
- -
- } - - - {String(menu) === "mes_cmd" && -
- -
- } - - - {String(menu) === "facture" &&
- - -
- } - - {String(menu) === "pricing" &&
- - -
- } - - {String(menu) === "mes_stagiaires" &&
- - -
- } - - {String(menu) === "mes_apprenants" &&
- - -
- } - - - {String(menu) === "abonnement" &&
- - -
- } - - {String(menu) === "ordervalide" && orderid && packs &&
- -
- } - - {String(menu) === "mes_clients" &&
- - -
- } - - - - {String(menu) === "config_document" &&
- - -
- } - - {String(menu) === "config_technique" &&
- - -
- } - - - {String(menu) === "config_session_steps" &&
- - -
- } - - - - {String(menu) === "config_jours_heures" &&
- - -
- } - - - {String(menu) === "config_formulaires" &&
- - - -
- } - - - {String(menu) === "config_champ_specific" &&
- - -
- } - - - {String(menu) === "module_agenda" &&
- - -
- } - - - {String(menu) === "dashbord_session" &&
- - -
- } - - {String(menu) === "dashbord_formation" &&
- - -
- } - - {String(menu) === "dashbord_ressources_humaines" &&
- - -
- } - - - - {String(menu) === "mon_tableau_de_bord" &&
- - + }
- } - - -
} + }
-
+
diff --git a/src/styles/components/_note_evaluation.scss b/src/styles/components/_note_evaluation.scss new file mode 100644 index 0000000..c72c0ba --- /dev/null +++ b/src/styles/components/_note_evaluation.scss @@ -0,0 +1,2469 @@ +.note_evaluation { + + .loader-container { + width: 100%; + height: 100vh; + display: flex; + justify-content: center; + align-items: center; + position: fixed; + background: white; + background-color: transparent; + z-index: 1; + top: 0px; + opacity: 80%; + left: 0px; + } + + .tooltip_css { + background: #81BC3A; + z-index: 9999; + } + + .Mui-disabled { + font-size: small !important; + padding: 0px !important; + padding-left: 5px !important; + } + + + + @media screen and (max-width: 600px) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } + + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } + + .div_row { + float: left; + //border: 1px solid black; + border-width: 0.01rem; + width: 100%; + margin-bottom: 1rem; + border-radius: 1rem; + } + + .div_row_gauche { + + width: 100%; + border-radius: 10rem !important; + text-align: left; + + margin: 0px !important; + margin-bottom: 0.5rem !important; + margin-top: 0.5rem !important; + } + + .div_row_droite { + width: 100%; + border-radius: 10rem !important; + text-align: left; + + margin: 0px !important; + margin-bottom: 0.5rem !important; + margin-top: 0.5rem !important; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .titre1_aide_finance { + margin-top: 1rem; + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .pieddepage { + z-index: 50; + width: 100%; + float: left; + margin-top: 12rem; + } + + .div_mobile { + position: absolute; + top: 8rem; + z-index: 1; + width: 100%; + } + + .zone_data { + width: 95%; + margin-left: auto; + margin-right: auto; + } + + .detail_class_submenu { + background: #d8edfc; + border-radius: 15px; + margin-right: 1rem; + padding: 0.3rem; + margin-bottom: 0.5rem; + width: 10.5rem; + text-align: center; + border: 1px solid #9cf; + color: #3b3e40; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + letter-spacing: 0.1rem; + font-weight: normal; + width: 100%; + } + + .detail_class_submenu:hover:active, + .detail_class_submenu:hover { + background-color: #104277; + color: white; + } + + .detail_class_submenu:focus { + //border: 3px dotted green; + background-color: #104277; + color: white; + } + + .detail_class_submenu_data { + width: 100%; + min-height: 10rem; + background-color: #d8edfc; + padding-left: 5px; + text-align: left; + padding: 0; + border: 0px; + color: #3b3e40; + padding-left: 5px; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + border-radius: 10px; + border: 1px solid; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 97% !important; + //border: none !important; + margin: 5px !important; + height: 3.5rem !important; + background: white; + border: solid gainsboro 1px; + + } + + .training_caract { + width: 100%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .selectsession { + width: 100%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .session_data { + float: left; + width: 100%; + box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + border-radius: 10px; + margin-top: 10px; + margin-bottom: 10px; + + + } + + .session_caract { + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + } + + .session_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 2rem !important; + margin: 5px !important; + } + + .css-1x5jdm { + padding: 5px; + } + + + + .css-1x5jdmq { + padding: 6px !important; + padding-bottom: 0px !important; + } + + .css-qiwgdb { + padding: 6px !important; + } + + .preview_certif { + display: block; + width: 100%; + height: 180px; + border-radius: 1rem !important; + margin-top: 1rem !important; + } + + .hr_break { + border: 2px solid grey; + } + + .icon_plus { + width: 6%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 100%; + height: 2rem !important; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 100% !important; + height: 2rem !important; + } + + .div_row_gauche_etendu { + width: 100%; + } + + .icon_excel { + width: 6%; + } + + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 100%; + margin-left: 10px; + margin-right: 10px; + } + + + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 100%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 100%; + color: black; + margin-left: 10px; + margin-right: 10px; + } + + .div_row_gauche_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + padding-left: 0.2rem; + } + + .tips_img_class { + font-size: smaller; + font-style: italic; + margin-left: 1rem !important; + text-align: left; + float: left; + width: 100%; + padding-right: 10px; + } + + .img_class_logo { + display: block; + width: 128px; + height: 128px; + border-radius: 10px !important; + border: 1px solid black; + float: left; + } + + .bton_supprime_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + background: white; + color: red; + margin-top: 0.5rem; + width: 10rem; + cursor: pointer; + } + + .bton_supprime_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .bton_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + width: 10rem; + cursor: pointer; + } + + .bton_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .tick_ok_ko { + max-width: 3%; + cursor: pointer; + padding-top: 4px; + } + + .texte_area { + float: left; + width: 47% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 1.5rem !important; + } + + .texte_area_filter { + float: left; + width: 100% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin-top: 0px !important; + margin-bottom: 2px !important; + } + + .texte_area_filter_value { + float: left !important; + width: 100% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + + } + + + .filter_bton_add { + float: left; + width: 40% !important; + font-size: xx-large !important; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + text-align: right; + cursor: pointer; + } + + + .div_row { + float: left; + border-width: 0.01rem; + width: 100%; + + border-radius: 1rem; + } + + .div_row_gauche { + float: left; + width: 100%; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite { + float: left; + width: 100%; + border-radius: 1rem; + text-align: left; + + } + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 100%; + margin-left: 10px; + margin-right: 10px; + margin-bottom: 1rem !important; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 100%; + color: white; + margin-bottom: 1rem !important; + } + + + .bton_create_login { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 100%; + color: white; + margin-bottom: 1rem !important; + } + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 100%; + color: white; + margin-bottom: 1rem !important; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 100%; + color: black; + margin-bottom: 1rem !important; + } + + + .css-1t10bd6-MuiFormControl-root-MuiTextField-root fieldset { + border-color: transparent !important; + border-radius: 20px !important; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 3.5rem !important; + + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + + } + + .training_caract { + width: 100%; + + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .block_en_mass { + width: 100%; + float: left; + margin-bottom: 1rem; + } + + .block_en_mass_select { + width: 100%; + float: left; + margin-bottom: 1rem; + } + + .block_en_mass_bton_action { + width: 100%; + float: left; + margin-bottom: 1rem; + padding-top: 0.5rem !important; + } + + .div_row_list_pj { + width: 100%; + border-left: 3mm ridge rgba(211, 220, 50, .6); + float: left; + } + + .block_competence { + width: 50%; + float: left; + margin-bottom: 1.5rem; + } + + .block_login_pwd { + padding-left: 5px; + width: 100%; + float: left; + + } + + } + + @media only screen and (min-width: 601px) and (max-width: 991px) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } + + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .titre1_aide_finance { + margin-top: 1rem; + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .pieddepage { + z-index: 50; + width: 100%; + float: left; + margin-top: 12rem; + } + + .div_mobile { + position: absolute; + top: 8rem; + z-index: 1; + width: 100%; + } + + .zone_data { + width: 95%; + margin-left: auto; + margin-right: auto; + } + + .detail_class_submenu { + background: #d8edfc; + border-radius: 15px; + margin-right: 1rem; + padding: 0.3rem; + margin-bottom: 0.5rem; + width: 11rem; + text-align: center; + border: 1px solid #9cf; + color: #3b3e40; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + letter-spacing: 0.1rem; + font-weight: normal; + } + + .detail_class_submenu:hover:active, + .detail_class_submenu:hover { + background-color: #104277; + color: white; + } + + .detail_class_submenu:focus { + //border: 3px dotted green; + background-color: #104277; + color: white; + } + + .detail_class_submenu_data { + width: 100%; + min-height: 10rem; + background-color: #d8edfc; + padding-left: 5px; + text-align: left; + padding: 0; + border: 0px; + color: #3b3e40; + padding-left: 5px; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + border-radius: 10px; + border: 1px solid; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 90% !important; + height: 3.5rem !important; + margin: 5px !important; + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + } + + .training_caract { + width: 48%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .session_data { + float: left; + width: 100%; + box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + border-radius: 10px; + margin-top: 10px; + margin-bottom: 10px; + + + } + + .session_caract { + width: 50%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + } + + .session_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 2rem !important; + margin: 5px !important; + } + + .css-1x5jdm { + padding: 5px; + } + + .bton_envoyer { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 80%; + background: #81BC3A; + } + + + .bton_fermer { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 80%; + background-color: white; + color: #104277 !important; + } + + .css-1x5jdmq { + padding: 6px !important; + padding-bottom: 0px !important; + } + + .css-qiwgdb { + padding: 6px !important; + } + + .preview_certif { + display: block; + width: 90%; + height: 200px; + border-radius: 1rem !important; + margin-top: 1rem !important; + } + + .preview_certif:hover { + transform: scale(1.3); + margin-left: 5rem; + } + + .hr_break { + border: 3px solid grey; + } + + .icon_plus { + width: 6%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 50%; + height: 2rem !important; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 65% !important; + height: 2rem !important; + } + + .div_row_gauche_etendu { + width: 80% !important; + } + + .icon_excel { + width: 6%; + } + + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 80%; + margin-left: 10px; + margin-right: 10px; + } + + + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 80%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 80%; + color: black; + margin-left: 10px; + margin-right: 10px; + } + + .div_row_gauche_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + padding-left: 0.2rem; + } + + .tips_img_class { + font-size: small; + font-style: italic; + margin-left: 1rem !important; + text-align: left; + float: left; + width: 100%; + } + + .img_class_logo { + display: block; + width: 168px; + height: 168px; + border-radius: 10px !important; + border: 1px solid black; + float: left; + } + + .bton_supprime_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + background: white; + color: red; + margin-top: 0.5rem; + width: 15rem; + cursor: pointer; + } + + .bton_supprime_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .bton_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + width: 15rem; + cursor: pointer; + } + + .bton_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .tick_ok_ko { + max-width: 3%; + cursor: pointer; + padding-top: 4px; + } + + .texte_area { + float: left; + width: 47% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 1.5rem !important; + } + + .texte_area_filter { + float: left; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + } + + .texte_area_filter_value { + float: left !important; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + + } + + + .filter_bton_add { + float: left; + width: 5% !important; + font-size: large !important; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + text-align: right; + cursor: pointer; + margin-top: 1rem !important; + } + + .div_row { + float: left; + //border: 1px solid black; + border-width: 0.01rem; + width: 100%; + //margin-bottom: 1rem; + border-radius: 1rem; + } + + .div_row_gauche { + float: left; + // border:1px solid black; + // border-width:0.01rem; + width: 45%; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite { + float: right; + //border:1px solid black; + //border-width:0.01rem; + width: 45%; + border-radius: 1rem; + text-align: right; + } + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 40%; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 40%; + color: white; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + .bton_create_login { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 90%; + color: white; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 40%; + color: white; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 40%; + color: black; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + + .css-1t10bd6-MuiFormControl-root-MuiTextField-root fieldset { + border-color: transparent !important; + border-radius: 20px !important; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 90% !important; + height: 3.5rem !important; + margin: 5px !important; + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + padding-top: 0.5rem !important; + border: none !important; + } + + .training_caract { + width: 30%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .block_en_mass { + width: 50%; + float: left; + margin-bottom: 1rem; + } + + .block_en_mass_select { + width: 45%; + float: left; + margin-bottom: 1rem; + } + + .block_en_mass_bton_action { + width: 45%; + float: left; + margin-bottom: 1rem; + padding-top: 0.5rem !important; + } + + .div_row_list_pj { + width: 50%; + border-left: 3mm ridge rgba(211, 220, 50, .6); + float: left; + } + + .block_competence { + width: 50%; + float: left; + margin-bottom: 1.5rem; + } + + .block_login_pwd { + padding-left: 5px; + width: 100%; + float: left; + + } + + } + + @media only screen and (min-width: 992px) and (max-width: 1199px) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } + + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } + + .div_row { + float: left; + //border: 1px solid black; + border-width: 0.01rem; + width: 100%; + margin-bottom: 1rem; + border-radius: 1rem; + } + + .div_row_gauche { + float: left; + // border:1px solid black; + // border-width:0.01rem; + width: 45%; + border-radius: 1rem; + } + + .div_row_droite { + float: right; + //border:1px solid black; + //border-width:0.01rem; + width: 45%; + border-radius: 1rem; + text-align: right; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .titre1_aide_finance { + margin-top: 1rem; + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .pieddepage { + z-index: 50; + width: 100%; + float: left; + margin-top: 12rem; + } + + .div_mobile { + position: absolute; + top: 8rem; + z-index: 1; + width: 100%; + } + + .zone_data { + width: 95%; + margin-left: auto; + margin-right: auto; + } + + .detail_class_submenu { + background: #d8edfc; + border-radius: 15px; + margin-right: 1rem; + padding: 0.3rem; + margin-bottom: 0.5rem; + width: 11rem; + text-align: center; + border: 1px solid #9cf; + color: #3b3e40; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + letter-spacing: 0.1rem; + font-weight: normal; + } + + .detail_class_submenu:hover:active, + .detail_class_submenu:hover { + background-color: #104277; + color: white; + } + + .detail_class_submenu:focus { + //border: 3px dotted green; + background-color: #104277; + color: white; + } + + .detail_class_submenu_data { + width: 100%; + min-height: 10rem; + background-color: #d8edfc; + padding-left: 5px; + text-align: left; + padding: 0; + border: 0px; + color: #3b3e40; + padding-left: 5px; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + border-radius: 10px; + border: 1px solid; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 90% !important; + height: 3.5rem !important; + margin: 5px !important; + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + } + + .training_caract { + width: 30%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5x !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .session_data { + float: left; + width: 100%; + box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + border-radius: 10px; + margin-top: 10px; + margin-bottom: 10px; + + + } + + .session_caract { + width: 33%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + } + + .session_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 2rem !important; + margin: 5px !important; + } + + .css-1x5jdm { + padding: 5px; + } + + .bton_envoyer { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 60%; + background: #81BC3A; + + } + + + .bton_fermer { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 60%; + background-color: white; + color: #104277 !important; + } + + .css-1x5jdmq { + padding: 6px !important; + padding-bottom: 0px !important; + } + + .css-qiwgdb { + padding: 6px !important; + } + + .preview_certif { + display: block; + width: 90%; + height: 180px; + border-radius: 1rem !important; + margin-top: 1rem !important; + } + + .preview_certif:hover { + transform: scale(1.3); + margin-left: 5rem; + } + + .hr_break { + border: 3px solid grey; + } + + .icon_plus { + width: 8%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 40%; + height: 2rem !important; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 50% !important; + height: 2rem !important; + } + + .div_row_gauche_etendu { + width: 80%; + } + + .icon_excel { + width: 6%; + } + + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 65%; + margin-left: 10px; + margin-right: 10px; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 65%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_create_login { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 90%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 65%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 65%; + color: black; + margin-left: 10px; + margin-right: 10px; + } + + + .div_row_gauche_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + padding-left: 0.2rem; + } + + .tips_img_class { + font-size: small; + font-style: italic; + margin-left: 1rem !important; + text-align: left; + float: left; + width: 100%; + } + + .img_class_logo { + display: block; + width: 168px; + height: 168px; + border-radius: 10px !important; + border: 1px solid black; + float: left; + } + + .bton_supprime_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + background: white; + color: red; + margin-top: 0.5rem; + width: 15rem; + cursor: pointer; + } + + .bton_supprime_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .bton_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + width: 15rem; + cursor: pointer; + } + + .bton_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .tick_ok_ko { + max-width: 3%; + cursor: pointer; + padding-top: 4px; + } + + .texte_area { + float: left; + width: 47% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 1.5rem !important; + } + + .texte_area_filter { + float: left; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + } + + .texte_area_filter_value { + float: left !important; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + + } + + + .filter_bton_add { + float: left; + width: 5% !important; + font-size: xx-large !important; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + text-align: right; + cursor: pointer; + } + + + .titre1 { + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .div_row_list_pj { + width: 30%; + border-left: 3mm ridge rgba(211, 220, 50, .6); + float: left; + } + + .block_competence { + width: 50%; + float: left; + margin-bottom: 1.5rem; + } + + .block_login_pwd { + padding-left: 5px; + width: 33%; + float: left; + + } + + } + + @media only screen and (min-width: 1200px) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } + + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } + + .div_row { + float: left; + //border: 1px solid black; + border-width: 0.01rem; + width: 100%; + //margin-bottom: 1rem; + border-radius: 1rem; + } + + .div_row_gauche { + float: left; + // border:1px solid black; + // border-width:0.01rem; + width: 45%; + border-radius: 1rem; + } + + .div_row_droite { + float: right; + //border:1px solid black; + //border-width:0.01rem; + width: 45%; + border-radius: 1rem; + text-align: right; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .titre1_aide_finance { + margin-top: 1rem; + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .pieddepage { + z-index: 50; + width: 100%; + float: left; + margin-top: 12rem; + } + + .div_mobile { + position: absolute; + top: 8rem; + z-index: 1; + width: 100%; + } + + .zone_data { + width: 95%; + margin-left: auto; + margin-right: auto; + } + + .detail_class_submenu { + background: #d8edfc; + border-radius: 15px; + margin-right: 1rem; + padding: 0.3rem; + margin-bottom: 0.5rem; + min-width: 12rem; + text-align: center; + border: 1px solid #9cf; + color: #3b3e40; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + letter-spacing: 0.1rem; + font-weight: normal; + } + + .detail_class_submenu:hover:active, + .detail_class_submenu:hover { + background-color: #104277; + color: white; + } + + .detail_class_submenu:focus { + //border: 3px dotted green; + background-color: #104277; + color: white; + } + + .detail_class_submenu_data { + width: 100%; + min-height: 10rem; + background-color: #d8edfc; + padding-left: 5px; + text-align: left; + padding: 0; + border: 0px; + color: #3b3e40; + padding-left: 5px; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + border-radius: 10px; + border: 1px solid; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 90% !important; + height: 3.5rem !important; + margin: 5px !important; + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + } + + .training_caract { + width: 30%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .session_data { + float: left; + width: 100%; + box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + border-radius: 10px; + margin-top: 10px; + margin-bottom: 10px; + + + } + + .session_caract { + width: 33%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + } + + .session_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 2rem !important; + margin: 5px !important; + } + + .preview_certif { + display: block; + width: 90%; + height: 200px; + border-radius: 1rem !important; + margin-top: 1rem !important; + } + + .preview_certif:hover { + transform: scale(1.4); + margin-left: 10rem; + } + + + .action_mass { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 40%; + background: #81BC3A; + height: 2.5rem; + } + + + + .block_en_mass { + width: 50%; + float: left; + margin-bottom: 1rem; + } + + .session_open_close { + cursor: pointer; + text-align: right; + font-size: small; + margin-right: 10px; + } + + .hr_break { + border: 5px solid grey; + } + + .icon_plus { + width: 8%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 25% !important; + height: 2rem !important; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 40% !important; + height: 2rem !important; + } + + .div_row_gauche_etendu { + width: 80%; + } + + .icon_excel { + width: 4%; + } + + .bton_envoyer { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 60%; + background: #81BC3A; + } + + + .bton_traiter_en_mass { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 40%; + background: #81BC3A; + margin-left: 5%; + height: 2.5rem; + color: white; + + } + + .bton_fermer { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 60%; + background-color: white; + color: #104277 !important; + } + + + .enable_style { + background-color: #FFFFFF; + } + + + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input:invalid { + padding-top: 5px !important; + padding-bottom: 5px !important; + padding-left: 5px !important; + } + + .css-1t10bd6-MuiFormControl-root-MuiTextField-root fieldset { + border-color: transparent !important; + border-radius: 20px !important; + } + + .bton_emarge { + border-radius: 5rem; + font-size: small; + padding: 0.5rem; + background: rgb(129, 188, 58); + margin-left: 5px; + margin-right: 5px; + } + + .css-1x5jdm { + padding: 5px; + } + + + .css-1x5jdmq { + padding: 6px !important; + height: 3rem ! important; + padding-bottom: 0px !important; + } + + .css-qiwgdb { + padding: 6px !important; + } + + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 40%; + margin-left: 10px; + margin-right: 10px; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 40%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_create_login { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 90%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 40%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 40%; + color: black; + margin-left: 10px; + margin-right: 10px; + } + + + + .div_row_gauche_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + padding-left: 0.2rem; + } + + .tips_img_class { + font-size: small; + font-style: italic; + margin-left: 1rem !important; + text-align: left; + float: left; + width: 100%; + } + + .img_class_logo { + display: block; + width: 170px; + height: 168px; + border-radius: 10px !important; + border: 1px solid black; + float: left; + } + + .bton_supprime_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + background: white; + color: red; + margin-top: 0.5rem; + width: 15rem; + cursor: pointer; + } + + .bton_supprime_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .bton_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + width: 15rem; + cursor: pointer; + } + + .bton_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .tick_ok_ko { + max-width: 3%; + cursor: pointer; + padding-top: 4px; + } + + .texte_area { + float: left; + width: 47% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 1.5rem !important; + } + + .texte_area_filter { + float: left; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + } + + .texte_area_filter_value { + float: left !important; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + + } + + + .filter_bton_add { + float: left; + width: 5% !important; + font-size: xx-large !important; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + text-align: right; + cursor: pointer; + } + + + .titre1 { + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .file_ariane { + font-size: large; + font-weight: 600; + width: 100%; + text-align: center; + } + + .div_row_list_pj { + width: 30%; + border-left: 3mm ridge rgba(211, 220, 50, .6); + float: left; + } + + .block_competence { + width: 30%; + float: left; + margin-bottom: 1rem; + } + + .detail_activite { + display: inline-block; + color: black; + border: none; + background: white; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + cursor: pointer; + vertical-align: middle; + padding: 5px; + text-align: left; + width: 20rem; + border-radius: 10px !important; + height: 7rem !important; + font-size: small; + padding-bottom: 10px; + } + + .detail_activite:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + + .block_login_pwd { + padding-left: 5px; + width: 33%; + float: left; + + } + + + } + + .session_caract_Dialog_comment_2_lines { + + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + + // end media + + .MuiDataGrid-cellContent { + padding-top: 0.5rem !important; + } + + .bton_action1 { + border-radius: 5rem; + font-size: small; + background: #81BC3A; + text-align: center; + width: 80%; + color: white; + font-size: 11px; + height: 1.5rem; + } + + .session_caract_Dialog { + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .bton_enreg_dialog { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 80%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + + .bton_annule_dialog { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 80%; + color: black; + margin-left: 10px; + margin-right: 10px; + } + + .css-1v4ccyo { + height: 3.5rem !important; + font-size: small; + } + + + option { + font-weight: normal; + display: block; + white-space-collapse: collapse; + text-wrap: nowrap; + padding: 0px !important; + } + + .mysy_hr_text { + border: none; + border-top: 3px double #333; + color: #333; + overflow: visible; + text-align: center; + height: 5px; + } + + .mysy_hr_text:after { + background: #fff; + content: 'Détails'; + padding: 0 4px; + position: relative; + top: -13px; + } + + .MuiMenu-paper { + max-width: 30% !important; + } + + .show_pwd_div { + width: 50%; + float: right; + padding-right: 10px; + text-align: right; + + } + + + +} + +.MuiMenu-paper { + max-width: 30% !important; +} + +.tox-statusbar { + display: none !important; +} + + + + +.css-1x5jdmq { + height: 3rem !important; + font-size: small; +} + +.select_option_css { + border-radius: 0px !important; +} + +.css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root { + height: 3.5rem !important; +} + + + +.react-datepicker__input-container { + width: 110%; +} + +.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input { + padding-left: 5px !important; +} \ No newline at end of file diff --git a/src/styles/index.scss b/src/styles/index.scss index 0c60b98..481b28f 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -112,3 +112,4 @@ @import "./components/partner_domaine_categorie_metier"; @import "./components/modulesessionevaluation"; @import "./components/partner_ftion_initiale_configuration"; +@import "./components/note_evaluation"; \ No newline at end of file