From f51ca5f7ede1507d5629897238b4c88bc563cf82 Mon Sep 17 00:00:00 2001 From: Konstantina Galouni Date: Mon, 19 Jul 2021 09:50:08 +0000 Subject: [PATCH] [Trunk | Monitor Dashboard]: 1. indicators.component.ts: a. Added fields "import_loading" and "export_loading" and set "editing", to show loading icon and disable edit options while export or import process is ongoing. b. Validate schema of indicators' file when importing it (type (chart or number), url, and jsonPath (for number indicators) are requested). 2. indicators.component.html: a. Instead of import or export icon (next to buttons), show loading icon when "import_loading" or "export_loading" is true. b. Disable edit options for indicators when "import_loading" or "export_loading" is true and show tooltip. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@61433 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/topic/indicators.component.html | 21 +++-- src/app/topic/indicators.component.ts | 103 +++++++++++++++++++----- 2 files changed, 96 insertions(+), 28 deletions(-) diff --git a/src/app/topic/indicators.component.html b/src/app/topic/indicators.component.html index c4eaf63..bb7bdf7 100644 --- a/src/app/topic/indicators.component.html +++ b/src/app/topic/indicators.component.html @@ -1,12 +1,14 @@
@@ -60,8 +62,9 @@
-
- +
+