From c8bae3e4fe4bd785ed27fd76553134dcc1933ba5 Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 21 Oct 2024 15:27:58 +0200 Subject: [PATCH] Fix various semantic tags --- frontend/package.json | 2 +- .../action-plan/action-plan.component.html | 8 +- .../application-banner.component.html | 1 - .../check-in-history-dialog.component.html | 4 +- .../check-in-form-metric.component.html | 28 +-- .../check-in-form-ordinal.component.html | 11 +- .../check-in-form.component.html | 4 +- .../key-result-form.component.html | 2 +- .../keyresult-dialog.component.html | 4 +- .../keyresult-type.component.html | 168 +++++++++--------- .../keyresult/keyresult.component.html | 18 +- .../objective/objective.component.html | 4 +- 12 files changed, 125 insertions(+), 129 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 1bbcd384ff..023c5f5bad 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,7 +3,7 @@ "version": "2.0.0", "scripts": { "ng": "ng", - "start": "ng serve --host 0.0.0.0", + "start": "ng serve ", "build": "ng build", "build:staging": "ng build --configuration staging", "watch": "ng build --watch --configuration development", diff --git a/frontend/src/app/components/action-plan/action-plan.component.html b/frontend/src/app/components/action-plan/action-plan.component.html index b056643283..4239b49ead 100644 --- a/frontend/src/app/components/action-plan/action-plan.component.html +++ b/frontend/src/app/components/action-plan/action-plan.component.html @@ -1,4 +1,4 @@ -
+
-
+
-
-
+ + diff --git a/frontend/src/app/components/application-banner/application-banner.component.html b/frontend/src/app/components/application-banner/application-banner.component.html index 08be2ac67b..fd59295d0d 100644 --- a/frontend/src/app/components/application-banner/application-banner.component.html +++ b/frontend/src/app/components/application-banner/application-banner.component.html @@ -1,5 +1,4 @@
-
diff --git a/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.html b/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.html index 45f8a39c78..4224e87ffa 100644 --- a/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.html +++ b/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.html @@ -7,7 +7,7 @@ -
@@ -47,7 +47,7 @@ Massnahmen: {{ checkIn.initiatives }}
-
+
diff --git a/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.html b/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.html index 45d9ce03ec..eb40dc05ae 100644 --- a/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.html +++ b/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.html @@ -1,27 +1,27 @@
-
+
-
-
- -
+
+ {{ generateUnitLabel() }} -
+
+
-
+

{{ checkIn.value }} {{ generateUnitLabel() }} -

+

+ {{ getErrorMessage("MUST_BE_NUMBER", "Neuer Wert") }} diff --git a/frontend/src/app/components/checkin/check-in-form-ordinal/check-in-form-ordinal.component.html b/frontend/src/app/components/checkin/check-in-form-ordinal/check-in-form-ordinal.component.html index 511f0222b1..d0f8829ca8 100644 --- a/frontend/src/app/components/checkin/check-in-form-ordinal/check-in-form-ordinal.component.html +++ b/frontend/src/app/components/checkin/check-in-form-ordinal/check-in-form-ordinal.component.html @@ -4,22 +4,25 @@
- Fail:   Commit / Target / Stretch noch nicht erreicht + Fail:  Commit / Target / Stretch noch nicht erreicht
+
-

Commit:  {{ keyResult.commitZone }}

+ Commit: {{ keyResult.commitZone }}
+
-

Target:  {{ keyResult.targetZone }}

+ Target: {{ keyResult.targetZone }}
+
-

Stretch:  {{ keyResult.stretchZone }}

+ Stretch: {{ keyResult.stretchZone }}
diff --git a/frontend/src/app/components/checkin/check-in-form/check-in-form.component.html b/frontend/src/app/components/checkin/check-in-form/check-in-form.component.html index 61916e9b7f..4820ffa896 100644 --- a/frontend/src/app/components/checkin/check-in-form/check-in-form.component.html +++ b/frontend/src/app/components/checkin/check-in-form/check-in-form.component.html @@ -14,7 +14,7 @@
- +
{{ action.action }} - +
diff --git a/frontend/src/app/components/key-result-form/key-result-form.component.html b/frontend/src/app/components/key-result-form/key-result-form.component.html index 9816b6710d..8839c7bcd7 100644 --- a/frontend/src/app/components/key-result-form/key-result-form.component.html +++ b/frontend/src/app/components/key-result-form/key-result-form.component.html @@ -23,7 +23,7 @@
- + +
- +
diff --git a/frontend/src/app/components/keyresult-type/keyresult-type.component.html b/frontend/src/app/components/keyresult-type/keyresult-type.component.html index ee5c40bd9c..a45700df22 100644 --- a/frontend/src/app/components/keyresult-type/keyresult-type.component.html +++ b/frontend/src/app/components/keyresult-type/keyresult-type.component.html @@ -32,53 +32,51 @@
-
-
-
- - - - {{ getErrorMessage("MUST_SELECT", "Einheit", null, null) }} - -
+
+
+ + + + {{ getErrorMessage("MUST_SELECT", "Einheit", null, null) }} + +
-
- - - - {{ getErrorMessage("MUST_BE_NUMBER", "Baseline", null, null) }} - -
+
+ + + + {{ getErrorMessage("MUST_BE_NUMBER", "Baseline", null, null) }} + +
-
- - - - {{ getErrorMessage("MUST_BE_NUMBER", "Stretch Goal", null, null) }} - -
+
+ + + + {{ getErrorMessage("MUST_BE_NUMBER", "Stretch Goal", null, null) }} +
@@ -90,49 +88,47 @@
-
-
-
- - - - {{ getErrorMessage("SIZE_BETWEEN", "Commit Zone", 1, 400) }} - -
+
+
+ + + + {{ getErrorMessage("SIZE_BETWEEN", "Commit Zone", 1, 400) }} + +
-
- - - - {{ getErrorMessage("SIZE_BETWEEN", "Target Zone", 1, 400) }} - -
+
+ + + + {{ getErrorMessage("SIZE_BETWEEN", "Target Zone", 1, 400) }} + +
-
- - - - {{ getErrorMessage("SIZE_BETWEEN", "Stretch Zone", 1, 400) }} - -
+
+ + + + {{ getErrorMessage("SIZE_BETWEEN", "Stretch Zone", 1, 400) }} +
diff --git a/frontend/src/app/components/keyresult/keyresult.component.html b/frontend/src/app/components/keyresult/keyresult.component.html index a8e6dc93b8..6d1a96ffe2 100644 --- a/frontend/src/app/components/keyresult/keyresult.component.html +++ b/frontend/src/app/components/keyresult/keyresult.component.html @@ -8,18 +8,16 @@

{{ keyResult.title }}

-
- - Letztes Check-in - {{ - keyResult!.lastCheckIn!.createdOn | date: DATE_FORMAT - }} - Keines - +
+ Letztes Check-in + {{ + keyResult!.lastCheckIn!.createdOn | date: DATE_FORMAT + }} + Keines
-
-

Confidence

+
+ Confidence
-
+

{{ objective.title }}

-
+