test
This commit is contained in:
parent
98986b3f2e
commit
a4f38ee99c
|
@ -1,23 +1,25 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
import { InfraPageComponent } from './infra-page.component';
|
|
||||||
import { InfraPageRoutingModule } from './infra-page-routing.module';
|
import { InfraPageRoutingModule } from './infra-page-routing.module';
|
||||||
|
|
||||||
import { MaterialModule } from 'packages/commons/material/material.module';
|
import { MaterialModule } from 'packages/commons/material/material.module';
|
||||||
|
|
||||||
import { InfraModule } from 'packages/infra/infra.module';
|
import { InfraModule } from 'packages/infra/infra.module';
|
||||||
import { SettingComponent as DiscoverySettingComponent } from 'packages/discovery/component/setting/setting.component';
|
import { SettingComponent as DiscoverySettingComponent } from 'packages/discovery/component/setting/setting.component';
|
||||||
|
import { InfraPageComponent } from './infra-page.component';
|
||||||
|
import { DiscoveryModule } from 'packages/discovery/discovery.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
InfraPageRoutingModule,
|
InfraPageRoutingModule,
|
||||||
MaterialModule,
|
MaterialModule,
|
||||||
InfraModule
|
InfraModule,
|
||||||
|
DiscoveryModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
InfraPageComponent
|
InfraPageComponent,
|
||||||
],
|
],
|
||||||
entryComponents: [
|
entryComponents: [
|
||||||
DiscoverySettingComponent
|
DiscoverySettingComponent
|
||||||
|
|
|
@ -1,17 +1 @@
|
||||||
<div fxLayout="row" fxLayoutWrap fxLayoutAlign="center">
|
<of-sensor-setting></of-sensor-setting>
|
||||||
<div *ngIf="step == 1">
|
|
||||||
<of-sensor-setting></of-sensor-setting>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="step == 2">
|
|
||||||
<of-sensor-setting-result></of-sensor-setting-result>
|
|
||||||
</div>
|
|
||||||
<div fxLayout="col" fxLayoutWrap fxLayoutAlign="center">
|
|
||||||
|
|
||||||
<button mat-button (click)="onCloseCancel()">Cancel</button>
|
|
||||||
스텝 순서를 바꿨으니 나중에 바꾸잡
|
|
||||||
<button mat-button (click)="onNext()">Next</button>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,4 +1,7 @@
|
||||||
<div fxLayout="row" fxLayoutWrap fxLayoutAlign="center">
|
<div fxLayout="row" fxLayoutWrap fxLayoutAlign="center">
|
||||||
|
<div *ngIf="step == 1">
|
||||||
|
<!-- -->
|
||||||
|
<div fxLayout="row" fxLayoutWrap fxLayoutAlign="center">
|
||||||
<div fxLayout="row" fxLayoutWrap fxLayoutAlign="center">
|
<div fxLayout="row" fxLayoutWrap fxLayoutAlign="center">
|
||||||
|
|
||||||
<mat-card class="example-card">
|
<mat-card class="example-card">
|
||||||
|
@ -62,4 +65,22 @@
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- -->
|
||||||
|
</div>
|
||||||
|
<div *ngIf="step == 2">
|
||||||
|
<of-sensor-setting-result></of-sensor-setting-result>
|
||||||
|
</div>
|
||||||
|
<div fxLayout="col" fxLayoutWrap fxLayoutAlign="center">
|
||||||
|
|
||||||
|
<button mat-button (click)="onCloseCancel()">Cancel</button>
|
||||||
|
스텝 순서를 바꿨으니 나중에 바꾸잡
|
||||||
|
<button mat-button (click)="onNext()">Next</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- -->
|
|
@ -9,6 +9,8 @@ import { AfterContentInit } from '@angular/core/src/metadata/lifecycle_hooks';
|
||||||
})
|
})
|
||||||
export class SettingComponent implements OnInit, AfterContentInit {
|
export class SettingComponent implements OnInit, AfterContentInit {
|
||||||
|
|
||||||
|
step = 1;
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|
||||||
selectCrawler: String;
|
selectCrawler: String;
|
||||||
|
@ -28,4 +30,7 @@ export class SettingComponent implements OnInit, AfterContentInit {
|
||||||
this.crawlerList.push('PostgreSQL Crawler');
|
this.crawlerList.push('PostgreSQL Crawler');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onNext() {
|
||||||
|
this.step += 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user