19/11/22 - 22h30

recette2
cherif 2022-11-19 22:41:02 +01:00
parent 13813ece42
commit 283258ffcb
4 changed files with 76 additions and 26 deletions

View File

@ -1262,7 +1262,7 @@ const AddClassManual = (props) => {
init={{
resize: false,
height: 200,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
@ -1295,7 +1295,7 @@ const AddClassManual = (props) => {
}}
init={{
resize: false,
height: 200,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
@ -1314,7 +1314,7 @@ const AddClassManual = (props) => {
<div className="training_text">
<div className="plus_produit_desabled">
<div className="titre_training_text"> Programme</div>
<div className="titre_training_text"> Programmett</div>
<Editor
onInit={(evt, editor) => editorRef_programme.current = editor}
initialValue={field_programme}
@ -1328,7 +1328,7 @@ const AddClassManual = (props) => {
}}
init={{
resize: false,
height: 200,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
@ -1362,7 +1362,7 @@ const AddClassManual = (props) => {
}}
init={{
resize: false,
height: 200,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
@ -1395,7 +1395,7 @@ const AddClassManual = (props) => {
}}
init={{
resize: false,
height: 200,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
@ -1428,7 +1428,7 @@ const AddClassManual = (props) => {
}}
init={{
resize: false,
height: 200,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',

View File

@ -24,6 +24,7 @@ import { format } from 'date-fns'
import moment from "moment";
import fileDownload from 'js-file-download'
import { ConsoleView } from "react-device-detect";
import { confirmAlert } from 'react-confirm-alert';
function GestionAdministrative(props) {
@ -1235,10 +1236,59 @@ function GestionAdministrative(props) {
else if (String(actionenmasse) === String("supprimer")) {
alert("supprimer");
}
}
function ConfirmInitListEmargement() {
confirmAlert({
message: "Confirmez la (re)initialisation de la liste d'emargement ? Toutes les confirmations seront perdues",
buttons: [
{
label: 'Oui',
onClick: () => {CreateListEmargement()}
},
{
label: 'Non',
onClick: () => { return }
}
],
closeOnEscape: false,
closeOnClickOutside: false,
keyCodeForClose: [8, 32],
willUnmount: () => { },
afterClose: () => { },
onClickOutside: () => { },
onKeypress: () => { },
onKeypressEscape: () => { },
});
}
function ConfirmEnvoiListEmargement() {
confirmAlert({
message: "Confirmez l'envoi des demandes d'emargement aux participants",
buttons: [
{
label: 'Oui',
onClick: () => {ActionMassListEmargement()}
},
{
label: 'Non',
onClick: () => { return }
}
],
closeOnEscape: false,
closeOnClickOutside: false,
keyCodeForClose: [8, 32],
willUnmount: () => { },
afterClose: () => { },
onClickOutside: () => { },
onKeypress: () => { },
onKeypressEscape: () => { },
});
}
return (
<div className='gestionadministrative'>
<Helmet>
@ -1775,9 +1825,9 @@ function GestionAdministrative(props) {
<div className="div_row" style={{"textAlign":"right","marginTop":"0.5rem"}}>
<Button className="bton_emarge" onClick={CreateListEmargement}>Initaliser la liste emargement</Button>
<Button className="bton_emarge" onClick={ConfirmInitListEmargement}>Initaliser la liste emargement</Button>
<Button className="bton_emarge" onClick={DownloadListEmargement}>Imprimer la liste emargement</Button>
<Button className="bton_emarge" onClick={ActionMassListEmargement}>Envoyer les demandes d'emargement</Button><br />
<Button className="bton_emarge" onClick={ConfirmEnvoiListEmargement}>Envoyer les demandes d'emargement</Button><br />
</div>

View File

@ -38,7 +38,7 @@ function PartnerSignIn() {
function Logout_Partenaire() {
confirmAlert({
title: 'Deconnexion Partenaire ?',
message: 'Confirmez la deconnexion partenaire',
message: 'Confirmez la deconnexion partenaire',
buttons: [
{
label: 'Yes',

View File

@ -306,9 +306,9 @@
width: 100%;
padding: 5px;
float: left;
height: 220px !important;
min-height: 220px !important;
max-height: 220px !important;
height: 320px !important;
min-height: 320px !important;
max-height: 320px !important;
margin-bottom: 10px;
}
@ -657,9 +657,9 @@
width: 50%;
padding: 5px;
float: left;
height: 220px !important;
min-height: 220px !important;
max-height: 220px !important;
height: 320px !important;
min-height: 320px !important;
max-height: 320px !important;
margin-bottom: 10px;
}
@ -918,7 +918,7 @@
}
.plus_produit_desabled {
width: 95% !important;
width: 100% !important;
margin-right: 1rem !important;
margin-bottom: 1rem !important;
}
@ -1008,9 +1008,9 @@
width: 50%;
padding: 5px;
float: left;
height: 220px !important;
min-height: 220px !important;
max-height: 220px !important;
height: 320px !important;
min-height: 320px !important;
max-height: 320px !important;
margin-bottom: 10px;
}
@ -1271,7 +1271,7 @@
}
.plus_produit_desabled {
width: 90% !important;
width: 100% !important;
margin-right: 2rem !important;
margin-bottom: 1rem !important;
max-height: 200px !important;
@ -1364,9 +1364,9 @@
width: 50%;
padding: 5px;
float: left;
height: 220px !important;
min-height: 220px !important;
max-height: 220px !important;
height: 320px !important;
min-height: 320px !important;
max-height: 320px !important;
margin-bottom: 10px;
}