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;"
|
|
|
|
(click)="onUnselectAll()"></button>
|
|
|
|
<button pButton type="button" class="ui-button-secondary ui-button-width-fit ui-s-button" label="Select All" style="margin-bottom: 3px;"
|
|
|
|
(click)="onSelectAll()"></button>
|
2018-05-31 13:26:14 +00:00
|
|
|
</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>
|