brighter-trading/templates/sign_up.html

26 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Load style sheets and set the title -->
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='brighterStyles.css') }}">
<title>{{ title }}</title>
<script src="{{ url_for('static', filename='user.js') }}"></script>
<script type="text/javascript">
users = new Users('signup_form');
</script>
</head>
<body id="sign_up_body">
<div id="signup_content" class="input_form">
<h1>Please enter your email and choose a password.</h1>
<form name="signup_form" action="/signup_submit" method="post">
<div class="input-field"><input id='username' name='username' placeholder="User name" class="validate"></div>
<div class="input-field"><input id='email' name='email' placeholder="Email" class="validate"></div>
<div class="input-field"><input type="password" id='password' name='password' placeholder="Password" class="validate"pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters" required></div>
<button type="button" onclick="users.validateInput({username, email, password})">Submit</button>
</form>
</div>
</body>
</html>