test
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
<p-panel *ngIf="probeHost" #content [showHeader]="false" class="block-panel">
|
||||
<of-probe-general [probe]="probeHost.probe" (modified)="modifiedGeneral($event)"></of-probe-general>
|
||||
<of-probe-host [infraHost]="probeHost.infraHost"></of-probe-host>
|
||||
<of-probe-host *ngIf="probeHost.infraHost" [infraHost]="probeHost.infraHost"></of-probe-host>
|
||||
|
||||
<div class="ui-g" dir="rtl">
|
||||
<button class="ui-button-danger ui-button-width-fit" [disabled]="true" type="button" label="Remove this Probe" icon="ui-icon-close" pButton
|
||||
(click)="remove(probeHost)"></button>
|
||||
<button class="ui-button-danger ui-button-width-fit" [disabled]="true" type="button" label="Remove this Probe" icon="ui-icon-close"
|
||||
pButton (click)="remove(probeHost)"></button>
|
||||
<button class="ui-button-width-fit" type="button" label="Discovery" icon="ui-icon-search" pButton (click)="discovery.emit(probeHost.id)"></button>
|
||||
</div>
|
||||
</p-panel>
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
<p-panel [showHeader]="false">
|
||||
<div *ngIf="infraHost">
|
||||
<div class="ui-g">
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value">
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value" *ngIf="infraHost.infraZone">
|
||||
<of-key-value [key]="'IP ver'" [value]="infraHost.infraZone.metaIPType.name"></of-key-value>
|
||||
</div>
|
||||
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value">
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value" *ngIf="infraHost.infraZone">
|
||||
<of-key-value [key]="'CIDR'" [value]="infraHost.infraZone.network"></of-key-value>
|
||||
</div>
|
||||
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value">
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value" *ngIf="infraHost.infraZone">
|
||||
<of-key-value [key]="'Interface'" [value]="infraHost.infraZone.iface"></of-key-value>
|
||||
</div>
|
||||
|
||||
@@ -34,15 +34,15 @@
|
||||
<of-key-value [key]="'Host Type'" [value]="infraHost.metaTargetHostType.name"></of-key-value>
|
||||
</div>
|
||||
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value">
|
||||
<of-key-value [key]="'Host IP'" [value]="infraHost.infraZone.address"></of-key-value>
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value" *ngIf="infraHost.infraHostIPs">
|
||||
<of-key-value [key]="'Host IP'" [value]="infraHost.infraHostIPs[0].address"></of-key-value>
|
||||
</div>
|
||||
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value">
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value" *ngIf="infraHost.infraZone">
|
||||
<of-key-value [key]="'Host Mac'" [value]="infraHost.infraZone.mac"></of-key-value>
|
||||
</div>
|
||||
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value">
|
||||
<div class="ui-g-12 ui-md-6 ui-key-value" *ngIf="infraHost.infraHostOS">
|
||||
<of-key-value [key]="'Host OS'" [value]="infraHost.infraHostOS.name"></of-key-value>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
<td>{{probeHost.probe.name}}</td>
|
||||
<td>{{getUptime(probeHost.probe)}}</td>
|
||||
<td>{{probeHost.probe.cidr}}</td>
|
||||
<td>{{probeHost.infraHost.infraHostIPs[0].address}}</td>
|
||||
<td>{{probeHost.infraHost.infraHostOS.name}}</td>
|
||||
<td>{{probeHost.infraHost.infraZone.iface}}</td>
|
||||
<td>{{probeHost.infraHost.infraHostIPs ? probeHost.infraHost.infraHostIPs[0].address : ''}}</td>
|
||||
<td>{{probeHost.infraHost.infraHostOS ? probeHost.infraHost.infraHostOS.name : '' }}</td>
|
||||
<td>{{probeHost.infraHost.infraZone ? probeHost.infraHost.infraZone.iface : ''}}</td>
|
||||
<td>{{probeHost.probe.targetCount}}</td>
|
||||
<td>{{probeHost.probe.authorizeDate | date: 'dd.MM.yyyy'}}</td>
|
||||
<td>{{probeHost.probe.authorizeMember.name}}</td>
|
||||
<td>{{probeHost.probe.authorizeMember.name || ''}}</td>
|
||||
</tr>
|
||||
</ng-template>
|
||||
</p-table>
|
||||
|
||||
Reference in New Issue
Block a user