discovery in progress
This commit is contained in:
@@ -2,10 +2,12 @@ import { ProbeDetailComponent } from './detail/detail.component';
|
||||
import { ProbeListComponent } from './list/list.component';
|
||||
import { ProbeDownloadComponent } from './download/download.component';
|
||||
import { ProbeSelectorComponent } from './selector/selector.component';
|
||||
import { ProbeSummaryComponent } from './summary/summary.component';
|
||||
|
||||
export const COMPONENTS = [
|
||||
ProbeListComponent,
|
||||
ProbeDetailComponent,
|
||||
ProbeDownloadComponent,
|
||||
ProbeSelectorComponent,
|
||||
ProbeSummaryComponent
|
||||
];
|
||||
|
||||
15
@overflow/probe/component/summary/summary.component.html
Normal file
15
@overflow/probe/component/summary/summary.component.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div *ngIf="probeHost else info">
|
||||
<of-key-value [key]="'CIDR'" [value]="probeHost.probe.cidr"></of-key-value>
|
||||
<of-key-value [key]="'Description'" [value]="probeHost.probe.description"></of-key-value>
|
||||
<of-key-value [key]="'Key'" [value]="probeHost.probe.probeKey"></of-key-value>
|
||||
<of-key-value [key]="'Authrozied at'" [value]="probeHost.probe.authorizeDate | date: 'dd/MM/yyyy'"></of-key-value>
|
||||
<of-key-value [key]="'Authrozied by'" [value]="probeHost.probe.authorizeMember.name"></of-key-value>
|
||||
<of-key-value [key]="'IPv4'" [value]="probeHost.host.ipv4"></of-key-value>
|
||||
<of-key-value [key]="'IPv6'" [value]="probeHost.host.ipv6 | uppercase"></of-key-value>
|
||||
<of-key-value [key]="'Mac Address'" [value]="probeHost.host.mac"></of-key-value>
|
||||
<of-key-value [key]="'OS'" [value]="probeHost.host.os.vendor.name"></of-key-value>
|
||||
</div>
|
||||
|
||||
<ng-template #info>
|
||||
Choose a Probe to perform Network Discovery.
|
||||
</ng-template>
|
||||
15
@overflow/probe/component/summary/summary.component.ts
Normal file
15
@overflow/probe/component/summary/summary.component.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { Probe, ProbeHost } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
@Component({
|
||||
selector: 'of-probe-summary',
|
||||
templateUrl: './summary.component.html',
|
||||
})
|
||||
export class ProbeSummaryComponent {
|
||||
|
||||
@Input() probeHost: ProbeHost;
|
||||
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user