From 7ef8a2f743606b3846f844b451b79153f3b30187 Mon Sep 17 00:00:00 2001 From: cherif Date: Wed, 18 Jan 2023 22:35:44 +0100 Subject: [PATCH] 18/01/23 - 22h --- src/components/AddClassManual.js | 4 +- src/components/DisplayDetailClass_new_v2.js | 5 +- src/styles/components/_addclassmanual.scss | 91 +++++++++++++++++++ .../_displaypartnertrainingpagination.scss | 49 +++++----- src/styles/components/_partner.scss | 56 +++++++----- 5 files changed, 152 insertions(+), 53 deletions(-) diff --git a/src/components/AddClassManual.js b/src/components/AddClassManual.js index ef99842..83b1208 100644 --- a/src/components/AddClassManual.js +++ b/src/components/AddClassManual.js @@ -920,7 +920,7 @@ const AddClassManual = (props) => { return (
-
+ {String(props.mytrainingclass.ref).trim() !== "" &&
@@ -952,7 +952,7 @@ const AddClassManual = (props) => { -
+
}
diff --git a/src/components/DisplayDetailClass_new_v2.js b/src/components/DisplayDetailClass_new_v2.js index a3d9b7c..755b723 100644 --- a/src/components/DisplayDetailClass_new_v2.js +++ b/src/components/DisplayDetailClass_new_v2.js @@ -2021,9 +2021,8 @@ const DisplayDetailClass_new_v2 = (props) => {
-
Cela pourrait aussi vous intéresser
- - + {associatedtraining_message && String(associatedtraining_api) === "True" && associatedtraining_message.length > 0 && +
Cela pourrait aussi vous intéresser
}
diff --git a/src/styles/components/_addclassmanual.scss b/src/styles/components/_addclassmanual.scss index 4ef5405..d882c2f 100644 --- a/src/styles/components/_addclassmanual.scss +++ b/src/styles/components/_addclassmanual.scss @@ -682,6 +682,51 @@ margin-top: 1rem; } + + .row_block{ + width: 50%; + } + + + .zone_gestion_admin{ + border-radius: 5rem; + font-size: small; + text-align: right; + height: 2.5rem; + + } + + .bton_gestion_admin{ + border-radius: 5rem; + font-size: small; + background: #81BC3A!important; + text-align: right; + height: 2.5rem; + width: 80%; + + } + + + .zone_retour_liste{ + border-radius: 5rem; + font-size: small; + text-align: left; + height: 2.5rem; + + } + + .bton_retour_list{ + border-radius: 5rem; + font-size: small; + background: white!important; + text-align: left; + border: solid 1px; + height: 2.5rem; + width: 80%; + color: black; + + } + } @media only screen and (min-width: 992px) and (max-width: 1199px) { @@ -1048,6 +1093,51 @@ margin-top: 1rem; } + + .row_block{ + width: 50%; + } + + + .zone_gestion_admin{ + border-radius: 5rem; + font-size: small; + text-align: right; + height: 2.5rem; + + } + + .bton_gestion_admin{ + border-radius: 5rem; + font-size: small; + background: #81BC3A!important; + text-align: right; + height: 2.5rem; + width: 60%; + + } + + + .zone_retour_liste{ + border-radius: 5rem; + font-size: small; + text-align: left; + height: 2.5rem; + + } + + .bton_retour_list{ + border-radius: 5rem; + font-size: small; + background: white!important; + text-align: left; + border: solid 1px; + height: 2.5rem; + width: 60%; + color: black; + + } + } @media only screen and (min-width: 1200px) { @@ -1460,6 +1550,7 @@ border: solid 1px; height: 2.5rem; width: 50%; + color: black; } diff --git a/src/styles/components/_displaypartnertrainingpagination.scss b/src/styles/components/_displaypartnertrainingpagination.scss index d83e2bf..b40aefe 100644 --- a/src/styles/components/_displaypartnertrainingpagination.scss +++ b/src/styles/components/_displaypartnertrainingpagination.scss @@ -203,15 +203,15 @@ } .bton_rechercher { - border-radius: 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border-bottom-right-radius: 10px; - border-bottom-left-radius: 10px; - font-size: small; width: 50%; background: #81BC3A; padding: 0.3rem; + border-radius: 5rem; + font-size: small; + text-align: left; + border: solid 1px; + height: 2.5rem; + color: black; } } @@ -390,15 +390,15 @@ } .bton_rechercher { - border-radius: 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border-bottom-right-radius: 10px; - border-bottom-left-radius: 10px; - font-size: small; width: 30%; background: #81BC3A; padding: 0.3rem; + border-radius: 5rem; + font-size: small; + text-align: left; + border: solid 1px; + height: 2.5rem; + color: black; } } @@ -577,15 +577,15 @@ } .bton_rechercher { - border-radius: 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border-bottom-right-radius: 10px; - border-bottom-left-radius: 10px; - font-size: small; width: 20%; background: #81BC3A; padding: 0.3rem; + border-radius: 5rem; + font-size: small; + text-align: left; + border: solid 1px; + height: 2.5rem; + color: black; } } @@ -765,15 +765,16 @@ } .bton_rechercher { - border-radius: 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border-bottom-right-radius: 10px; - border-bottom-left-radius: 10px; - font-size: small; + width: 20%; background: #81BC3A; padding: 0.3rem; + border-radius: 5rem; + font-size: small; + text-align: left; + border: solid 1px; + height: 2.5rem; + color: black; } diff --git a/src/styles/components/_partner.scss b/src/styles/components/_partner.scss index 458661d..a7709d6 100644 --- a/src/styles/components/_partner.scss +++ b/src/styles/components/_partner.scss @@ -388,17 +388,19 @@ } .bt_import_mass { - padding: 10px; - padding-left: 15px; - padding-right: 15px; - border-radius: 5px; width: 80%; - background: #104277; + background: #81BC3A; + padding: 0.3rem; + border-radius: 5rem; + font-size: small; + text-align: left; + border: solid 1px; + height: 2.5rem; color: white; } .zone_import_fichier { - text-align: center; + text-align: left; margin-bottom: 2rem; width: 100%; } @@ -804,17 +806,19 @@ } .bt_import_mass { - padding: 10px; - padding-left: 15px; - padding-right: 15px; - border-radius: 5px; width: 50%; - background: #104277; + background: #81BC3A; + padding: 0.3rem; + border-radius: 5rem; + font-size: small; + text-align: left; + border: solid 1px; + height: 2.5rem; color: white; } .zone_import_fichier { - text-align: center; + text-align: left; margin-bottom: 2rem; width: 100%; } @@ -1260,17 +1264,19 @@ } .bt_import_mass { - padding: 10px; - padding-left: 15px; - padding-right: 15px; - border-radius: 5px; width: 50%; - background: #104277; + background: #81BC3A; + padding: 0.3rem; + border-radius: 5rem; + font-size: small; + text-align: left; + border: solid 1px; + height: 2.5rem; color: white; } .zone_import_fichier { - text-align: center; + text-align: left; margin-bottom: 2rem; width: 80%; } @@ -1688,17 +1694,19 @@ } .bt_import_mass { - padding: 10px; - padding-left: 15px; - padding-right: 15px; - border-radius: 5px; width: 50%; - background: #104277; + background: #81BC3A; + padding: 0.3rem; + border-radius: 5rem; + font-size: small; + text-align: left; + border: solid 1px; + height: 2.5rem; color: white; } .zone_import_fichier { - text-align: center; + text-align: left; margin-bottom: 2rem; width: 50%; }