2018-04-12 05:31:31 +00:00
|
|
|
<h1>Probes</h1>
|
2018-04-25 09:04:47 +00:00
|
|
|
<p-table [value]="probeHosts" selectionMode="single" (onRowSelect)="onRowSelect($event)" [resizableColumns]="true">
|
2018-04-09 11:03:15 +00:00
|
|
|
<ng-template pTemplate="header">
|
|
|
|
<tr>
|
|
|
|
<th>Probe Name</th>
|
2018-05-14 09:02:48 +00:00
|
|
|
<th>Uptime</th>
|
2018-04-17 11:43:37 +00:00
|
|
|
<th style="width:10em">IP</th>
|
|
|
|
<th style="width:8em">OS</th>
|
|
|
|
<th style="width:10em">CIDR</th>
|
2018-04-11 08:41:38 +00:00
|
|
|
<th pResizableColumn>Targets</th>
|
2018-04-17 11:43:37 +00:00
|
|
|
<th style="width:8em">Authroized at</th>
|
|
|
|
<th style="width:9em">Authroized by</th>
|
2018-04-09 11:03:15 +00:00
|
|
|
</tr>
|
|
|
|
</ng-template>
|
2018-04-25 09:04:47 +00:00
|
|
|
<ng-template pTemplate="body" let-probeHost>
|
2018-04-26 11:23:57 +00:00
|
|
|
<tr [pSelectableRow]="probeHost">
|
2018-04-25 09:04:47 +00:00
|
|
|
<td>{{probeHost.probe.displayName}}</td>
|
2018-05-14 09:02:48 +00:00
|
|
|
<td>{{getUptime(probeHost.probe)}}</td>
|
2018-04-26 11:23:57 +00:00
|
|
|
<td>{{probeHost.host.ipv4}}</td>
|
|
|
|
<td>{{probeHost.host.os.vendor.name}}</td>
|
2018-04-25 09:04:47 +00:00
|
|
|
<td>{{probeHost.probe.cidr}}</td>
|
2018-04-29 10:43:14 +00:00
|
|
|
<td>{{probeHost.probe.targetCount}}</td>
|
2018-04-25 09:04:47 +00:00
|
|
|
<td>{{probeHost.probe.authorizeDate | date: 'dd.MM.yyyy'}}</td>
|
|
|
|
<td>{{probeHost.probe.authorizeMember.name}}</td>
|
2018-04-09 11:03:15 +00:00
|
|
|
</tr>
|
|
|
|
</ng-template>
|
|
|
|
</p-table>
|