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:11:56 +00:00
|
|
|
<td>{{rowData.apiKey}}</td>
|
|
|
|
<td>{{getInfraHostInfo(rowData.infraHostMeta, 'name')}}</td>
|
|
|
|
<td>{{getInfraHostInfo(rowData.infraHostMeta, '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 03:11:56 +00:00
|
|
|
<b>Platform:</b> {{getInfraHostInfo(rowData.infraHostMeta, 'platform')}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 03:11:56 +00:00
|
|
|
<b>Platform family:</b> {{getInfraHostInfo(rowData.infraHostMeta, 'platformFamily')}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 03:11:56 +00:00
|
|
|
<b>Kernel:</b> {{getInfraHostInfo(rowData.infraHostMeta, 'kernelVersion')}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 03:11:56 +00:00
|
|
|
<b>HostID:</b> {{getInfraHostInfo(rowData.infraHostMeta, '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 03:11:56 +00:00
|
|
|
<b>NIC:</b> {{getInfraNetworkInfo(rowData.infraHostMeta, 'name')}}
|
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 03:11:56 +00:00
|
|
|
<b>Network Address:</b> {{getInfraNetworkInfo(rowData.infraHostMeta, 'address')}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 03:11:56 +00:00
|
|
|
<b>Gateway:</b> {{getInfraNetworkInfo(rowData.infraHostMeta, 'gateway')}}
|
2018-05-28 09:06:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="ui-g-12">
|
2018-06-14 03:11:56 +00:00
|
|
|
<b>Mac Address:</b> {{getInfraNetworkInfo(rowData.infraHostMeta, 'macAddress')}}
|
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">
|
|
|
|
<button class="ui-button-danger ui-button-width-fit" type="button" label="Deny" icon="ui-icon-close" pButton (click)="onAcceptOrDeny(false, rowData)"></button>
|
|
|
|
<button class=" ui-button-width-fit" type="button" label="Accept" icon="fa-check" pButton (click)="onAcceptOrDeny(true, rowData)"></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2018-04-24 05:31:20 +00:00
|
|
|
</ng-template>
|
2018-05-28 09:06:33 +00:00
|
|
|
</p-table>
|
|
|
|
<p-confirmDialog header="Confirmation" icon="fa ui-icon-warning" width="425"></p-confirmDialog>
|
2018-05-30 05:24:19 +00:00
|
|
|
<!-- <p-growl [(value)]="msgs"></p-growl> -->
|
2018-05-28 09:06:33 +00:00
|
|
|
</p-panel>
|