-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathallposts.html
413 lines (371 loc) · 19.2 KB
/
allposts.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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Book Review</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/allposts.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="index.html">Book Review</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="navbar-brand" href="index.html">Home</a>
</li>
<li class="nav-item active">
<a class="navbar-brand" href="ourTop5.html">
Our top 5 books
</a>
</li>
<li class="nav-item">
<a class="navbar-brand" href="about.html"> About</a>
</li>
<li class="nav-item">
<a type="button" data-toggle="modal" data-target="#loginModal" class="navbar-brand" href="#"> Login</a>
</li>
<li class="nav-item">
<a type="button" data-toggle="modal" data-target="#registerModal" class="navbar-brand" href="#"> Register</a>
</li>
<li class="nav-item active">
<a class="navbar-brand" href="allposts.html">
<button class="btn btn-primary" type="button">All Posts</button>
</a>
</li>
</ul>
</div>
</div>
</nav>
<!--Login Modal-->
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-2">
<div class="modal fade" id="loginModal">
<div class="modal-dialog modal-dialog-center">
<div class="modal-content">
<div class="modal-header">
<h3>Login</h3>
</div>
<div class="modal-body">
<div class="alert alert-danger" id="loginError" role="alert">
Please enter your data first.
</div>
<label>Username</label><input id="loginUsername" type="text" class="form-control"/>
<label>Password</label><input type="password" class="form-control"/>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="login()">Login</button><br>
<a href="#" class="btn btn-primary"><i class="fa fa-facebook"> </i> Facebook</a>
<button type="button" class="btn btn-danger" data-dismiss="modal" onclick="closeLogin()">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Register Modal-->
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-2">
<div class="modal fade" id="registerModal">
<div class="modal-dialog modal-dialog-center">
<div class="modal-content">
<div class="modal-header">
<h3>Register</h3>
</div>
<div class="modal-body">
<div class="alert alert-danger" id="registerError" role="alert">
Please enter your data first.
</div>
<label>Username</label><input type="text" class="form-control"/>
<label>Password</label><input type="password" class="form-control"/>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="register()">Register</button><br>
<button type="button" class="btn btn-danger" data-dismiss="modal" onclick="closeRegister()">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ***************************************************************************************************************************** -->
<!-- BREADCRUMB -->
<!-- ***************************************************************************************************************************** -->
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">All Posts / 1</li>
</ol>
</nav>
<!-- ***************************************************************************************************************************** -->
<div id="progressBarHolder">
<h5>Loading data...</h5>
<div class="progress" id="progBar">
<div class="progress-bar" id="progBar0" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar" id="progBar25" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">25%</div>
<div class="progress-bar" id="progBar50" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">50%</div>
<div class="progress-bar" id="progBar75" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">75%</div>
<div class="progress-bar" id="progBar100" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">100%</div>
</div>
</div>
<br>
<div class="container" id="allPostsP1">
<div class="row">
<div class="col-lg-10 offset-1">
<!--**********************************************************************************************************-->
<!-- TOOL TIP ADDED ON ANCHOR -->
<!--**************************-->
<div class="row" style="margin-bottom: 50px;">
<div class="col-lg-4">
<h1> All Posts</h1>
</div>
</div>
<!-- CARDS (BOOKS) -->
<!--*****************************************-->
<!--************************** FIRST ROW ********************-->
<div class="row">
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#" class="cardimg"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/5126beRTBUL._SL300_.jpg"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">Harry Potter and the Deathly Hallows</a>
<span class="badge badge-secondary">New</span>
</h4>
<p class="card-text">Harry Potter Series|J.K.
</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ☆ ☆</small>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/51aTnsl0MPL._SL300_.jpg"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">A Game of Thrones
<span class="badge badge-secondary">New</span>
</a>
</h4>
<p class="card-text">Game of Thrones, consectetur adipisicing elit. Amet numquam
aspernatur!</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ★ ☆</small>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/51uLvJlKpNL._SL300_.jpg"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">The Hobbit</a>
<span class="badge badge-secondary">New</span>
</h4>
<p class="card-text">The Hobbit dolor sit amet, consectetur adipisicing elit. Amet
numquam
aspernatur!
</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ★ ★</small>
</div>
</div>
</div>
</div>
<!--**********************************************************************************************************-->
<!--************************** SECONRD ROW ********************-->
<div class="row">
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/511EkZ%2BB7vL._SL300_.jpg"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">Persepolis: The Story of a Childhood</a>
</h4>
<p class="card-text">Persepolis: The Story of a Childhood. Amet numquam aspernatur!
</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ★ ☆</small>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/7187F7F6XGL._SL300_.gif"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">The Odyssey</a>
</h4>
<p class="card-text">The Odyssey, consectetur adipisicing elit. Amet numquam aspernatur!
Lorem ipsum dolor sit amet.</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ☆ ☆</small>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/21i34nWGDZL._SL300_.jpg"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">Krotka Historia Prawie Wszystkiego</a>
</h4>
<p class="card-text">Krotka Historia Prawie Wszystkiego. Amet numquam aspernatur!
</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ★ ☆</small>
</div>
</div>
</div>
</div>
<!-- /.row -->
<!--**********************************************************************************************************-->
<!--************************** THIRD ROW ********************-->
<div class="row">
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/412w1Ct8ddL._SL300_.jpg"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">Brave New World B/F
</a>
</h4>
<p class="card-text">Brave New World B/F
. Amet numquam aspernatur!
</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ★ ☆</small>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/51uKL9IVuhL._SL300_.jpg"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">The Great Gatsby
</a>
</h4>
<p class="card-text">The Great Gatsby
, consectetur adipisicing elit. Amet numquam aspernatur!
Lorem ipsum dolor sit amet.</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ☆ ☆</small>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mb-4">
<div class="card h-100">
<a href="#"><img class="card-img-top"
src="https://images-na.ssl-images-amazon.com/images/I/61%2BKbxrnHxL._SL300_.jpg"
alt=""></a>
<div class="card-body">
<h4 class="card-title">
<a href="#">Their Eyes Were Watching God</a>
</h4>
<p class="card-text">Their Eyes Were Watching God. Amet numquam aspernatur!
</p>
</div>
<div class="card-footer">
<small class="text-muted">★ ★ ★ ★ ☆</small>
</div>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.col-lg-9 -->
<div class="col offset-5">
<nav aria-label="Page navigation example">
<ul class="pagination">
<li class="page-item">
<a class="page-link" href="allposts.html" aria-label="Previous">
<span aria-hidden="true">Start</span>
</a>
</li>
<li class="page-item"><a class="page-link" href="allposts.html" style="background-color: rgb(219, 218, 218);">1</a></li>
<li class="page-item"><a class="page-link" href="allposts2.html">2</a></li>
<li class="page-item"><a class="page-link" href="allposts3.html">3</a></li>
<li class="page-item">
<a class="page-link" href="allposts3.html" aria-label="Next">
<span aria-hidden="true">End</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container -->
<!-- ***************************************************************************************************************************** -->
<!--
FOOTER
***************
-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<footer class="py-5 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">Copyright © Your Website 2020</p>
</div>
<!-- /.container -->
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="js/login.js"></script>
<script src="js/register.js"></script>
<script src="js/progBar.js"></script>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
<script>
$(function () {
$('[data-toggle="popover"]').popover()
})
</script>
</body>
</html>