From bf2031bcd83ca1e97f4af9fcfe3f07f01025f840 Mon Sep 17 00:00:00 2001 From: ezhil Date: Fri, 1 Feb 2019 16:13:56 +0530 Subject: Select template for CBA wizard Change-Id: I57c5b9af9c0dfa50fcb332ee93a6657baaca4cf1 Issue-ID: CCSDK-703 Signed-off-by: ezhil --- .../select-template/select-template.component.html | 29 +++++++++++++++++++--- .../select-template/select-template.component.scss | 10 +++++++- .../select-template/select-template.component.ts | 16 +++++++++--- 3 files changed, 47 insertions(+), 8 deletions(-) (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template') diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.html b/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.html index 2b8b74be1..bcd78323e 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.html @@ -18,8 +18,31 @@ See the License for the specific language governing permissions and limitations under the License. ============LICENSE_END============================================ --> -

- select-template works! -

+ + + Choose CBA Template file + +
+
+ +
+
+ + Browse CBA Template file + +
+
+ +
+
+ + Enter Metadata details + +
+
+
+ + + \ No newline at end of file diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.scss b/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.scss index 22941b5fa..47ae92a20 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.scss +++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.scss @@ -17,4 +17,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ============LICENSE_END============================================ -*/ \ No newline at end of file +*/ + +.matStepNextBtn{ + color:white; + background:gray; + margin-top: 10px; + position: absolute; + +} \ No newline at end of file diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts index 78a0d1b1f..b4356a601 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts @@ -19,7 +19,7 @@ limitations under the License. ============LICENSE_END============================================ */ import { Component, OnInit } from '@angular/core'; -import { Observable} from 'rxjs'; +import { Observable } from 'rxjs'; import { Store } from '@ngrx/store'; @Component({ @@ -29,10 +29,18 @@ import { Store } from '@ngrx/store'; }) export class SelectTemplateComponent implements OnInit { blueprint: any - constructor() { - } + myFile: File; /* property of File type */ - ngOnInit() { + constructor() { } + ngOnInit() { + } + fileChange(files: any) { + console.log(files); + this.myFile = files[0].nativeElement; + } + upload(){ + + } } -- cgit 1.2.3-korg