From e2c98678c31712054fafe6c9193b8ca5865792a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kilchenmann?= Date: Mon, 2 Aug 2021 11:06:53 +0200 Subject: [PATCH] feat(resource): update resource's label (DSP-1801) (#492) * feat(resource): init edit label * feat(resource): update resource's label (DSP-1801) --- src/app/main/dialog/dialog.component.html | 52 ++++++++---- src/app/main/dialog/dialog.component.scss | 4 + .../properties/properties.component.html | 5 ++ .../properties/properties.component.ts | 81 ++++++++++++------- 4 files changed, 99 insertions(+), 43 deletions(-) diff --git a/src/app/main/dialog/dialog.component.html b/src/app/main/dialog/dialog.component.html index 3b4b5c18bd..3106899217 100644 --- a/src/app/main/dialog/dialog.component.html +++ b/src/app/main/dialog/dialog.component.html @@ -281,21 +281,24 @@
- +
- +
- +
@@ -324,20 +327,40 @@ +
+ + + + + + + + + + + + +
+
- + + + Comment why resource is being deleted + + Do you want to delete this resource? - - @@ -350,9 +373,10 @@
- Do you want to erase this resource forever?
WARNING: This action cannot be undone, so use it with care. + Do you want to erase this resource forever?

WARNING: This action cannot be undone, so use it with care. - diff --git a/src/app/main/dialog/dialog.component.scss b/src/app/main/dialog/dialog.component.scss index aef24dac6b..584fa38f7f 100644 --- a/src/app/main/dialog/dialog.component.scss +++ b/src/app/main/dialog/dialog.component.scss @@ -11,3 +11,7 @@ padding: 8px; height: 64px; } + +.mat-dialog-content { + margin: 0 auto; +} diff --git a/src/app/workspace/resource/properties/properties.component.html b/src/app/workspace/resource/properties/properties.component.html index 6928e34c6e..0fbc9c4f44 100644 --- a/src/app/workspace/resource/properties/properties.component.html +++ b/src/app/workspace/resource/properties/properties.component.html @@ -5,6 +5,7 @@

{{resource.res.label}} (deleted)

+ @@ -55,6 +56,10 @@

more_vert +