f48a725b50e529d29410508bdf1e1eca10863f27
[sdc/sdc-workflow-designer.git] /
1 <!--
2 /*******************************************************************************
3  * Copyright (c) 2017 ZTE Corporation.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * and the Apache License 2.0 which both accompany this distribution,
7  * and are available at http://www.eclipse.org/legal/epl-v10.html
8  * and http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Contributors:
11  *     ZTE - initial API and implementation and/or initial documentation
12  *******************************************************************************/
13 -->
14 <table cellpadding="10px">
15     <tr>
16         <th style="width:35%;" class="plx-table-th">{{ 'WORKFLOW.PROCESS_VARIABLE' | translate }}</th>
17         <th style="width:45%;" class="plx-table-th">{{ 'WORKFLOW.PROCESS_VARIABLE_DEFAULT' | translate }}</th>
18         <th style="width:20%;" class="plx-table-th">{{ 'WORKFLOW.PROCESS_VARIABLE_OPERATION' | translate }}</th>
19     </tr>
20     <tr *ngFor="let param of node.parameters; let i = index;" class="table-body">
21         <td>
22             <input [ngModel]="param.name" (ngModelChange)="checkKey($event, i)" class="plx-input"/>
23             <span *ngIf="param.errorMsg">{{param.errorMsg}}</span>
24         </td>
25         <td>
26             <input [(ngModel)]="param.value" class="plx-input" />
27             <span *ngIf="param.errorMsg">&nbsp;</span>
28         </td>
29         <td>
30             <i class="plx-ico-delete-16 delete-icon" (click)="delete(i)"></i>
31             <span *ngIf="param.errorMsg">&nbsp;</span>
32         </td>
33     </tr>
34 </table>
35
36 <button (click)="create();" type="button" class="plx-btn">
37     <i class="plx-ico-new-16"></i>{{ 'WORKFLOW.PROCESS_VARIABLE_CREATE' | translate }}
38 </button>
39 <!-- <wfm-parameter *ngFor="let param of node.parameters; let i = index;" [param]="param" [canEditName]="true"
40     [valueSource]="sources" [canDelete]="true" (delete)="delete(i)"></wfm-parameter> -->