support set parameter for workflow
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-ui / src / app / components / property / properties.component.html
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-properties-wrapper" *ngIf="show">
16     <div class="form-group row">
17         <div *ngIf="!titleEditing" class="view col-md-10" (dblclick)="titleEditing = !titleEditing">
18             <h4>{{node.name}}</h4>
19         </div>
20         <div class="col-md-10" *ngIf="titleEditing">
21             <input class="form-control" (blur)="nodeNameChanged()" type="text" [(ngModel)]="node.name"/>
22         </div>
23
24         <div class="col-md-2">
25             <button (click)="deleteNode()" type="button" class="btn btn-danger">
26                 <i class="fa fa-trash" style="margin-right: 5px;"></i>
27             </button>
28         </div>
29
30     </div>
31     <hr>
32
33     <div class="form-group row">
34         <label class="col-md-2 form-control-label text-md-right" for="nodeType">Type</label>
35         <div class="col-md-10">
36             <input class="form-control" name="nodeType" disabled type="text" value="{{node.type}}"/>
37         </div>
38     </div>
39
40     <!-- TODO  add property for different node types -->
41
42     <b4t-start-event-parameters *ngIf="'startEvent' == node.type" [node]="node"></b4t-start-event-parameters>
43 </div>