member_webapp/@overflow/discovery/component/service-selector.component.html

25 lines
1.2 KiB
HTML
Raw Normal View History

2018-05-31 13:26:14 +00:00
<div *ngIf="!disabled">
<of-error-message [error]="error$ | async" [closable]="false"></of-error-message>
<of-block-progressbar [target]="content" [pending]="pending$ | async"></of-block-progressbar>
<p-panel #content [showHeader]="false" class="block-panel">
<div class="ui-g" dir="rtl">
<a style="cursor: pointer" (click)="onUnselectAll()">Unselect All</a>
<a style="cursor: pointer" (click)="onSelectAll()">Select All</a>
</div>
<p-table selectionMode="multiple" [scrollable]="true" scrollHeight="200px" [value]="metaCrawlers" [(selection)]="includeServices"
dataKey="id" (onRowSelect)="onSelect($event.data)" (onRowUnselect)="onUnselect($event.data)">
<ng-template pTemplate="body" let-rowData let-columns="columns">
<tr [pSelectableRow]="rowData">
2018-06-01 03:22:42 +00:00
<!-- <td>
<p-tableCheckbox [value]="rowData"></p-tableCheckbox>
</td> -->
2018-05-31 13:26:14 +00:00
<td>
2018-06-01 03:22:42 +00:00
<p-tableCheckbox [value]="rowData"></p-tableCheckbox>
2018-05-31 13:26:14 +00:00
{{rowData.description}}
</td>
</tr>
</ng-template>
</p-table>
</p-panel>
</div>