forked from AyatsujiTsukasa/Ant-Planner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
61 lines (59 loc) · 3.15 KB
/
register.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Sign up for Ant Planner</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="public.css">
<link rel="icon" href="Images/AntPlannerIcon.png">
</head>
<body style="background-color: #f1f1f1">
<!-- Navigation bar -->
<nav class="navbar navbar-light navbar-static-top">
<a href="index.html">
<img class="logo" src="Images/AntPlannerLogo.png" alt="Ant Planner logo">
</a>
<ul class="nav navbar-nav pull-xs-right">
<li class="nav-item"><a class="nav-link" href="login.html">Log in</a></li>
<li class="nav-item"><a class="nav-link" href="register.html">Sign up</a></li>
</ul>
</nav>
<!-- Registration form -->
<div class="myForm">
<form id="registerForm" method="post" action="register.php">
<h2 style="text-align:center">Sign up for Ant Planner</h2><br/>
<!-- Ajax Message box here!!! -->
<div class="ajaxMsg"></div>
<fieldset class="form-group">
<input type="text" name="username" id="username" placeholder="Username" maxlength="20" class="validateLocally form-control" />
<span id="usernameWarning" class="warning"></span>
</fieldset>
<fieldset class="form-group" >
<input type="email" name="email" id="email" placeholder="Email" class="validateLocally form-control" />
<span id="emailWarning" class="warning"></span>
</fieldset>
<fieldset class="form-group">
<input type="password" name="password" id="password" placeholder="Password" maxlength="15" class="validateLocally form-control" />
<span id="passwordWarning" class="warning"></span>
</fieldset>
<fieldset class="form-group">
<input type="password" name="password2" id="password2" placeholder="Confirm your password" maxlength="15" class="validateLocally form-control" />
<span id="retypePasswordWarning" class="warning"></span>
</fieldset>
<div class="checkbox">
<label><input type="checkbox" name="remember" value="remember" id="remember" checked> Remember me</label>
</div>
<input class="btn btn-primary btn-block" type="button" name="registerbutton" value="Create Account" id="registerButton" disabled="disabled">
</form><br/>
<div style="text-align:center">Have an account already? <a href="login.html">Log in</a></div>
</div>
<script type="text/javascript" src="register.js"></script>
<script src="https://www.atlasestateagents.co.uk/javascript/tether.min.js"></script><!-- Tether for Bootstrap -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js" integrity="sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7" crossorigin="anonymous"></script>
</body>
</html>