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

27 lines
1.5 KiB
HTML
Raw Permalink 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">
2018-06-09 07:47:07 +00:00
<button pButton type="button" class="ui-button-secondary ui-button-width-fit ui-s-button" label="Unselect All" style="margin-bottom: 3px;"
2018-06-15 10:18:50 +00:00
(click)="onUnselectAll()"></button>
2018-06-09 07:47:07 +00:00
<button pButton type="button" class="ui-button-secondary ui-button-width-fit ui-s-button" label="Select All" style="margin-bottom: 3px;"
2018-06-15 10:18:50 +00:00
(click)="onSelectAll()"></button>
2018-05-31 13:26:14 +00:00
</div>
<p-table selectionMode="multiple" [scrollable]="true" scrollHeight="200px" [value]="metaCrawlers" [(selection)]="includeServices"
2018-06-22 10:18:20 +00:00
dataKey="id" (onRowSelect)="onSelect($event.data)" (onRowUnselect)="onUnselect($event.data)" class="ui-unbg-table">
2018-05-31 13:26:14 +00:00
<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-06-15 11:03:25 +00:00
{{rowData.name}}
2018-05-31 13:26:14 +00:00
</td>
</tr>
</ng-template>
</p-table>
</p-panel>
</div>