From 0dc71f1b9ac7462e76c30ba9472419f22592a288 Mon Sep 17 00:00:00 2001 From: "stuart.woodman" Date: Tue, 22 Oct 2024 09:09:00 +1100 Subject: [PATCH] Fixed bug where resizing textfield on NVCL modal doesn't work. --- .../nvcl/nvcl.boreholeanalytic.component.html | 60 +++++++++---------- .../nvcl/nvcl.boreholeanalytic.component.ts | 6 +- 2 files changed, 31 insertions(+), 35 deletions(-) diff --git a/src/app/modalwindow/layeranalytic/nvcl/nvcl.boreholeanalytic.component.html b/src/app/modalwindow/layeranalytic/nvcl/nvcl.boreholeanalytic.component.html index 715fc788..d155aeff 100644 --- a/src/app/modalwindow/layeranalytic/nvcl/nvcl.boreholeanalytic.component.html +++ b/src/app/modalwindow/layeranalytic/nvcl/nvcl.boreholeanalytic.component.html @@ -14,26 +14,25 @@

{{layer.name}}

- National Virtual Core Library analytics are run remotely and may take some time to complete. By entering an email and a job name you can come back to this form later to collect your results. -
-
-
- -
- + National Virtual Core Library analytics are run remotely and may take some time to complete. By entering an email and a job name you can come back to this form later to collect your results. +
+
+
+ +
+ -
+
- - + +
-
@@ -52,34 +51,33 @@

Borehole Analytics

Please select a classification algorithm to filter boreholes against.
- +
-
+
-
New Algorithm
-
-
- -
- - -
-
+
New Algorithm
+
+
+ +
+ + +
+
- -
- + +
+ -
+
-
- +
Existing Algorithm
diff --git a/src/app/modalwindow/layeranalytic/nvcl/nvcl.boreholeanalytic.component.ts b/src/app/modalwindow/layeranalytic/nvcl/nvcl.boreholeanalytic.component.ts index 72d9b9b4..80c84c90 100644 --- a/src/app/modalwindow/layeranalytic/nvcl/nvcl.boreholeanalytic.component.ts +++ b/src/app/modalwindow/layeranalytic/nvcl/nvcl.boreholeanalytic.component.ts @@ -1,4 +1,3 @@ -import { environment } from '../../../../environments/environment'; import { saveAs } from 'file-saver'; import { LayerModel } from '@auscope/portal-core-ui'; import { NVCLBoreholeAnalyticService } from './nvcl.boreholeanalytic.service'; @@ -11,7 +10,6 @@ import { } from '@angular/core'; import { LayerAnalyticInterface } from '../layer.analytic.interface'; import { NgForm } from '@angular/forms'; -import { UserStateService } from 'app/services/user/user-state.service'; @Component({ @@ -51,8 +49,7 @@ export class NVCLBoreholeAnalyticComponent }; constructor( - public nvclBoreholeAnalyticService: NVCLBoreholeAnalyticService, - private userStateService: UserStateService + public nvclBoreholeAnalyticService: NVCLBoreholeAnalyticService ) { this.nvclform = {}; } @@ -195,6 +192,7 @@ export class NVCLBoreholeAnalyticComponent // console.log('jobid=' + jobid + ' publishStatus=' + response); }); } + public nvclDownload(jobid: string) { this.nvclBoreholeAnalyticService .downloadNVCLJobResult(jobid)