diff --git a/src/app/packages/sensor/component/setting-result/setting-result.component.html b/src/app/packages/sensor/component/setting-result/setting-result.component.html new file mode 100644 index 0000000..a901673 --- /dev/null +++ b/src/app/packages/sensor/component/setting-result/setting-result.component.html @@ -0,0 +1,11 @@ +
+ + + + + + + + + +
\ No newline at end of file diff --git a/src/app/packages/sensor/component/setting-result/setting-result.component.scss b/src/app/packages/sensor/component/setting-result/setting-result.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/packages/sensor/component/setting-result/setting-result.component.spec.ts b/src/app/packages/sensor/component/setting-result/setting-result.component.spec.ts new file mode 100644 index 0000000..4cfedb8 --- /dev/null +++ b/src/app/packages/sensor/component/setting-result/setting-result.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SettingResultComponent } from './setting-result.component'; + +describe('SettingResultComponent', () => { + let component: SettingResultComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ SettingResultComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(SettingResultComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/packages/sensor/component/setting-result/setting-result.component.ts b/src/app/packages/sensor/component/setting-result/setting-result.component.ts new file mode 100644 index 0000000..6778c9e --- /dev/null +++ b/src/app/packages/sensor/component/setting-result/setting-result.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'of-sensor-setting-result', + templateUrl: './setting-result.component.html', + styleUrls: ['./setting-result.component.scss'] +}) +export class SettingResultComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/packages/sensor/component/setting/setting.component.html b/src/app/packages/sensor/component/setting/setting.component.html index aa423c1..b8fbe9f 100644 --- a/src/app/packages/sensor/component/setting/setting.component.html +++ b/src/app/packages/sensor/component/setting/setting.component.html @@ -13,16 +13,20 @@ - Step 2 - Select Crawler + Step 3 + Crawler Auth - - - {{season}} - - -
Your favorite season is: {{favoriteSeason}}
+
+ + + + + + + + +
@@ -32,11 +36,16 @@ - Step 3 - Crawler Auth + Step 2 + Select Crawler - 인증정보 입력 창 + + + {{season}} + + +
Your favorite season is: {{favoriteSeason}}
diff --git a/src/app/packages/sensor/component/setting/setting.component.scss b/src/app/packages/sensor/component/setting/setting.component.scss index 087507b..a0bf0ee 100644 --- a/src/app/packages/sensor/component/setting/setting.component.scss +++ b/src/app/packages/sensor/component/setting/setting.component.scss @@ -18,4 +18,14 @@ .example-selected-value { margin: 15px 0; +} + +.example-form { + min-width: 150px; + max-width: 500px; + width: 100%; +} + +.example-full-width { + width: 100%; } \ No newline at end of file diff --git a/src/app/packages/sensor/sensor.module.ts b/src/app/packages/sensor/sensor.module.ts index a525091..c7dbf53 100644 --- a/src/app/packages/sensor/sensor.module.ts +++ b/src/app/packages/sensor/sensor.module.ts @@ -3,6 +3,7 @@ import { CommonModule } from '@angular/common'; import { MaterialModule } from 'app/commons/ui/material/material.module'; import { SettingComponent } from 'app/packages/sensor/component/setting/setting.component'; +import { SettingResultComponent } from 'app/packages/sensor/component/setting-result/setting-result.component'; @NgModule({ @@ -10,9 +11,13 @@ import { SettingComponent } from 'app/packages/sensor/component/setting/setting. CommonModule, MaterialModule ], - declarations: [SettingComponent], + declarations: [ + SettingComponent, + SettingResultComponent, + ], exports: [ - SettingComponent + SettingComponent, + SettingResultComponent ] }) export class SensorModule { } diff --git a/src/app/pages/sensor-setting/sensor-setting-page.component.html b/src/app/pages/sensor-setting/sensor-setting-page.component.html index c1a506a..be6aafc 100644 --- a/src/app/pages/sensor-setting/sensor-setting-page.component.html +++ b/src/app/pages/sensor-setting/sensor-setting-page.component.html @@ -1 +1,17 @@ - \ No newline at end of file +
+
+ +
+
+ +
+
+ + + + + +
+ + +
\ No newline at end of file diff --git a/src/app/pages/sensor-setting/sensor-setting-page.component.ts b/src/app/pages/sensor-setting/sensor-setting-page.component.ts index 49eb460..45c7799 100644 --- a/src/app/pages/sensor-setting/sensor-setting-page.component.ts +++ b/src/app/pages/sensor-setting/sensor-setting-page.component.ts @@ -9,7 +9,19 @@ export class SensorSettingPageComponent implements OnInit { constructor() { } + step = 1; + ngOnInit() { } + onNext() { + this.step = 2; + // this.router.navigate(['step2']); + } + + onCloseCancel() { + // this.dialogRef.close('Cancel'); + } + + }