Fix instance instantiation for e2e/NS 28/87528/1
authorguochuyicmri <guochuyi@chinamobile.com>
Mon, 13 May 2019 08:15:24 +0000 (16:15 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Mon, 13 May 2019 08:15:30 +0000 (16:15 +0800)
Change-Id: Icd1cc946fd0a25de2751ad4f465f27ae3d89fe50
Issue-ID: USECASEUI-252
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html
usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less

index 3f642e9..497693f 100644 (file)
@@ -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"
                         <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>
                     <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>
index 79e952f..3a1693b 100644 (file)
@@ -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%;
                 }
             }
         }