Created
September 17, 2017 16:11
-
-
Save jayvolr/03611f4e3110e623f5f2b7cc3898294e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Node.js Auth</title> | |
<link rel="stylesheet" href="/css/master.css"> | |
</head> | |
<body> | |
<div id="container"> | |
<form id="loginForm" action="/login" method="post"> | |
<h2>Login</h2> | |
<hr> | |
<input type="text" name="username" placeholder="Email"> | |
<br><br> | |
<input type="password" name="password" placeholder="Password"> | |
<br><br> | |
<button type="submit">Login</button> | |
</form> | |
<form id="registerForm" action="/register" method="post"> | |
<h2>Create Account</h2> | |
<hr> | |
<input type="text" name="username" placeholder="Email"> | |
<br><br> | |
<input type="password" name="password" placeholder="Password"> | |
<br><br> | |
<input type="password" name="password2" placeholder="Password (repeat)"> | |
<br><br> | |
<button type="submit">Register</button> | |
</form> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment