Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Union Cooperatives
Farmers Cooperative
Commits
3f3f8856
Commit
3f3f8856
authored
Jul 23, 2019
by
Kolipakarohith
Browse files
Add new file
parent
0a91ef49
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/forgot.ejs
0 → 100644
View file @
3f3f8856
<html>
<head>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<body>
<style>
form
{
border
:
100px
solid
#f1f1f1
;}
input
[
type
=
text
],
input
[
type
=
password
]
{
width
:
25%
;
padding
:
12px
20px
;
margin
:
8px
0
;
display
:
inline-block
;
border
:
1px
solid
gray
;
box-sizing
:
border-box
;
}
button
{
background-color
:
#4CAF50
;
color
:
white
;
padding
:
14px
20px
;
margin
:
8px
0
;
border
:
none
;
cursor
:
pointer
;
width
:
10%
;
}
.cancelbtn
{
background-color
:
#f44336
;
}
button
:hover
{
opacity
:
0.8
;
}
div
{
padding
:
70px
75px
80px
;
background-image
:
url('https://images.unsplash.com/photo-1469122312224-c5846569feb1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1452&q=80')
;
background-size
:
cover
;
height
:
100%
;
}
</style>
<center>
<div>
<img
src=
"https://1.bp.blogspot.com/-l8IAJUh3F-c/XP1Av6Jv0CI/AAAAAAAAXVI/DZMZyC_aR0EC0hqf9A2mgcHP2tQb4MkZQCLcBGAs/s320/farmer.png.png"
width=
"150"
height=
"150"
>
<br>
<h2>
CHANGE PASSWORD
</h2><br>
<label
for=
"newPassword"
><b>
New Password:
</label><br>
<input
type=
"password"
id=
"newPassword"
name=
"newPassword"
title=
"New password"
/><br>
<label
for=
"confirmPassword"
><b>
Confirm Password:
</label><br>
<input
type=
"password"
id=
"confirmPassword"
name=
"confirmPassword"
title=
"Confirm new password"
/><br>
<button
type=
"submit"
>
SUBMIT
</button>
<button
type=
"button"
class=
"cancelbtn"
>
CANCEL
</button><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
©
KISAN MARKET
</div>
</center>
</body>
</html>
@{
newPassword = Request["newPassword"];
confirmPassword = Request["confirmPassword"];
token = Request["token"];
if IsPost
{
// input testing is ommitted here to save space
retunValue = ResetPassword(token, newPassword);
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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