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

<button (click)="create();" type="button" class="plx-btn">
    <i class="plx-ico-new-16"></i>{{ 'WORKFLOW.PROCESS_VARIABLE_CREATE' | translate }}
</button>
<!-- <wfm-parameter *ngFor="let param of node.parameters; let i = index;" [param]="param" [canEditName]="true"
    [valueSource]="sources" [canDelete]="true" (delete)="delete(i)"></wfm-parameter> -->