test
This commit is contained in:
parent
facedbb13c
commit
b9b5195529
|
@ -3,7 +3,8 @@
|
|||
<div class="ui-g-12 ui-g-nopad">
|
||||
<div class="ui-g">
|
||||
<div class="ui-g-12 ui-md-5 ui-g-nopad ui-bottom-space-10">
|
||||
<button pButton type="button" class="ui-button-large ui-button-width-fit" icon="ui-icon-play-arrow" label="Discovery" (click)="onDiscovery()"></button>
|
||||
<button pButton type="button" class="ui-button-large ui-button-width-fit"
|
||||
icon="ui-icon-play-arrow" label="Discovery" (click)="discovery.emit()"></button>
|
||||
</div>
|
||||
<div class="ui-g-12 ui-md-7 ui-g-nopad">
|
||||
<div style="float: right;">
|
||||
|
|
|
@ -32,6 +32,8 @@ export class InfraMapComponent implements OnInit {
|
|||
probeHosts: ProbeHost[];
|
||||
probeTabIdx: number;
|
||||
|
||||
@Output() discovery = new EventEmitter();
|
||||
|
||||
constructor(
|
||||
private store: Store<any>,
|
||||
private probeHostService: ProbeHostService,
|
||||
|
@ -110,7 +112,4 @@ export class InfraMapComponent implements OnInit {
|
|||
).subscribe();
|
||||
}
|
||||
|
||||
onDiscovery() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="ui-g">
|
||||
<div class="ui-g-12">
|
||||
<div class="card no-margin">
|
||||
<of-infra-map></of-infra-map>
|
||||
<of-infra-map (discovery)="onDiscovery($event)"></of-infra-map>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -15,4 +15,7 @@ export class InfraPageComponent implements OnInit {
|
|||
|
||||
ngOnInit() {
|
||||
}
|
||||
onDiscovery() {
|
||||
this.router.navigate(['discovery']);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user