fixed probe detail - discovery
This commit is contained in:
parent
87b0a0283b
commit
98ef4ebfe9
|
@ -1,4 +1,7 @@
|
||||||
<h1>Info</h1>
|
<h1>Info</h1>
|
||||||
|
<p-dialog header="Discovery" [width]="800" [(visible)]="display">
|
||||||
|
<of-discovery-setting (close)="onDiscoverycloseDialog()"></of-discovery-setting>
|
||||||
|
</p-dialog>
|
||||||
<div *ngIf="probe">
|
<div *ngIf="probe">
|
||||||
<div class="ui-g form-group">
|
<div class="ui-g form-group">
|
||||||
<div class="ui-g-12 ui-md-6 ui-lg-4">
|
<div class="ui-g-12 ui-md-6 ui-lg-4">
|
||||||
|
|
|
@ -21,6 +21,7 @@ export class DetailComponent implements OnInit, AfterContentInit {
|
||||||
probe: Probe = null;
|
probe: Probe = null;
|
||||||
startIP: string;
|
startIP: string;
|
||||||
endIP: string;
|
endIP: string;
|
||||||
|
display = false;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
|
@ -61,7 +62,12 @@ export class DetailComponent implements OnInit, AfterContentInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
onDiscoveryClick() {
|
onDiscoveryClick() {
|
||||||
alert('Discovery를 열거라 대훈');
|
// alert('Discovery를 열거라 대훈');
|
||||||
|
this.display = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
onDiscoverycloseDialog() {
|
||||||
|
this.display = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
onRemoveClick() {
|
onRemoveClick() {
|
||||||
|
|
|
@ -8,15 +8,15 @@ import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
// import { SettingComponent as DiscoverySettingComponent } from 'packages/discovery/component/setting/setting.component';
|
// import { SettingComponent as DiscoverySettingComponent } from 'packages/discovery/component/setting/setting.component';
|
||||||
// import { DiscoveryModule } from '../discovery/discovery.module';
|
// import { DiscoveryModule } from '../discovery/discovery.module';
|
||||||
|
import { DiscoveryModule } from 'packages/discovery/discovery.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
PrimeNGModules,
|
PrimeNGModules,
|
||||||
ProbeStoreModule,
|
ProbeStoreModule,
|
||||||
FormsModule
|
FormsModule,
|
||||||
// DiscoveryModule
|
DiscoveryModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
COMPONENTS,
|
COMPONENTS,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user