From 68fab4d6d309f68fa2dfb4a746f5daf4ed3c01d6 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Thu, 21 Nov 2024 17:30:51 +0100 Subject: [PATCH 1/2] WasteMeasurementSummary: move up date select & edit action --- .../components/WasteMeasurementSummary.vue | 57 ++++++++++--------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/2024-frontend/src/components/WasteMeasurementSummary.vue b/2024-frontend/src/components/WasteMeasurementSummary.vue index 035b582cb..3acab7b65 100644 --- a/2024-frontend/src/components/WasteMeasurementSummary.vue +++ b/2024-frontend/src/components/WasteMeasurementSummary.vue @@ -51,10 +51,36 @@ const activeAccordion = ref("")
+
+
+ +
+
+
+

Date de l'évaluation

+

+ + {{ + formatDate(displayMeasurement.periodStartDate, { + month: "short", + day: "numeric", + }) + }} + - {{ formatDate(displayMeasurement.periodEndDate) }} + +

+
- - Saisir une nouvelle évaluation - +

+ + Modifier les données + +

+

+ + Saisir une nouvelle évaluation + +

@@ -75,31 +101,6 @@ const activeAccordion = ref("")
-
-
- -
-
- - - Modifier les données - -
-
-
-

Date de l'évaluation

-

- - {{ - formatDate(displayMeasurement.periodStartDate, { - month: "short", - day: "numeric", - }) - }} - - {{ formatDate(displayMeasurement.periodEndDate) }} - -

-
From a23960345366f971854abbe00fe96f2ca53d0757 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Mon, 25 Nov 2024 16:47:31 +0100 Subject: [PATCH 2/2] Layout adjustements following review --- 2024-frontend/src/components/EdibleChart.vue | 36 +++++++++---------- 2024-frontend/src/components/SourceChart.vue | 36 +++++++++---------- .../components/WasteMeasurementSummary.vue | 10 +++--- 3 files changed, 38 insertions(+), 44 deletions(-) diff --git a/2024-frontend/src/components/EdibleChart.vue b/2024-frontend/src/components/EdibleChart.vue index 75f8d6ac7..4a3751367 100644 --- a/2024-frontend/src/components/EdibleChart.vue +++ b/2024-frontend/src/components/EdibleChart.vue @@ -43,25 +43,23 @@ const displayOption = ref("chart")

Part de comestible

-
-
- -
+
+
diff --git a/2024-frontend/src/components/SourceChart.vue b/2024-frontend/src/components/SourceChart.vue index fed2558d2..a3a9e3fbf 100644 --- a/2024-frontend/src/components/SourceChart.vue +++ b/2024-frontend/src/components/SourceChart.vue @@ -43,25 +43,23 @@ const displayOption = ref("chart")

Origine du gaspillage

-
-
- -
+
+
diff --git a/2024-frontend/src/components/WasteMeasurementSummary.vue b/2024-frontend/src/components/WasteMeasurementSummary.vue index 3acab7b65..659e5a0de 100644 --- a/2024-frontend/src/components/WasteMeasurementSummary.vue +++ b/2024-frontend/src/components/WasteMeasurementSummary.vue @@ -49,10 +49,10 @@ const activeAccordion = ref("")