Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hdastageeri
hft_awado_app
Commits
5abf334f
Commit
5abf334f
authored
Dec 14, 2019
by
Priyanka Upadhye
Browse files
html page for reset password
parent
a3ca0359
Changes
8
Hide whitespace changes
Inline
Side-by-side
src/app/app-routing.module.ts
View file @
5abf334f
...
...
@@ -37,6 +37,10 @@ const routes: Routes = [
{
path
:
'
help-line
'
,
loadChildren
:
()
=>
import
(
'
./help-line/help-line.module
'
).
then
(
m
=>
m
.
HelpLinePageModule
)
},
{
path
:
'
reset-password
'
,
loadChildren
:
()
=>
import
(
'
./reset-password/reset-password.module
'
).
then
(
m
=>
m
.
ResetPasswordPageModule
)
}
...
...
src/app/auth/login/login.page.html
View file @
5abf334f
...
...
@@ -31,7 +31,10 @@
<div
padding
>
<ion-button
size=
"large"
expand=
"block"
(click)=
"login()"
>
Login
</ion-button>
<a
href=
"../../reset-password"
>
Forgot your Password?
</a>
</div>
<div
padding
>
<ion-button
size=
"large"
expand=
"block"
(click)=
"register()"
>
Click here to Register
</ion-button>
</div>
...
...
src/app/reset-password/reset-password-routing.module.ts
0 → 100644
View file @
5abf334f
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
Routes
,
RouterModule
}
from
'
@angular/router
'
;
import
{
ResetPasswordPage
}
from
'
./reset-password.page
'
;
const
routes
:
Routes
=
[
{
path
:
''
,
component
:
ResetPasswordPage
}
];
@
NgModule
({
imports
:
[
RouterModule
.
forChild
(
routes
)],
exports
:
[
RouterModule
],
})
export
class
ResetPasswordPageRoutingModule
{}
src/app/reset-password/reset-password.module.ts
0 → 100644
View file @
5abf334f
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
CommonModule
}
from
'
@angular/common
'
;
import
{
FormsModule
}
from
'
@angular/forms
'
;
import
{
IonicModule
}
from
'
@ionic/angular
'
;
import
{
ResetPasswordPageRoutingModule
}
from
'
./reset-password-routing.module
'
;
import
{
ResetPasswordPage
}
from
'
./reset-password.page
'
;
@
NgModule
({
imports
:
[
CommonModule
,
FormsModule
,
IonicModule
,
ResetPasswordPageRoutingModule
],
declarations
:
[
ResetPasswordPage
]
})
export
class
ResetPasswordPageModule
{}
src/app/reset-password/reset-password.page.html
0 → 100644
View file @
5abf334f
<ion-header>
<ion-toolbar>
<ion-title>
Reset Password
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<form>
<ion-grid>
<ion-row
justify-content-center
>
<ion-col
align-self-center
size-md=
"6"
size-lg=
"5"
size-xs=
"12"
>
<div
padding
>
<img
src=
"../../../assets/images/bike2gologo.png"
>
</div>
<div
class=
"ion-text"
>
<h3>
Reset Password
</h3>
</div>
<ion-item
><ion-input
type=
"text"
disabled=
"true"
placeholder=
"Bob@mail.com"
></ion-input></ion-item>
<ion-item
><ion-input
type=
"password"
placeholder=
"Old Password"
></ion-input></ion-item>
<ion-item
><ion-input
type=
"password"
placeholder=
"New Password"
></ion-input></ion-item>
<ion-item
><ion-input
type=
"password"
placeholder=
"Confirm Password"
></ion-input></ion-item>
<div
padding
>
<ion-button
size=
"large"
expand=
"block"
(click)=
"resetPassword()"
>
Reset Password
</ion-button>
</div>
<div
padding
>
<ion-button
size=
"large"
expand=
"block"
(click)=
"login()"
>
Login
</ion-button>
</div>
</ion-col>
</ion-row>
</ion-grid>
</form>
</ion-content>
\ No newline at end of file
src/app/reset-password/reset-password.page.scss
0 → 100644
View file @
5abf334f
src/app/reset-password/reset-password.page.spec.ts
0 → 100644
View file @
5abf334f
import
{
async
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
IonicModule
}
from
'
@ionic/angular
'
;
import
{
ResetPasswordPage
}
from
'
./reset-password.page
'
;
describe
(
'
ResetPasswordPage
'
,
()
=>
{
let
component
:
ResetPasswordPage
;
let
fixture
:
ComponentFixture
<
ResetPasswordPage
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
ResetPasswordPage
],
imports
:
[
IonicModule
.
forRoot
()]
}).
compileComponents
();
fixture
=
TestBed
.
createComponent
(
ResetPasswordPage
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
}));
it
(
'
should create
'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/reset-password/reset-password.page.ts
0 → 100644
View file @
5abf334f
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
@
Component
({
selector
:
'
app-reset-password
'
,
templateUrl
:
'
./reset-password.page.html
'
,
styleUrls
:
[
'
./reset-password.page.scss
'
],
})
export
class
ResetPasswordPage
implements
OnInit
{
constructor
()
{
}
ngOnInit
()
{
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment