support set body parameter by json
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-ui / src / app / components / editable-property / editable-property.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 <span *ngIf="!isEditing()">
15     <span (dblclick)="startEdit()">{{parameter.value}}</span>
16     <i class="fa fa-edit" (click)="startEdit()"></i>
17 </span>
18 <span class="row" *ngIf="isEditing()">
19     <span class="col-sm-10">
20         <b4t-parameter [param]="parameter" [showLabel]="showLabel" [valueSource]= "valueSource"></b4t-parameter>
21     </span>
22     <span class="col-sm-2">
23         <i class="fa fa-check" (click)="completeEdit()"></i>
24     </span>
25 </span>