Skip to content

Commit

Permalink
add links to passwordforgot page
Browse files Browse the repository at this point in the history
  • Loading branch information
acrantel committed Dec 24, 2022
1 parent 7afa481 commit edb3a44
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 26 deletions.
15 changes: 3 additions & 12 deletions frontend/src/views/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,21 +218,12 @@ class LoginRegister extends Component {
</div>
</div>
{buttons}
<br />
<div className="row text-center">
<div className="row text-center" style={{ marginTop: "10px" }}>
<div className="col-xs-6">
<a
href={"/register"}
>
Register
</a>
<a href={"/register"}>Register</a>
</div>
<div className="col-xs-6 border-right">
<a
href={"/password_forgot"}
>
Forgot Password
</a>
<a href={"/password_forgot"}>Forgot Password</a>
</div>
</div>
<div className="clearfix" />
Expand Down
11 changes: 10 additions & 1 deletion frontend/src/views/passwordForgot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class PasswordForgot extends Component {
}}
>
{/* Note that this page does not change depending on episode */}
Enter your email below to receive a password reset email. Contact [email protected] if you encounter any issues.
Enter your email below to receive a password reset email. Contact
[email protected] if you encounter any issues.
</p>
{error && (
<div
Expand Down Expand Up @@ -125,6 +126,14 @@ class PasswordForgot extends Component {
>
Forgot Password
</button>
<div className="row text-center" style={{ marginTop: "10px" }}>
<div className="col-xs-6 border-right">
<a href={"/login"}>Log In</a>
</div>
<div className="col-xs-6">
<a href={"/register"}>Register</a>
</div>
</div>
<div className="clearfix" />
</form>
</div>
Expand Down
17 changes: 4 additions & 13 deletions frontend/src/views/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,23 +268,14 @@ class Register extends Component {
/>
</div>
{buttons}
<br />
<div className="row text-center">
<div className="row text-center" style={{ marginTop: "10px" }}>
<div className="col-xs-6">
<a
href={"/login"}
>
Log In
</a>
<a href={"/login"}>Log In</a>
</div>
<div className="col-xs-6">
<a
href={"/password_forgot"}
>
Forgot Password
</a>
</div>
<a href={"/password_forgot"}>Forgot Password</a>
</div>
</div>
<div className="clearfix" />
</div>
</div>
Expand Down

0 comments on commit edb3a44

Please sign in to comment.