diff --git a/src/components/AddClassManual.js b/src/components/AddClassManual.js index 1e5aa52..dcaa289 100644 --- a/src/components/AddClassManual.js +++ b/src/components/AddClassManual.js @@ -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) => {
-
Programme
+
Programmett
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', diff --git a/src/components/GestionAdministrative.js b/src/components/GestionAdministrative.js index f6a2033..6c4ef46 100644 --- a/src/components/GestionAdministrative.js +++ b/src/components/GestionAdministrative.js @@ -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 (
@@ -1775,9 +1825,9 @@ function GestionAdministrative(props) {
- + -
+
diff --git a/src/components/PartnerSignInFirst.js b/src/components/PartnerSignInFirst.js index 3781731..652290c 100644 --- a/src/components/PartnerSignInFirst.js +++ b/src/components/PartnerSignInFirst.js @@ -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', diff --git a/src/styles/components/_addclassmanual.scss b/src/styles/components/_addclassmanual.scss index 15e9a88..b16a0b9 100644 --- a/src/styles/components/_addclassmanual.scss +++ b/src/styles/components/_addclassmanual.scss @@ -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; }