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
11 * ZTE - initial API and implementation and/or initial documentation
12 *******************************************************************************/
15 <div class="form-group row">
16 <label class="col-md-3 form-control-label text-md-right">{{'WORKFLOW.SCRIPT_FORMAT' | translate}}</label>
17 <div class="col-md-9">
18 <input *ngIf='!canChangeFormat' disabled class="form-control" [(ngModel)]="node.scriptFormat" />
19 <select *ngIf='canChangeFormat' class="form-control" [(ngModel)]="node.scriptFormat">
20 <option *ngFor="let script of scriptOperations" value="{{script}}">{{script}}</option>
25 <div class="form-group row">
26 <label class="col-md-3 form-control-label text-md-right">{{'WORKFLOW.SCRIPT' | translate}}</label>
27 <div class="col-md-9">
28 <textarea class="form-control" type="text" rows="20" [(ngModel)]="node.script"></textarea>