2018-05-31 06:48:49 +00:00
|
|
|
<h1>Unauthorized</h1>
|
|
|
|
|
|
|
|
<of-error-message [error]="error$ | async" [closable]="false"></of-error-message>
|
|
|
|
<of-block-progressbar [target]="content" [pending]="pending$ | async"></of-block-progressbar>
|
2018-04-24 05:31:20 +00:00
|
|
|
|
2018-05-28 09:06:33 +00:00
|
|
|
<p-panel #content [showHeader]="false" class="block-panel">
|
2018-05-31 08:37:38 +00:00
|
|
|
<p-table #dt [value]="noauthProbes" selectionMode="single" dataKey="id">
|
2018-04-24 05:31:20 +00:00
|
|
|
<ng-template pTemplate="header">
|
2018-05-28 09:06:33 +00:00
|
|
|
<tr>
|
|
|
|
<th style="width: 3.25em" pResizableColumn></th>
|
|
|
|
<th style="width: 20em">Probe Key</th>
|
|
|
|
<th>Host Name</th>
|
|
|
|
<th>OS</th>
|
|
|
|
<th style="width: 7em">Created at</th>
|
|
|
|
</tr>
|
2018-04-24 05:31:20 +00:00
|
|
|
</ng-template>
|
|
|
|
<ng-template pTemplate="body" let-rowData let-expanded="expanded" let-columns="columns">
|
2018-05-28 09:06:33 +00:00
|
|
|
<tr [pSelectableRow]="rowData" [pRowToggler]="rowData">
|
|
|
|
<td>
|
|
|
|
<a href="#">
|
|
|
|
<i [ngClass]="expanded ? 'fa fa-fw fa-chevron-circle-down' : 'fa fa-fw fa-chevron-circle-right'"></i>
|
|
|
|
</a>
|
|
|
|
</td>
|
2018-06-14 03:28:29 +00:00
|
|
|
<td>{{rowData.tempProbeKey}}</td>
|
2018-06-14 04:12:20 +00:00
|
|
|
<td>{{rowData.infraHost.infraHostOS.name}}</td>
|
|
|
|
<td>{{rowData.infraHost.infraHostOS.os}}</td>
|
2018-05-28 09:06:33 +00:00
|
|
|
<td>{{rowData.createDate | date: 'dd/MM/yyyy'}}</td>
|
|
|
|
</tr>
|
2018-04-24 05:31:20 +00:00
|
|
|
</ng-template>
|
|
|
|
<ng-template pTemplate="rowexpansion" let-rowData let-columns="columns">
|
2018-05-28 09:06:33 +00:00
|
|
|
<tr>
|
|
|
|
<td [attr.colspan]="5">
|
|
|
|
<div class="ui-g ui-g-12">
|
2018-04-24 05:31:20 +00:00
|
|
|
|
2018-05-28 09:06:33 +00:00
|
|
|
<div class="ui-g-12 ui-md-6">
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 04:12:20 +00:00
|
|
|
<b>Platform:</b> {{rowData.infraHost.infraHostOS.platform}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
2018-06-14 03:28:29 +00:00
|
|
|
|
2018-05-28 09:06:33 +00:00
|
|
|
<div class="ui-g-12">
|
2018-06-14 04:12:20 +00:00
|
|
|
<b>Platform family:</b> {{rowData.infraHost.infraHostOS.platformFamily}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 04:12:20 +00:00
|
|
|
<b>Kernel:</b> {{rowData.infraHost.infraHostOS.kernelVersion}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 04:12:20 +00:00
|
|
|
<b>HostID:</b> {{rowData.infraHost.infraHostOS.hostID}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
2018-05-31 07:38:44 +00:00
|
|
|
<div class="ui-g-12">
|
2018-05-31 08:27:00 +00:00
|
|
|
<b>Connected:</b>
|
|
|
|
<ng-container [ngSwitch]="rowData.connectDate">
|
|
|
|
<ng-container *ngSwitchCase="undefined"> Not Connected</ng-container>
|
|
|
|
<ng-container *ngSwitchDefault> {{rowData.connectDate | date: 'dd/MM/yyyy'}} ({{rowData.connectAddress}})</ng-container>
|
|
|
|
</ng-container>
|
2018-05-31 07:38:44 +00:00
|
|
|
</div>
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
2018-04-24 05:31:20 +00:00
|
|
|
|
2018-05-28 09:06:33 +00:00
|
|
|
<div class="ui-g-12 ui-md-6">
|
|
|
|
<div class="ui-g">
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 04:12:20 +00:00
|
|
|
<b>NIC:</b> {{rowData.infraHost.infraHostIPs[0].iface}}
|
2018-04-24 05:31:20 +00:00
|
|
|
</div>
|
2018-05-28 09:06:33 +00:00
|
|
|
<div class="ui-g-12">
|
2018-06-14 04:12:20 +00:00
|
|
|
<b>Network Address:</b> {{rowData.infraHost.infraHostIPs[0].address}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 04:12:20 +00:00
|
|
|
<b>Gateway:</b> {{rowData.infraHost.infraHostIPs[0].gateway}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 04:12:20 +00:00
|
|
|
<b>Mac Address:</b> {{rowData.infraHost.infraHostIPs[0].mac}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
2018-05-31 07:38:44 +00:00
|
|
|
<div class="ui-g-12">
|
|
|
|
</div>
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ui-g-12" dir="rtl">
|
2018-06-14 04:12:20 +00:00
|
|
|
<button class="ui-button-danger ui-button-width-fit" type="button" label="Deny" icon="ui-icon-close" pButton (click)="onAcceptOrDeny(false, rowData.infraHost.infraHostIPs)"></button>
|
|
|
|
<button class=" ui-button-width-fit" type="button" label="Accept" icon="fa-check" pButton (click)="onAccept(rowData.infraHost)"></button>
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2018-04-24 05:31:20 +00:00
|
|
|
</ng-template>
|
2018-05-28 09:06:33 +00:00
|
|
|
</p-table>
|
2018-06-14 04:12:20 +00:00
|
|
|
|
|
|
|
<p-dialog *ngIf="selectedInfraHost" [(visible)]="visibleNICs" [contentStyle]="{'max-height':'400px'}">
|
|
|
|
<ul>
|
|
|
|
<li *ngFor="let infraHostIP of selectedInfraHost.infraHostIPs">
|
|
|
|
<a style="cursor: pointer" (click)="onNICSelected(infraHostIP)">
|
|
|
|
{{infraHostIP.iface}} {{infraHostIP.address}} {{infraHostIP.gateway}} {{infraHostIP.mac}}
|
|
|
|
</a>
|
|
|
|
<li>
|
|
|
|
</ul>
|
|
|
|
</p-dialog>
|
|
|
|
|
2018-05-28 09:06:33 +00:00
|
|
|
<p-confirmDialog header="Confirmation" icon="fa ui-icon-warning" width="425"></p-confirmDialog>
|
|
|
|
</p-panel>
|