commit | 33406683825449874c490349778f27206c51dbca | [log] [tgz] |
---|---|---|
author | Swapnali Shadanan Pode <sp00501638@techmahindra.com> | Fri Mar 29 15:59:54 2019 +0530 |
committer | Swapnali Pode <sp00501638@techmahindra.com> | Fri Mar 29 18:55:45 2019 +0000 |
tree | 22b417e66bb3fb414eda85f10314b6bf519c0d27 | |
parent | 9809f8b126dc744872729ac35df11ede55190a6d [diff] |
changes in resource creation Change-Id: Ia8dbfdf6e68f131c99b79e4bbc90f5cc9e17b31d Issue-ID: CCSDK-804 Signed-off-by: sp00501638 <sp00501638@techmahindra.com>
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 8ace910..c4fa67a 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 b3b7fe7..51df096 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 c751e0e..549fbb7 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 @@ myFile: any; selectedValue: any; + showMsg:boolean=false; + constructor(private store: Store<IAppState>) { } @@ -53,6 +55,7 @@ me.store.dispatch(new LoadResourcesSuccess(data)); console.log(data); } + this.showMsg= true; } selectedOption(value){