summaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/components/menus/rest-config/rest-config-detail/rest-config-detail.component.html
blob: 9550ed336d7343b20338cd719f26795543d8809d (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
41
42
43
44
45
46
47
48
<!--
/**
 * 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
 */
-->
<div class="form-group row">
    <label class="col-md-2 form-control-label text-md-right">Name</label>
    <div class="col-md-10">
        <input class="form-control" [(ngModel)]="restConfig.name">
    </div>
</div>
<!-- <div class="form-group row">
    <label class="col-md-2 form-control-label text-md-right">BaseUrl</label>
    <div class="col-md-10">
        <input class="form-control" [(ngModel)]="restConfig.baseUrl">
    </div>
</div>
<div class="form-group row">
    <label class="col-md-2 form-control-label text-md-right">Definition</label>
    <div class="col-md-10">
        <input class="form-control" [(ngModel)]="restConfig.definition">
    </div>
</div>
<div class="form-group row">
    <label class="col-md-2 form-control-label text-md-right">Dynamic</label>
    <div class="col-md-10">
        <p-radioButton name="dynamic" [value]=true label="true" (ngModelChange)="toggleDynamic($event)"
                       [ngModel]="restConfig.dynamic"></p-radioButton>
        <p-radioButton name="dynamic" [value]=false label="false" (ngModelChange)="toggleDynamic($event)"
                       [ngModel]="restConfig.dynamic"></p-radioButton>
    </div>
</div>
<div class="form-group row">
    <label class="col-md-2 form-control-label text-md-right">Detail</label>
    <div class="col-md-10">
        <textarea class="form-control" [disabled]="restConfig.dynamic" rows="8" [ngModel]="detail"
                  (ngModelChange)="onDetailChanged($event)"></textarea>
    </div>
</div> -->