19/11/22 - 22h30
parent
13813ece42
commit
283258ffcb
|
@ -1262,7 +1262,7 @@ const AddClassManual = (props) => {
|
||||||
|
|
||||||
init={{
|
init={{
|
||||||
resize: false,
|
resize: false,
|
||||||
height: 200,
|
height: 300,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist autolink lists link image charmap print preview anchor',
|
'advlist autolink lists link image charmap print preview anchor',
|
||||||
|
@ -1295,7 +1295,7 @@ const AddClassManual = (props) => {
|
||||||
}}
|
}}
|
||||||
init={{
|
init={{
|
||||||
resize: false,
|
resize: false,
|
||||||
height: 200,
|
height: 300,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist autolink lists link image charmap print preview anchor',
|
'advlist autolink lists link image charmap print preview anchor',
|
||||||
|
@ -1314,7 +1314,7 @@ const AddClassManual = (props) => {
|
||||||
|
|
||||||
<div className="training_text">
|
<div className="training_text">
|
||||||
<div className="plus_produit_desabled">
|
<div className="plus_produit_desabled">
|
||||||
<div className="titre_training_text"> Programme</div>
|
<div className="titre_training_text"> Programmett</div>
|
||||||
<Editor
|
<Editor
|
||||||
onInit={(evt, editor) => editorRef_programme.current = editor}
|
onInit={(evt, editor) => editorRef_programme.current = editor}
|
||||||
initialValue={field_programme}
|
initialValue={field_programme}
|
||||||
|
@ -1328,7 +1328,7 @@ const AddClassManual = (props) => {
|
||||||
}}
|
}}
|
||||||
init={{
|
init={{
|
||||||
resize: false,
|
resize: false,
|
||||||
height: 200,
|
height: 300,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist autolink lists link image charmap print preview anchor',
|
'advlist autolink lists link image charmap print preview anchor',
|
||||||
|
@ -1362,7 +1362,7 @@ const AddClassManual = (props) => {
|
||||||
}}
|
}}
|
||||||
init={{
|
init={{
|
||||||
resize: false,
|
resize: false,
|
||||||
height: 200,
|
height: 300,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist autolink lists link image charmap print preview anchor',
|
'advlist autolink lists link image charmap print preview anchor',
|
||||||
|
@ -1395,7 +1395,7 @@ const AddClassManual = (props) => {
|
||||||
}}
|
}}
|
||||||
init={{
|
init={{
|
||||||
resize: false,
|
resize: false,
|
||||||
height: 200,
|
height: 300,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist autolink lists link image charmap print preview anchor',
|
'advlist autolink lists link image charmap print preview anchor',
|
||||||
|
@ -1428,7 +1428,7 @@ const AddClassManual = (props) => {
|
||||||
}}
|
}}
|
||||||
init={{
|
init={{
|
||||||
resize: false,
|
resize: false,
|
||||||
height: 200,
|
height: 300,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist autolink lists link image charmap print preview anchor',
|
'advlist autolink lists link image charmap print preview anchor',
|
||||||
|
|
|
@ -24,6 +24,7 @@ import { format } from 'date-fns'
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import fileDownload from 'js-file-download'
|
import fileDownload from 'js-file-download'
|
||||||
import { ConsoleView } from "react-device-detect";
|
import { ConsoleView } from "react-device-detect";
|
||||||
|
import { confirmAlert } from 'react-confirm-alert';
|
||||||
|
|
||||||
function GestionAdministrative(props) {
|
function GestionAdministrative(props) {
|
||||||
|
|
||||||
|
@ -1235,10 +1236,59 @@ function GestionAdministrative(props) {
|
||||||
else if (String(actionenmasse) === String("supprimer")) {
|
else if (String(actionenmasse) === String("supprimer")) {
|
||||||
alert("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 (
|
return (
|
||||||
<div className='gestionadministrative'>
|
<div className='gestionadministrative'>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
|
@ -1775,9 +1825,9 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
|
|
||||||
<div className="div_row" style={{"textAlign":"right","marginTop":"0.5rem"}}>
|
<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={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>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ function PartnerSignIn() {
|
||||||
function Logout_Partenaire() {
|
function Logout_Partenaire() {
|
||||||
confirmAlert({
|
confirmAlert({
|
||||||
title: 'Deconnexion Partenaire ?',
|
title: 'Deconnexion Partenaire ?',
|
||||||
message: 'Confirmez la deconnexion partenaire',
|
message: 'Confirmez la deconnexion partenaire',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: 'Yes',
|
label: 'Yes',
|
||||||
|
|
|
@ -306,9 +306,9 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
float: left;
|
float: left;
|
||||||
height: 220px !important;
|
height: 320px !important;
|
||||||
min-height: 220px !important;
|
min-height: 320px !important;
|
||||||
max-height: 220px !important;
|
max-height: 320px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -657,9 +657,9 @@
|
||||||
width: 50%;
|
width: 50%;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
float: left;
|
float: left;
|
||||||
height: 220px !important;
|
height: 320px !important;
|
||||||
min-height: 220px !important;
|
min-height: 320px !important;
|
||||||
max-height: 220px !important;
|
max-height: 320px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -918,7 +918,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.plus_produit_desabled {
|
.plus_produit_desabled {
|
||||||
width: 95% !important;
|
width: 100% !important;
|
||||||
margin-right: 1rem !important;
|
margin-right: 1rem !important;
|
||||||
margin-bottom: 1rem !important;
|
margin-bottom: 1rem !important;
|
||||||
}
|
}
|
||||||
|
@ -1008,9 +1008,9 @@
|
||||||
width: 50%;
|
width: 50%;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
float: left;
|
float: left;
|
||||||
height: 220px !important;
|
height: 320px !important;
|
||||||
min-height: 220px !important;
|
min-height: 320px !important;
|
||||||
max-height: 220px !important;
|
max-height: 320px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1271,7 +1271,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.plus_produit_desabled {
|
.plus_produit_desabled {
|
||||||
width: 90% !important;
|
width: 100% !important;
|
||||||
margin-right: 2rem !important;
|
margin-right: 2rem !important;
|
||||||
margin-bottom: 1rem !important;
|
margin-bottom: 1rem !important;
|
||||||
max-height: 200px !important;
|
max-height: 200px !important;
|
||||||
|
@ -1364,9 +1364,9 @@
|
||||||
width: 50%;
|
width: 50%;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
float: left;
|
float: left;
|
||||||
height: 220px !important;
|
height: 320px !important;
|
||||||
min-height: 220px !important;
|
min-height: 320px !important;
|
||||||
max-height: 220px !important;
|
max-height: 320px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue