From 0dde6233b130601d55d785f8164e0771e91ec77e Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 13 May 2021 13:39:20 +0300 Subject: [PATCH] Improve dashboard image dialog - ability to set crop rectangle for dashboard screenshot --- .../dashboard-image-dialog.component.html | 30 ++++++++++-- .../dashboard-image-dialog.component.scss | 5 ++ .../dashboard-image-dialog.component.ts | 46 ++++++++++++++++++- 3 files changed, 75 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-image-dialog.component.html b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-image-dialog.component.html index f37e2991f3..12d044f36b 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-image-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-image-dialog.component.html @@ -28,10 +28,32 @@
-
-
-
{{ 'dashboard.no-image' | translate }}
- +
+
+ + Top % + + +
+ + Left % + + +
+
{{ 'dashboard.no-image' | translate }}
+ +
+ + Right % + + +
+ + Bottom % + + +
+