2018-04-12 05:31:31 +00:00
|
|
|
<h1>Probes</h1>
|
2018-05-31 09:45:40 +00:00
|
|
|
<of-error-message [error]="error$ | async" [closable]="false"></of-error-message>
|
|
|
|
<of-block-progressbar [target]="content" [pending]="pending$ | async"></of-block-progressbar>
|
2018-05-29 12:18:43 +00:00
|
|
|
|
2018-05-26 09:08:40 +00:00
|
|
|
<p-panel #content [showHeader]="false" class="block-panel">
|
2018-06-04 10:03:59 +00:00
|
|
|
<p-table [value]="probeHosts" selectionMode="single" (onRowSelect)="onProbeSelect($event)" [resizableColumns]="true">
|
2018-05-26 09:08:40 +00:00
|
|
|
<ng-template pTemplate="header">
|
|
|
|
<tr>
|
|
|
|
<th>Probe Name</th>
|
|
|
|
<th>Uptime</th>
|
|
|
|
<th style="width:10em">IP</th>
|
|
|
|
<th style="width:8em">OS</th>
|
|
|
|
<th style="width:10em">CIDR</th>
|
|
|
|
<th pResizableColumn>Targets</th>
|
|
|
|
<th style="width:8em">Authroized at</th>
|
|
|
|
<th style="width:9em">Authroized by</th>
|
|
|
|
</tr>
|
|
|
|
</ng-template>
|
|
|
|
<ng-template pTemplate="body" let-probeHost>
|
|
|
|
<tr [pSelectableRow]="probeHost">
|
2018-06-14 11:20:17 +00:00
|
|
|
<td>{{probeHost.probe.name}}</td>
|
2018-05-26 09:08:40 +00:00
|
|
|
<td>{{getUptime(probeHost.probe)}}</td>
|
2018-06-14 11:20:17 +00:00
|
|
|
<td></td>
|
|
|
|
<td></td>
|
2018-05-26 09:08:40 +00:00
|
|
|
<td>{{probeHost.probe.cidr}}</td>
|
|
|
|
<td>{{probeHost.probe.targetCount}}</td>
|
|
|
|
<td>{{probeHost.probe.authorizeDate | date: 'dd.MM.yyyy'}}</td>
|
|
|
|
<td>{{probeHost.probe.authorizeMember.name}}</td>
|
|
|
|
</tr>
|
|
|
|
</ng-template>
|
|
|
|
</p-table>
|
|
|
|
</p-panel>
|