From 63e3a86f6d3bfce736b4be1372fb109f7003efda Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 13 Feb 2019 13:16:08 +0530 Subject: Added layout changes for modify template Layout changes for 2nd stepper Issue-ID: CCSDK-975 Change-Id: Ie238a930545e55b5a3a8d19e8966a19bca3691a7 Signed-off-by: Arundathi Patil --- .../modify-template/modify-template.component.html | 79 ++++++++++++++++++++-- .../modify-template/modify-template.component.scss | 65 +++++++++++++++++- .../modify-template/modify-template.module.ts | 5 ++ 3 files changed, 143 insertions(+), 6 deletions(-) (limited to 'cds-ui/client/src/app/feature-modules/blueprint') diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html index f9cb8234b..c41bdafb7 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html @@ -18,8 +18,79 @@ See the License for the specific language governing permissions and limitations under the License. ============LICENSE_END============================================ --> -

- modify-template works! -

- +
+
+ + + + + Node types + + +
+
{{item}}
+
+
+ + + + + Policy + + +
+
Policy 1
+
Policy 1
+
Policy 1
+
+
+
+
+ + +
+ + + + + + + + + + +
+ + +
+
{{ item }}
+
+ +
+ + + + + + Properties + + + + + + + + Interface + + + +
+
{{item}}
+
+
+ +
+
+
\ No newline at end of file diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.scss b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.scss index 22941b5fa..1ddb2559e 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.scss +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.scss @@ -1,7 +1,7 @@ /* ============LICENSE_START========================================== =================================================================== -Copyright (C) 2018 IBM Intellectual Property. All rights reserved. +Copyright (C) 2018-19 IBM Intellectual Property. All rights reserved. =================================================================== Unless otherwise specified, all software contained herein is licensed @@ -17,4 +17,65 @@ 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 +*/ + +.outerDiv { + display: flex; + // align-items: center; + // justify-content: center; + margin: 1px; + padding: 16px; + border-radius: 8px; + } + + .divone { + height: 100%; + width: 18%; + background-color: #D7D1D1; + } +.divtwo { + height: 100%; + width: 100%; + background-color: #D7D1D1; +} +.divThree{ + width: 30%; + height: 100%; + background-color: #D7D1D1; +} + +.flex-container { + display: flex; + flex-wrap: wrap; +} + +.flex-container > div { + background-color: #f1f1f1; + width: 53px; + margin: 2px; + text-align: center; + line-height: 53px; + font-size: 13px; +} +.cnv +{ + background-image: url('http://i.imgur.com/M3PFd.png'); + background-position: 39px 32px; + background-repeat: repeat; + width: 100% +} + +.modifyTemp { + display: flex; + flex-direction: row; + height: 524px; + width: 100% +} + +.mat-expansion-panel-header{ + background-color: #3f51b5 !important; +} + +.mat-expansion-panel-header-title { + color: white !important; +} \ No newline at end of file diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.module.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.module.ts index f502de4b1..eed926b7f 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.module.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.module.ts @@ -20,8 +20,11 @@ limitations under the License. */ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; +import { CdkTableModule } from '@angular/cdk/table'; + import { ModifyTemplateComponent } from './modify-template.component'; import { ModifyTemplateRoutingModule } from './modify-template-routing.module'; +import { AppMaterialModule } from '../../../common/modules/app-material.module'; @NgModule({ declarations: [ @@ -32,6 +35,8 @@ import { ModifyTemplateRoutingModule } from './modify-template-routing.module'; ], imports: [ CommonModule, + CdkTableModule, + AppMaterialModule, ModifyTemplateRoutingModule ] }) -- cgit 1.2.3-korg