aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/components/menus/rest-config/rest-config-list/rest-config-list.component.html
blob: aa98bc8093db57a54d5a50658f71645243b36b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="scroll" style="overflow:hidden; max-height: 300px; height: 300px;">
    <div class="card">
        <div class="card-header d-flex justify-content-between align-items-center">
            <span>Config List</span>
            <span class="badge badge-success badge-pill" (click)="addRestConfig()"><i class="fa fa-plus"></i></span>
        </div>

        <ul class="list-group">
            <li class="list-group-item d-flex justify-content-between align-items-center"
                *ngFor="let restConfig of restService.getRestConfigs(); index as i">
                <div (click)="onConfigSelected(restConfig)">{{restConfig.name}}</div>
                <div class="badge badge-danger badge-pill" (click)="deleteRestConfig(i)">
                    <i class="fa fa-minus"></i>
                </div>
            </li>
        </ul>
    </div>
</div>