summaryrefslogtreecommitdiffstats
path: root/cds-ui
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-03-31 12:44:29 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-31 12:44:29 +0000
commit45df1a8e555afb1e9f287968857437cc91c52618 (patch)
tree7767850911f8458d558f16920d72646778038205 /cds-ui
parente688cb6c9dbd5ecad4bbc3cd8f57aa9f7d208713 (diff)
parent33406683825449874c490349778f27206c51dbca (diff)
Merge "changes in resource creation"
Diffstat (limited to 'cds-ui')
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html9
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.scss3
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts3
3 files changed, 12 insertions, 3 deletions
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html
index 8ace910b1..c4fa67a62 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html
@@ -36,10 +36,13 @@
<ng-template matStepLabel>Browse or Search Resources</ng-template>
<app-upload-resource (fileData)=upload($event)></app-upload-resource><br><br>
<app-existing-model></app-existing-model>
- <div>
- <button mat-button matStepperNext (click)="updateResourcesState()" class="matStepNextBtn">Upload</button>
+ <div>
+ <button mat-button matStepperNext (click)="updateResourcesState()" class="matStepNextBtn">Upload</button>
+ </div><br><br>
+ <div *ngIf="showMsg">
+ <p class="success"><strong>File Upload Success!</strong> Please click Proceed to continue!</p>
</div>
- </mat-step>
+ </mat-step>
</mat-vertical-stepper>
</mat-card-content>
</mat-card> \ No newline at end of file
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.scss b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.scss
index b3b7fe7d5..51df0969b 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.scss
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.scss
@@ -43,4 +43,7 @@
word-wrap: break-word;
min-height:350px;
height: auto;
+}
+.success{
+color:green;
} \ No newline at end of file
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts
index c751e0ee8..549fbb7ea 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts
@@ -34,6 +34,8 @@ export class ResourceCreationComponent implements OnInit {
myFile: any;
selectedValue: any;
+ showMsg:boolean=false;
+
constructor(private store: Store<IAppState>) {
}
@@ -53,6 +55,7 @@ export class ResourceCreationComponent implements OnInit {
me.store.dispatch(new LoadResourcesSuccess(data));
console.log(data);
}
+ this.showMsg= true;
}
selectedOption(value){