summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/service-paths-list/service-paths-list.component.html
blob: 8a31c76998d4878be4074962144a8d73187a8cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="service-path-list">
    <div class="add-path-link"><a (click)="onAddServicePath()" data-tests-id="add-service-path-lnk" >+ Add Path</a></div>
    <div class="generic-table table-container" >
        <div class="header-row">
            <div class="cell header-cell" *ngFor="let header of headers">
                {{header}}
            </div>
        </div>
        <div *ngFor="let path of paths" class="data-row" >
            <div class="cell" data-tests-id="path-name" >{{path.name}}</div>
            <div class="cell path-action-buttons">
                <span class="sprite-new update-component-icon" (click)="onEditServicePath(path.uniqueId)" data-tests-id="update-service-path-btn" ></span>
                <span class="sprite-new delete-item-icon" (click)="deletePath(path.uniqueId)" data-tests-id="delete-service-path-btn"></span>
            </div>
        </div>
        <div *ngIf="paths && paths.length === 0" class="no-row-text" >
            No paths have been added yet.
        </div>
    </div>

</div>