aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-05-14 06:44:53 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-14 06:44:53 +0000
commit160c72c0944c2551a72eab2931452d029373f145 (patch)
tree08caa9c96b577209f7ccf428661984ceb24f62ed
parent7a1b0c7403988c378a1039997b6796e2a3e71f54 (diff)
parent572a0457a0fb11ce239e5e9d3666b1387fa93442 (diff)
Merge "Fix instance instantiation for e2e/NS"
-rw-r--r--usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html8
-rw-r--r--usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less5
2 files changed, 7 insertions, 6 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 3f642e97..497693fe 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
@@ -49,7 +49,7 @@
<h5 *ngIf="parameter.type === 'vf_location'" style="padding-left:10px;">id:
{{parameter.name}}</h5>
<span *ngIf="parameter.type === 'vf_location'"> vf_location: </span>
- <nz-select *ngIf="parameter.type === 'vf_location'" style="width: 165px;"
+ <nz-select *ngIf="parameter.type === 'vf_location'"
[(ngModel)]="parameter.value" nzAllowClear>
<nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option>
</nz-select>
@@ -69,7 +69,7 @@
<h5 *ngIf="input.type === 'vf_location'" style="padding-left:10px;">id: {{input.name}}</h5>
<span *ngIf="input.type === 'vf_location'"> vf_location: </span>
- <nz-select *ngIf="input.type === 'vf_location'" style="width: 165px;"
+ <nz-select *ngIf="input.type === 'vf_location'"
[(ngModel)]="input.value"
nzAllowClear>
<nz-option *ngFor="let vim of vimInfos" [nzValue]="vim"
@@ -105,7 +105,7 @@
<h5 *ngIf="parameter.type === 'vf_location'" style="padding-left:10px;">id:
{{parameter.name}}</h5>
<span *ngIf="parameter.type === 'vf_location'"> vf_location: </span>
- <nz-select *ngIf="parameter.type === 'vf_location'" style="width: 165px;"
+ <nz-select *ngIf="parameter.type === 'vf_location'"
[(ngModel)]="parameter.value" nzAllowClear>
<nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option>
</nz-select>
@@ -121,7 +121,7 @@
<li *ngFor="let vnf of nsTemplateParameters.vnfs;">
<h5 style="padding-left:10px;">id: {{vnf.vnf_id}}</h5>
<span> vf_location: </span>
- <nz-select style="width: 165px;" [(ngModel)]="vnf.value" nzAllowClear>
+ <nz-select [(ngModel)]="vnf.value" nzAllowClear>
<nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option>
</nz-select>
</li>
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 79e952f4..3a1693b6 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
@@ -120,11 +120,12 @@ hr {
ul li {
margin: 10px 0;
width: 40%;
+ margin-right: 5%;
float: left;
text-align: left;
span {
display: inline-block;
- width: 25%;
+ width: 30%;
font: 700 14px "Arial";
vertical-align: middle;
overflow: hidden;
@@ -132,7 +133,7 @@ hr {
text-align: left;
}
input,nz-select{
- width: 170px;
+ width: 65%;
}
}
}