From f4dd8f797c68740b968c1abdda390f24224d4424 Mon Sep 17 00:00:00 2001 From: kooper Date: Fri, 15 Mar 2019 16:58:20 +0000 Subject: Display PNF/VNF Type for PNF (frontend) Change-Id: I5f1ac23776976d16f8c2258f82b8dfe6aa925037 Issue-ID: SDC-2158 Signed-off-by: kooper --- .../modals/onboarding-modal/onboarding-modal-view-model.ts | 1 + .../modals/onboarding-modal/onboarding-modal-view.html | 7 ++++++- .../view-models/modals/onboarding-modal/onboarding-modal.less | 11 ++++++----- 3 files changed, 13 insertions(+), 6 deletions(-) (limited to 'catalog-ui/src/app/view-models/modals/onboarding-modal') diff --git a/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal-view-model.ts b/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal-view-model.ts index 46b258f0bd..01394a3c33 100644 --- a/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal-view-model.ts +++ b/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal-view-model.ts @@ -202,6 +202,7 @@ export class OnboardingModalViewModel { {title: 'Vendor', property: 'vendorName'}, {title: 'Category', property: 'categories'}, {title: 'Version', property: 'csarVersion'}, + {title: 'Type', property: 'resourceType'}, {title: '#', property: 'importAndUpdate'} //{title: 'Date', property: 'componentDate'} ]; diff --git a/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal-view.html b/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal-view.html index ea9d6ba63a..7f19389bdf 100644 --- a/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal-view.html +++ b/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal-view.html @@ -14,7 +14,7 @@ ~ limitations under the License. --> - +
@@ -82,6 +82,11 @@ {{component.csarVersion}}
+ +
+ {{component.resourceType}} +
+
diff --git a/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal.less b/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal.less index c745a86888..ccf4fb00b5 100644 --- a/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal.less +++ b/catalog-ui/src/app/view-models/modals/onboarding-modal/onboarding-modal.less @@ -6,7 +6,7 @@ .general-info-button{ position: relative; top: -40px; - left: 86px; + left: 95px; float: left; } @@ -76,16 +76,16 @@ align-self: center; } - .item-opened-description {flex-grow: 25;} + .item-opened-description {flex-grow: 25.3;} .item-opened-metadata1 {flex-grow: 25;} - .item-opened-metadata2 {flex-grow: 30;} + .item-opened-metadata2 {flex-grow: 45;} .item-opened-metadata3 { flex-grow: 10; .info-button{ float: right; } } - .item-opened-icon {flex-grow: 10;} + .item-opened-icon {flex-grow: 10.1;} } } } @@ -101,7 +101,8 @@ .flex-item:nth-child(2) {flex-grow: 25;} .flex-item:nth-child(3) {flex-grow: 30;} .flex-item:nth-child(4) {flex-grow: 10; text-align: center; } - .flex-item:nth-child(5) {flex-grow: 10; } + .flex-item:nth-child(5) {flex-grow: 10; text-align: center; } + .flex-item:nth-child(6) {flex-grow: 10; } } -- cgit 1.2.3-korg