From 56ce1449eaf4fdd78f2cccf33f6d2d604a819fb4 Mon Sep 17 00:00:00 2001
From: Sarah Abouzainah
Date: Fri, 10 Jul 2020 03:07:45 +0200
Subject: Manual Enrichment.
Issue-ID: CCSDK-2542
Signed-off-by: Sarah Abouzainah
Change-Id: I44cc4266324d5722364c8643cdc75cff49391a63
---
.../configuration-dashboard.component.html | 49 ++++++--
.../configuration-dashboard.component.ts | 5 +
.../imports-tab/imports-tab.component.html | 2 +-
.../scripts-tab/scripts-tab.component.html | 4 +-
.../templ-mapp-creation.component.html | 15 ++-
.../templ-mapp-listing.component.html | 2 +-
.../template-mapping.component.html | 2 +-
.../package-list/package-list.component.html | 2 +-
.../src/assets/icomoon/fonts/icomoon.eot | Bin 22524 -> 22816 bytes
.../src/assets/icomoon/fonts/icomoon.svg | 1 +
.../src/assets/icomoon/fonts/icomoon.ttf | Bin 22360 -> 22652 bytes
.../src/assets/icomoon/fonts/icomoon.woff | Bin 22440 -> 22732 bytes
.../designer-client/src/assets/icomoon/style.css | 14 ++-
cds-ui/designer-client/src/styles.css | 128 +++++++++++++--------
14 files changed, 152 insertions(+), 72 deletions(-)
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
index 8e2ae5dbb..ba5eca973 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
@@ -106,16 +106,17 @@
-
@@ -722,7 +729,35 @@
-
+
+
+
+
+
+
+
+ To do manual enrichment:
+ 1. Copy and paste "workflows" and "node_templates"
+ 2. Press Enrich button
+
+
+
+
+
+
+
+
@@ -731,7 +766,7 @@
@@ -744,4 +779,4 @@
-
\ No newline at end of file
+
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts
index 0e1d4cd11..fa127290c 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts
@@ -39,6 +39,7 @@ export class ConfigurationDashboardComponent implements OnInit {
id: any;
currentBlob = new Blob();
+ dslDefinition: DslDefinition = new DslDefinition();
constructor(
private route: ActivatedRoute,
@@ -248,4 +249,8 @@ export class ConfigurationDashboardComponent implements OnInit {
public fileLeave(event) {
console.log(event);
}
+
+ textChanged($event: {}) {
+
+ }
}
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/imports-tab/imports-tab.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/imports-tab/imports-tab.component.html
index 940177e6a..9ac7a058a 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/imports-tab/imports-tab.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/imports-tab/imports-tab.component.html
@@ -53,7 +53,7 @@
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.html
index e859062be..bd501c163 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.html
@@ -36,7 +36,7 @@
@@ -122,4 +122,4 @@
-
\ No newline at end of file
+
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html
index e1b0f83d6..f517cb108 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html
@@ -5,14 +5,11 @@
class="fa fa-chevron-left mr-2">Template List
-
Delete
-
-
Clear
- Finish
+ Finish
@@ -74,7 +71,9 @@
+ File.
When you import new file, the new attributes will replace
+ current attributes.
@@ -259,7 +258,7 @@
{{ item.name }}
+ src="assets/img/icon-remove-file.svg" class="btn-modal-remove-file" />
@@ -287,7 +286,7 @@
@@ -301,4 +300,4 @@
-
\ No newline at end of file
+
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-listing/templ-mapp-listing.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-listing/templ-mapp-listing.component.html
index 3e377981e..bc87ae2c0 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-listing/templ-mapp-listing.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-listing/templ-mapp-listing.component.html
@@ -48,7 +48,7 @@
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.html
index 48a503321..48fd4806a 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.html
@@ -6,4 +6,4 @@
\ No newline at end of file
+
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/package-list/package-list.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/package-list/package-list.component.html
index 1e6959fdc..f5588bc43 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/package-list/package-list.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/package-list/package-list.component.html
@@ -78,7 +78,7 @@
By {{bluePrint.updatedBy.split('<')[0]}}
{{bluePrint.artifactDescription}}
+ placement="bottom left">{{bluePrint.artifactDescription}}
+
diff --git a/cds-ui/designer-client/src/assets/icomoon/fonts/icomoon.ttf b/cds-ui/designer-client/src/assets/icomoon/fonts/icomoon.ttf
index 94a4d73c3..ab6b20e04 100755
Binary files a/cds-ui/designer-client/src/assets/icomoon/fonts/icomoon.ttf and b/cds-ui/designer-client/src/assets/icomoon/fonts/icomoon.ttf differ
diff --git a/cds-ui/designer-client/src/assets/icomoon/fonts/icomoon.woff b/cds-ui/designer-client/src/assets/icomoon/fonts/icomoon.woff
index b989b33e2..cabebb884 100755
Binary files a/cds-ui/designer-client/src/assets/icomoon/fonts/icomoon.woff and b/cds-ui/designer-client/src/assets/icomoon/fonts/icomoon.woff differ
diff --git a/cds-ui/designer-client/src/assets/icomoon/style.css b/cds-ui/designer-client/src/assets/icomoon/style.css
index 5b11e4c76..874f94a9b 100755
--- a/cds-ui/designer-client/src/assets/icomoon/style.css
+++ b/cds-ui/designer-client/src/assets/icomoon/style.css
@@ -1,10 +1,10 @@
@font-face {
font-family: 'icomoon';
- src: url('fonts/icomoon.eot?mwwfrv');
- src: url('fonts/icomoon.eot?mwwfrv#iefix') format('embedded-opentype'),
- url('fonts/icomoon.ttf?mwwfrv') format('truetype'),
- url('fonts/icomoon.woff?mwwfrv') format('woff'),
- url('fonts/icomoon.svg?mwwfrv#icomoon') format('svg');
+ src: url('fonts/icomoon.eot?r3i568');
+ src: url('fonts/icomoon.eot?r3i568#iefix') format('embedded-opentype'),
+ url('fonts/icomoon.ttf?r3i568') format('truetype'),
+ url('fonts/icomoon.woff?r3i568') format('woff'),
+ url('fonts/icomoon.svg?r3i568#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@@ -35,8 +35,12 @@
-moz-osx-font-smoothing: grayscale;
}
+.icon-enrich:before {
+ content: "\e907";
+}
.icon-rectangle:before {
content: "\e906";
+ color: #ff6b6b;
}
.icon-file:before {
content: "\e905";
diff --git a/cds-ui/designer-client/src/styles.css b/cds-ui/designer-client/src/styles.css
index a3c4b2b10..320ae139e 100644
--- a/cds-ui/designer-client/src/styles.css
+++ b/cds-ui/designer-client/src/styles.css
@@ -18,6 +18,11 @@ body{
transition: 0.3s !important;
}
/*Bootstrap*/
+.btn-outline-danger{
+ background: #fff !important;
+ border: solid 1px #ECEDF2 !important;
+ color: #FF6469 !important;
+}
.btn:disabled:hover{
cursor: default;
}
@@ -1770,15 +1775,14 @@ ul.package-contributers{
.tooltip:after,
[data-tooltip]:after {
z-index: 1000;
- padding: 8px;
+ padding: 8px 20px !important;
width: auto;
- background-color: #fff;
- background-color: rgba(255, 255, 255, 1.0);
+ background-color: #fff !important;
color: #1B3E6F;
content: attr(data-tooltip);
- font-size: 10px;
+ font-size: 12px;
line-height: 1.2;
- border-radius: 2px;
+ border-radius: 3px;
}
/* Directions */
@@ -1916,36 +1920,39 @@ ul.package-contributers{
}
/*TooltipModule - Shady*/
+.tooltip.in {
+ opacity: 1.0 !important;
+ filter:alpha(opacity=100) !important;
+}
.tooltip:before,
.tooltip:after{
width: 100% !important;
}
.tooltip .tooltip-inner{
+ width: auto !important;
max-width: 280px !important;
- width: 100% !important;
text-align: left!important;
color:#1B3E6F;
- background-color: #fff;
+ background-color: #fff !important;
border: solid 1px #E6EDF5;
border-radius: 3px !important;
- font-size: 11px;
+ border-top-left-radius: 0 !important;
+ font-size: 12px;
opacity: 1.0 !important;
-}
-.bs-tooltip-bottom .arrow::before{
- border-bottom-color: #E6EDF5 !important;
-}
-.bs-tooltip-top .arrow::before{
- border-top-color: #E6EDF5 !important;
-}
-.bs-tooltip-left .arrow::before{
- border-left-color: #E6EDF5 !important;
-}
-.bs-tooltip-right .arrow::before{
- border-right-color: #E6EDF5 !important;
-}
-
-
+}
+.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
+ border-top-color: #E6EDF5 !important;
+}
+.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before {
+ border-right-color: #E6EDF5 !important;
+}
+.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
+ border-bottom-color: #E6EDF5 !important;
+}
+.bs-tooltip-auto[x-placement^=left] .arrow::before, .bs-tooltip-left .arrow::before {
+ border-left-color: #E6EDF5 !important;
+}
.btn{
padding-right: 20px !important;
@@ -1965,17 +1972,18 @@ padding-left: 20px !important;
}
.btn + .btn{
margin-left: 10px;
- }
- .package-view-button button{
- width: 150px;
- float: right;
- }
+}
+.package-view-button button{
+ width: 150px;
+ float: right;
+}
.package-view-button{
margin-top: 6px;
}
.package-view-button .btn{
padding: 6px 21px;
border-radius: 18px;
+ font-size: 13px !important;
}
.package-view-button .btn:hover{
opacity: .9;
@@ -1983,13 +1991,22 @@ padding-left: 20px !important;
.package-view-button .btn-primary{
background-color: #1B3E6F !important;
border-color: #1B3E6F !important;
-
- /* margin-bottom: 10px; */
}
-.package-view-button .btn-outline-secondary{
- background-color: #fff !important;
+.package-view-button .btn-enrich,
+.package-view-button .btn-enrich:focus,
+.modal-footer .btn-primary.btn-enrich{
+ background: #EB9A34 !important;
+ border-color: #EB9A34 !important;
+ color: #fff;
+ outline: none !important;
+}
+.package-view-button .btn-deploy{
+ background-color: #1273EB !important;
+ border-color: #1273EB !important;
+ color: #fff !important;
+ /* background-color: #fff !important;
border-color: #D0DFF1 !important;
- color: #1B3E6F !important;
+ color: #1B3E6F !important; */
}
.package-view-title {
font-size: 11px;
@@ -2264,12 +2281,20 @@ hr{
text-align: center;
}
.action-button{
+ display: inline-block;
+ width: 70px;
margin-bottom: 12px;
- padding: 3px 30px;
color: #BABBC3 !important;
font-size: 10px;
font-weight: bold;
- display: inline-block;
+ background: transparent;
+ border: 0;
+ padding: 0;
+}
+.action-button:disabled,
+.action-button:disabled:hover{
+ cursor: unset;
+ opacity: .5 !important;
}
.action-button:hover{
text-decoration: none;
@@ -2335,6 +2360,9 @@ hr{
.modal-body{
padding: 1.5rem 1.5rem 1rem !important;
}
+.enrichModal .modal-dialog{
+ max-width: 60% !important;
+}
.modal-body p{
font-size: 14px;
}
@@ -2371,6 +2399,9 @@ hr{
background-color: #E7F1FC !important;
color: #1B3E6F !important;
}
+.btn-modal-remove-file:hover{
+ cursor: pointer;
+}
.action-button span{
width: 100%;
display: inline-block;
@@ -2567,6 +2598,10 @@ hr{
.template-mapping-accordion{
width: 100%;
}
+.templateNote{
+ font-size: 12px;
+ color: #C1CDDD;
+}
.card-header .btn.regularTitle{
padding-left: 0 !important;
padding-right: 0 !important;
@@ -2683,31 +2718,29 @@ hr{
background: #eee !important;
}
.ace_content{
- width: 100%;
+ width: 100% !important;
}
.ace_editor{
height: 55vh !important;
line-height: 25px;
border: 1px solid #ECEDF2;
background-color: #fff;
- color: #1B3E6F;
+ color: #1B3E6F !important;
}
-.ace-tomorrow-night-bright .ace_gutter,
-.ace-eclipse .ace_gutter{
+.ace_gutter{
background: #E0E8F2 !important;
border-right: 0px !important;
color: #1B3E6F !important;
}
-.ace-tomorrow-night-bright .ace_gutter-active-line,
-.ace-eclipse .ace_gutter-active-line{
- background-color: #265699;
+.ace-tm .ace_gutter-active-line{
+ background-color: #265699 !important;
color: #fff;
}
-.ace-tomorrow-night-bright .ace_cursor{
- color: #265699;
+.ace_cursor{
+ color: #265699 !important;
}
-.ace-tomorrow-night-bright .ace_marker-layer .ace_active-line {
- background: #eee;
+.ace-tm .ace_marker-layer .ace_active-line{
+ background: #F4F9FE !important;
}
.breadcrumb-header{
padding: 0px;
@@ -2961,6 +2994,9 @@ margin-right: 5px;
border-color:#ECEDF2 !important ;
color: #C3CDDB !important ;
}
+.template-mapping-action .btn-outline-secondary:hover{
+ color: #1B3E6F !important;
+}
.table-container{
width: 100%;
}
--
cgit 1.2.3-korg