member_webapp/@overflow/infra/component/infra-host-ips.component.html
2018-06-14 15:45:39 +09:00

29 lines
876 B
HTML

<div class="ui-g">
<div class="ui-g-6 ui-nopad">
<h3>NICs</h3>
</div>
<!-- info -->
<div class="ui-g ui-bottom-space-10">
<p-table *ngIf="infraHostIPs" [value]="infraHostIPs" selectionMode="single" (onRowSelect)="select.emit($event.data)" [resizableColumns]="true">
<ng-template pTemplate="header">
<tr>
<th>Interface</th>
<th style="width:3em">Ver.</th>
<th>Address</th>
<th>Mac address</th>
<th>Gateway</th>
</tr>
</ng-template>
<ng-template pTemplate="body" let-rowData>
<tr [pSelectableRow]="rowData">
<td>{{rowData.iface}}</td>
<td>{{rowData.metaIPType.key}}</td>
<td>{{rowData.address}}</td>
<td>{{rowData.mac}}</td>
<td>{{rowData.gateway}}</td>
</tr>
</ng-template>
</p-table>
</div>
</div>