-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
197 lines (163 loc) · 7.2 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html>
<head>
<title>Booklr</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Links for javascript APIs we are using -->
<script src="https://cdn.firebase.com/js/client/2.4.2/firebase.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.3.2/js/tether.min.js"></script>
<script src="javascript/js-signals/dist/signals.min.js"></script>
<script src="javascript/crossroads.js/dist/crossroads.min.js"></script>
<script src="javascript/fuse.min.js"></script>
<!-- Links for Bootstrap v4 alpha -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js" integrity="sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7" crossorigin="anonymous"></script>
<!-- Font-Awesome library (for cool icons) -->
<script src="https://use.fontawesome.com/79ba6194f1.js"></script>
<!-- Link for custom css -->
<!--<link rel="stylesheet" type="text/css" href="index.css">-->
<link rel="stylesheet" type="text/css" href="bootstrap-social.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="wrapper">
<nav class="navbar navbar-dark bg-inverse color-1-inverse">
<div class="col-xl-2"></div>
<div class="col-xl-8">
<!-- Brand -->
<a class="navbar-brand" href="#">Booklr <span class="version">v1-alpha</span></a>
<!-- Links -->
<ul class="nav navbar-nav pull-xs-right">
<li class="nav-item"><a class="nav-link login logged-out" href="#">Login / Sign Up</a></li>
<!-- <li class="nav-item"><a class="nav-link" href="#" id="logout">Logout</a></li> -->
<!-- <li class="nav-item"><a class="nav-link" href="#" id="username"></a></li> -->
<!-- User menu -->
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle logged-in" id="username" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"></a>
<!-- User menu options -->
<div class="dropdown-menu">
<a id="user-profile-link" class="dropdown-item" href="#">Profile</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" id="logout" href="#">Logout</a>
</div>
</li>
</ul>
</div>
</nav>
<div class="container-fluid main-content full-height-sm">
<div class="row full-height-sm">
<div class="col-xl-2"></div>
<div class="col-xl-8 full-height-sm">
<div class="row full-height-sm">
<!-- Left Panel -->
<div class="col-lg-4 full-height">
<div class="card">
<div class="card-block">
<h4 class="card-title color-1">Search Books</h4>
<form>
<!-- Search bar -->
<div class="form-group">
<div class="input-group">
<div class="input-group-btn">
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" id="filter-button">Title</button>
<ul class="dropdown-menu dropdown-menu-select">
<li class="dropdown-item" href="#">Title</li>
<li class="dropdown-item" href="#">Author</li>
<li class="dropdown-item" href="#">ISBN</li>
</ul>
</div>
<input type="text" class="form-control" aria-label="Text input with dropdown button" id="search-field">
</div>
</div>
<!-- /Search bar -->
<a href="#" class="btn btn-primary color-1-inverse btn-block" id="search-button">Search</a>
</form>
</div>
</div>
<a type="button" id="create-post" href="create_post.html" class="btn color-1-inverse btn-block logged-in">Create Post</a>
<a type="button" href="#" class="btn color-1-inverse btn-block login logged-out">Sign in to post your book!</a>
</div>
<!-- /Left Panel -->
<!-- Right Panel -->
<div class="col-lg-8 full-height">
<div class="card full-height-sm">
<div class="card-block">
<h4 class="card-title">Textbooks</h4>
</div>
<!-- Post listings get put inside this div -->
<div class="list-group list-group-flush" id="bookListings"></div>
<div class="card-block">
<a href="#" id="load-more" class="card-link">
<span>Click to load more...</span>
</a>
</div>
</div>
</div>
<!-- /Right Panel -->
</div>
</div>
</div>
</div>
</div><!-- /wrapper -->
<div class="modal fade" id="signup-modal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close signup-modal-close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Log In / Sign Up</h4>
</div>
<div class="modal-body">
<button class="btn btn-social btn-facebook authorizing" id="facebook-signup">
<i class="fa fa-facebook"></i>Connect with Facebook
</button>
<form class="signing-up" id="signup-form">
<fieldset class="form-group">
<label>Name:</label>
<input id="signup-name" type="text" class="form-control" name="signup-name">
</fieldset>
<img id="profile-image" src="https://placehold.it/128x128">
<div class="checkbox">
<label>
<input id="use-image" type="checkbox" checked>
Use your picture?
</label>
</div>
<fieldset class="form-group">
<label>Contact me by</label>
<div class="input-group">
<div class="input-group-btn">
<button type="button" id="contact-type" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown">Email</button>
<ul class="dropdown-menu dropdown-menu-select">
<li class="dropdown-item" href="#">Email</li>
<li class="dropdown-item" href="#">Text</li>
<li class="dropdown-item" href="#">Call</li>
</ul>
</div>
<input type="text" id="contact-field" class="form-control">
</div>
</fieldset>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary signup-modal-close">Cancel</button>
<button type="button" class="btn btn-primary" id="signup-modal-submit">Submit</button>
</div>
</div>
</div>
</div>
<!-- <footer class="footer color-2-inverse">
<div class="container">
<span class="text-muted footer-text"><b>SMC Programming Club</b> — All rights reserved</span>
</div>
</footer> -->
<script src="javascript/authManager.js"></script>
<script src="javascript/index.js"></script>
<script src="javascript/facebook_login.js"></script>
<script src="javascript/dropdown-select.js"></script>
</body>
</html>