member_webapp/@overflow/infra/component/infra-host-ips.component.html

34 lines
1.1 KiB
HTML
Raw Normal View History

2018-06-14 06:45:39 +00:00
<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>
2018-06-14 07:42:04 +00:00
<th style="width: 3.25em">
</th>
2018-06-14 06:45:39 +00:00
<th>Interface</th>
<th style="width:3em">Ver.</th>
<th>Address</th>
<th>Mac address</th>
<th>Gateway</th>
</tr>
</ng-template>
2018-06-14 07:42:04 +00:00
<ng-template pTemplate="body" let-rowData let-rowIndex="rowIndex">
2018-06-14 06:45:39 +00:00
<tr [pSelectableRow]="rowData">
2018-06-14 07:42:04 +00:00
<td>
<p-tableRadioButton [value]="rowData" [disabled]="rowData.metaIPType.key !== 'V4'"></p-tableRadioButton>
</td>
2018-06-14 06:45:39 +00:00
<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>