e9d4d22f41008f36c4c879039b565309f672f9f1
[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
15 <div class="wm-sequence-flow-wrapper" *ngIf="show">
16     <div class="form-group row">
17         <div class="col-md-10"></div>
18         <div class="col-md-2 float-right">
19             <button (click)="delete()" type="button" class="btn btn-danger">
20                 <i class="fa fa-trash" style="margin-right: 5px;"></i>
21             </button>
22         </div>
23     </div>
24
25     <div class="form-group row">
26         <label class="col-md-3 form-control-label text-md-right">{{'WORKFLOW.CONNECTION_NAME' | translate}}</label>
27         <div class="col-md-9">
28             <input class="form-control" type="text" [(ngModel)]="sequenceFlow.name" (ngModelChange)="nameChanged($event)">
29         </div>
30     </div>
31
32     <!-- <div class="form-group row">
33         <label class="col-md-3 form-control-label text-md-right">{{'WORKFLOW.CONNECTION_SOURCE' | translate}}</label>
34         <div class="col-md-9">
35             <input class="form-control" disabled type="text" [(ngModel)]="sequenceFlow.sourceRef">
36         </div>
37     </div>
38
39     <div class="form-group row">
40         <label class="col-md-3 form-control-label text-md-right">{{'WORKFLOW.CONNECTION_TARGET' | translate}}</label>
41         <div class="col-md-9">
42             <input class="form-control" disabled type="text" [(ngModel)]="sequenceFlow.targetRef">
43         </div>
44     </div> -->
45
46     <div *ngIf="showCondition(sequenceFlow.sourceRef)" class="form-group row">
47         <label class="col-md-3 form-control-label text-md-right">{{'WORKFLOW.CONNECTION_CONDITION' | translate}}</label>
48         <div class="col-md-9">
49             <input class="form-control" type="text" [(ngModel)]="sequenceFlow.condition">
50         </div>
51     </div>
52 </div>