From d9d87464542fbbc59ae40bd141a28e110fc98ba5 Mon Sep 17 00:00:00 2001 From: cherif Date: Fri, 13 Jan 2023 20:16:14 +0100 Subject: [PATCH] =?UTF-8?q?13/01/22=20=C3=A0=2020h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AddClassManual.js | 73 ++++++++++++------- .../DisplayPartnerTrainingsPagination.js | 17 +++-- src/components/GestionAdministrative.js | 52 +++++++++++-- src/components/Inscription_Information.js | 2 +- src/styles/components/_addclassmanual.scss | 59 +++++++++++++++ .../_displaypartnertrainingpagination.scss | 4 + 6 files changed, 166 insertions(+), 41 deletions(-) diff --git a/src/components/AddClassManual.js b/src/components/AddClassManual.js index 2b238d8..ef99842 100644 --- a/src/components/AddClassManual.js +++ b/src/components/AddClassManual.js @@ -19,6 +19,8 @@ import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css"; import { RichTextEditor } from '@mantine/rte'; import { Editor } from '@tinymce/tinymce-react'; import { IoArrowUndoCircle } from "react-icons/io5"; +import { GrUserAdmin, GrOrderedList } from "react-icons/gr"; + import GestionAdministrative from "./GestionAdministrative"; @@ -354,7 +356,7 @@ const AddClassManual = (props) => { if (mylocaltraining.support) { setmytrainingsupport(mylocaltraining.support); } - else{ + else { setmytrainingsupport("n/a"); } @@ -423,7 +425,7 @@ const AddClassManual = (props) => { //document.getElementsByName("zone_diffusion")[0].value = mylocaltraining.zone_diffusion_str; document.getElementsByName("zone_diffusion_v2")[0].value = mylocaltraining.zone_diffusion_str; } - + } } else { @@ -499,7 +501,7 @@ const AddClassManual = (props) => { description = editorRef_description.current.getContent(); } - + var mots_cle = ""; if (editorRef_mots_cle.current) { @@ -911,28 +913,45 @@ const AddClassManual = (props) => { ]; + function retourList() { + props.closeTrainingForm(); + + } return (
+
+ + + +
+ + + +
+ +
+ +
+ -
-
@@ -1252,7 +1271,7 @@ const AddClassManual = (props) => { 'searchreplace visualblocks code fullscreen', 'insertdatetime media table paste code help wordcount' ], - + content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px; }' }} /> @@ -1283,7 +1302,7 @@ const AddClassManual = (props) => { 'searchreplace visualblocks code fullscreen', 'insertdatetime media table paste code help wordcount' ], - + content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px; }' }} /> @@ -1314,7 +1333,7 @@ const AddClassManual = (props) => { 'searchreplace visualblocks code fullscreen', 'insertdatetime media table paste code help wordcount' ], - + content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px; }' }} /> @@ -1346,7 +1365,7 @@ const AddClassManual = (props) => { 'searchreplace visualblocks code fullscreen', 'insertdatetime media table paste code help wordcount' ], - + content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px; }' }} /> @@ -1377,7 +1396,7 @@ const AddClassManual = (props) => { 'searchreplace visualblocks code fullscreen', 'insertdatetime media table paste code help wordcount' ], - + content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px; }' }} /> @@ -1408,7 +1427,7 @@ const AddClassManual = (props) => { 'searchreplace visualblocks code fullscreen', 'insertdatetime media table paste code help wordcount' ], - + content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px; }' }} /> @@ -1439,7 +1458,7 @@ const AddClassManual = (props) => { 'searchreplace visualblocks code fullscreen', 'insertdatetime media table paste code help wordcount' ], - + content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px; }' }} /> @@ -1460,7 +1479,7 @@ const AddClassManual = (props) => {
- {/*
+ {/*
Date et lieu de formation