-
Notifications
You must be signed in to change notification settings - Fork 4
/
singup.html
64 lines (54 loc) · 2.99 KB
/
singup.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
62
63
64
<!DOCTYPE html>
<html>
<head>
<title>Sing UP</title>
<script src="https://www.gstatic.com/firebasejs/4.1.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyC1DrDk8f7t4gPrDrsDzRZQwz2a2rrB8xQ",
authDomain: "studentzone-cdbfc.firebaseapp.com",
databaseURL: "https://studentzone-cdbfc.firebaseio.com",
projectId: "studentzone-cdbfc",
storageBucket: "studentzone-cdbfc.appspot.com",
messagingSenderId: "547435038931"
};
firebase.initializeApp(config);
</script>
<script type="text/javascript" src="main.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
</head>
<body>
<div class="container" >
<div id="loginbox" style="margin-top:50px;" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
<div class="panel panel-info" >
<div class="panel-heading">
<div class="panel-title">Sign Up</div>
<div style="float:right; font-size: 80%; position: relative; top:-10px">Already have an account?<a href="index.html"> Sign In</a></div>
</div>
<div style="padding-top:30px" class="panel-body" >
<div style="display:none" class="alert alert-danger col-sm-12"></div>
<form class="form-horizontal" role="form">
<h1>Create an Account</h1>
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input id="email" type="text" class="form-control" name="username" value="" placeholder="username or email">
</div>
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input id="password" type="password" class="form-control" name="password" placeholder="Password">
</div>
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input id="cpassword" type="password" class="form-control" name="password" placeholder="Confirm Password">
</div>
<input type="button" class="btn btn-success" value="Sign me up!" onclick="handleSignUp()">
</form>
</div>
</div>
</div>
</div>
</body>
</html>