-
Notifications
You must be signed in to change notification settings - Fork 0
/
joinClass.html
62 lines (59 loc) · 2.29 KB
/
joinClass.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>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/flatly.css">
<link rel="stylesheet" type="text/css" href="css/fonts/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/joinClass.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdn.firebase.com/js/client/2.4.0/firebase.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/joinClass.js"></script>
<title>Find Books</title>
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<img class="navbar-brand nav-logo" src="img/libra-white.png">
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="home.html">My Books</a></li>
<li><a href="search.html">Find Books</a></li>
<li><a href="joinClass.html">Join Class</a></li>
<li><a href="classes.html">My Classes</a></li>
</ul>
</div>
</div>
</nav>
<div>
<form action="javascript:searchClass()">
<div class="field f fade-in" id="searchform" style="margin-top: 50px;">
<input type="text" id="searchBar" class="s" placeholder="Class ID" style="padding-left: 20px;" />
<button type="submit" id="search"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
<div id="placeHolder"></div>
</body>
<script type="text/javascript">
var fb = new Firebase("https://librabooks.firebaseio.com");
var uid;
fb.onAuth(function(authData) {
if(authData) {
uid = authData.uid;
} else {
window.location = "login.html";
}
});
</script>
</html>