This commit is contained in:
geek 2018-05-30 18:41:15 +09:00
parent 5c52d679db
commit 0157a3b168
6 changed files with 114 additions and 1 deletions

View File

@ -6,6 +6,8 @@ import { SigninPageComponent } from './signin/signin-page.component';
import { SignupPageComponent } from './signup/signup-page.component';
import { ResetPasswordPageComponent } from './reset-password/reset-password-page.component';
import { ModifyPasswordPageComponent } from './reset-password/modify-password-page.component';
import { ConfirmSignupPageComponent } from '@app/pages/auth/confirm/confirm-signup-page.component';
import { ConfirmResetPasswordPageComponent } from '@app/pages/auth/confirm/confirm-reset-password-page.component';
const routes: Routes = [
{
@ -16,7 +18,9 @@ const routes: Routes = [
{ path: 'signin', component: SigninPageComponent },
{ path: 'signup', component: SignupPageComponent },
{ path: 'reset-password', component: ResetPasswordPageComponent },
{ path: 'modify-password', component: ModifyPasswordPageComponent }
{ path: 'modify-password', component: ModifyPasswordPageComponent },
// { path: 'confirm-signup', component: ConfirmSignupPageComponent },
// { path: 'confirm-reset-password', component: ConfirmResetPasswordPageComponent }
]
}
];

View File

@ -12,6 +12,8 @@ import { ResetPasswordPageComponent } from './reset-password/reset-password-page
import { ModifyPasswordPageComponent } from './reset-password/modify-password-page.component';
import { } from '@app/commons/component/layout/banner/app.banner.component';
import { ConfirmSignupPageComponent } from '@app/pages/auth/confirm/confirm-signup-page.component';
import { ConfirmResetPasswordPageComponent } from '@app/pages/auth/confirm/confirm-reset-password-page.component';
export const COMPONENTS = [
AuthPageComponent,
@ -19,6 +21,8 @@ export const COMPONENTS = [
SignupPageComponent,
ResetPasswordPageComponent,
ModifyPasswordPageComponent,
ConfirmSignupPageComponent,
ConfirmResetPasswordPageComponent
];
@NgModule({

View File

@ -0,0 +1,27 @@
<div class="ui-g">
<div class="ui-g-12 ui-md-9 ui-lg-7">
<!--<of-member-reset-password-container (signin)="onSignin()" (signup)="onSignup()"></of-member-reset-password-container>-->
</div>
<div class="ui-g-12 ui-md-3 ui-lg-5 login-descript">
<table class="login-table">
<tr>
<td>
<div class="login-panel ui-fluid">
<div class="ui-g">
<div class="ui-g-12">
<img src="assets/layout/images/login/login_img_01.png">
<p>
<br> overFlow는 여러분의 서버에 발생하는
<br> 변화를 항상 지켜보고 있습니다.
<br>
<br> 서버에 발생하는 모든 변화를 세분화 하여
<br> 실시간으로 알려 드립니다.
</p>
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
</div>

View File

@ -0,0 +1,28 @@
import { Component, OnInit } from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
@Component({
selector: 'of-pages-auth-confirm-reset-password',
templateUrl: './confirm-reset-password-page.component.html',
})
export class ConfirmResetPasswordPageComponent implements OnInit {
token: string;
constructor(
private router: Router,
private activatedRoute: ActivatedRoute,
) { }
ngOnInit() {
this.token = this.activatedRoute.snapshot.queryParams['token'] || '/';
}
onModifyPassword() {
this.router.navigate(['auth/modify-password']);
}
onSignin() {
this.router.navigate(['auth/signin']);
}
}

View File

@ -0,0 +1,27 @@
<div class="ui-g">
<div class="ui-g-12 ui-md-9 ui-lg-7">
<!--<of-member-modify-password-container (signin)="onSignin()"></of-member-modify-password-container>-->
</div>
<div class="ui-g-12 ui-md-3 ui-lg-5 login-descript">
<table class="login-table">
<tr>
<td>
<div class="login-panel ui-fluid">
<div class="ui-g">
<div class="ui-g-12">
<img src="assets/layout/images/login/login_img_01.png">
<p>
<br> overFlow는 여러분의 서버에 발생하는
<br> 변화를 항상 지켜보고 있습니다.
<br>
<br> 서버에 발생하는 모든 변화를 세분화 하여
<br> 실시간으로 알려 드립니다.
</p>
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
</div>

View File

@ -0,0 +1,23 @@
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
@Component({
selector: 'of-pages-confirm-signup',
templateUrl: './confirm-signup-page.component.html',
})
export class ConfirmSignupPageComponent implements OnInit {
token: string;
constructor(
private router: Router,
private activatedRoute: ActivatedRoute,
) { }
ngOnInit() {
this.token = this.activatedRoute.snapshot.queryParams['token'] || '/';
}
onSignin() {
this.router.navigate(['auth/signin']);
}
}