-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
75 lines (73 loc) · 3.72 KB
/
index.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
65
66
67
68
69
70
71
72
73
74
75
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Forum Application || Login or Create Account </title>
<link rel="stylesheet" href="boot/css/bootstrap.css">
<link id="pagestyle" rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container-fluid">
<div class="col-lg-5 col-lg-offset-1 col-md-5 col-md-offset-1 col-sm-12 col-xs-12" id="div1"><h4 id="nightmode"><b>Night Mode</b></h4><img src="img/off.png" onmousedown="swapStyleSheet()" alt="off" id="toggle" width="50px"></div>
<div class="col-lg-5 col-lg-offset-1 col-md-5 col-md-offset-1 col-sm-12 col-xs-12" id="div2"><h4 id="nightmode"><b>Advance Mode</b></h4><img src="img/off.png" onmousedown="advance()" alt="off" id="toggle2" width="50px"></div>
<div class="jumbotron">
<hr>
<h1>Forum Application</h1>
<p>Forum for discuss topics its free ! and always will be. </p>
<h3 style='color:blue'>INTERNET IS REQUIRED !!!</h3>
</div>
<div id="container">
<div id="container1" class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<h2>Already have an account ?</h2>
<div id="suggestionusername" class="col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input id="username" type="text" class="form-control input-lg" name="email" placeholder="Username" onfocus="usernames()">
</div>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input id="pass" type="password" class="form-control input-lg" name="password" placeholder="Password">
</div>
<button type="submit" class="btn-lg btn-success btn-group-justified" onclick="load()">Login</button>
</div>
<div id="container2" class="col-lg-5 col-lg-offset-3 col-md-5 col-md-offset-3 col-sm-12 col-xs-12">
<h2>Create an account </h2>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input id="firstname" type="text" class="form-control input-lg" name="email" placeholder="Your First Name">
</div>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-tree-conifer"></i></span>
<input id="lastname" type="text" class="form-control input-lg" name="email" placeholder="Your Last Name">
</div>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input id="enterpassword" type="password" class="form-control input-lg" name="password" placeholder="Password">
</div>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-indent-left"></i></span>
<input id="repeatpassword" type="password" class="form-control input-lg" name="password" placeholder="Repeat Password">
</div>
<div class="input-group btn-block">
<input id="autogenerate" type="text" class="form-control input-lg " name="password" placeholder="Your Username Generated By Server" disabled>
</div>
<button type="submit" class="btn-lg btn-success btn-group-justified " onclick="newUser()">Signup</button>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/4.5.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyCOZ1sqBldrAr2sDeB7Tjg3NPW3ksVlJPw",
authDomain: "forum-application.firebaseapp.com",
databaseURL: "https://forum-application.firebaseio.com",
projectId: "forum-application",
storageBucket: "forum-application.appspot.com",
messagingSenderId: "266496813834"
};
firebase.initializeApp(config);
</script>
<script type='text/javascript' src='js/main.js'></script>
</body>
</html>