diff options
author | Tao Shen <shentao@chinamobile.com> | 2019-05-14 10:35:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-14 10:35:45 +0000 |
commit | 7e55bc1f50d6fdfca754c04513405b5103c26bf6 (patch) | |
tree | a79333dbc97ca0f2fe87051aeb88f91d1ffc5d26 /usecaseui-portal/src/app/components/e2e-creation | |
parent | 0ce9d4de32e9eb2f11b922ef85814349a17203ee (diff) | |
parent | e044dfe80bcefb9004c8b6d3156d15ac56426dad (diff) |
Merge "Fix instance instantiation for NS"
Diffstat (limited to 'usecaseui-portal/src/app/components/e2e-creation')
-rw-r--r-- | usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html | 8 | ||||
-rw-r--r-- | usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less | 12 |
2 files changed, 12 insertions, 8 deletions
diff --git a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html index 497693fe..b2ec4401 100644 --- a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html +++ b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html @@ -42,7 +42,7 @@ <h3>{{"i18nTextDefine_templateInputs" | translate}}</h3> <ul> <li *ngFor="let parameter of templateParameters.inputs; let i = index;"> - <span *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'">{{parameter.name}}:</span> + <span *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'" title="{{parameter.name}}">{{parameter.name}}:</span> <input *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'" nz-input [(ngModel)]="parameter.value"> @@ -63,7 +63,7 @@ <h3>{{template.name}}</h3> <ul> <li *ngFor="let input of template.inputs; let i = index;"> - <span *ngIf="input.type !== 'vf_location' && input.type !== 'sdn_controller'"> {{input.name}}: </span> + <span *ngIf="input.type !== 'vf_location' && input.type !== 'sdn_controller'" title=" {{input.name}}"> {{input.name}}: </span> <input *ngIf="input.type !== 'vf_location' && input.type !== 'sdn_controller'" nz-input [(ngModel)]="input.value"> @@ -98,7 +98,7 @@ <h4>{{"i18nTextDefine_templateInputs" | translate}}</h4> <ul> <li *ngFor="let parameter of nsTemplateParameters.inputs2; let i = index;"> - <span *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'">{{parameter.name}}:</span> + <span *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'" title="{{parameter.name}}">{{parameter.name}}:</span> <input *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'" nz-input [(ngModel)]="parameter.value"> @@ -116,7 +116,7 @@ </ul> </div> <div class="vnf-box"> - <h4>vnfs Inputs</h4> + <h4 *ngIf="nsTemplateParameters.vnfs.length>0">vnfs Inputs</h4> <ul> <li *ngFor="let vnf of nsTemplateParameters.vnfs;"> <h5 style="padding-left:10px;">id: {{vnf.vnf_id}}</h5> diff --git a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less index 3a1693b6..1900f7d2 100644 --- a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less +++ b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less @@ -96,7 +96,7 @@ hr { padding: 20px; background: #fff; .baseparms { - h3 { + h3,h4{ color: #06A7E2; width: 96%; height: 40px; @@ -114,12 +114,15 @@ hr { font: 700 16px "Arial"; margin-left: 25px; } + .vnf-box{ + clear: both; + } ul{ margin-left: 30px; } ul li { margin: 10px 0; - width: 40%; + width: 42%; margin-right: 5%; float: left; text-align: left; @@ -129,11 +132,12 @@ hr { font: 700 14px "Arial"; vertical-align: middle; overflow: hidden; - text-overflow: ellipsis; - text-align: left; + //text-overflow: ellipsis; + text-align: left; } input,nz-select{ width: 65%; + margin-left:3% } } } |