-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
532 lines (467 loc) · 21.8 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
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
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
<!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/main.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>
<!-- Page Content -->
<!--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>
<!-- JUMBOTRON -->
<!-- ****************************************************************************************** -->
<div class="jumbotron jumbotron-fluid bg-dark">
<div class="jumbotron-background">
<img src="https://placeimg.com/2000/1000/nature" class="blur ">
</div>
<div class="container text-white">
<h1 class="display-4">Welcome To Book Review</h1>
<p class="lead">In Book Review you will be able to find reviews and ratings about your favorite book</p>
<hr class="my-4">
<p>Book Review is not just about finding reviews, its alse about discovering new amazing books based on your
prefrences</p>
</div>
<!-- /.container -->
</div>
<!-- /.jumbotron -->
<div class="container">
<div class="row">
<div class="col-lg-3">
<!-- ***************************************************************************************************************************** -->
<!-- BREADCRUMB -->
<!-- ***************************************************************************************************************************** -->
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item active" aria-current="page">Home</li>
</ol>
</nav>
<!-- ***************************************************************************************************************************** -->
<!-- Button Group (Book Categories) -->
<!-- ***************************************************************************************************************************** -->
<h1 class="my-4">Categories</h1>
<div class="btn-group-vertical" role="group" aria-label="Basic example">
<!-- Tool tips on buttons -->
<!-- ****************************************************************************************** -->
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Sci-Fi & Fantasy</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">History</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Literature & Fiction</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Science & Math</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Hobbies & Crafts</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Medical</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Self-Help</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Travel</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Sports</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Romance</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Cooking</button>
<button type="button" class="btn btn-secondary btncat" data-toggle="tooltip" data-placement="auto"
title="Click here">Biographies</button>
</div>
</div>
<!-- ********************************************************************************************************************* -->
<!-- CAROUSEL -->
<!-- ******************************************************************************************************************* -->
<div class="col-lg-9" style="margin-bottom: 100px;">
<div id="carouselExampleIndicators" class="carousel slide my-4" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block img-fluid" src="Assets/images/Carosel1.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid" src="Assets/images/Carosel2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid" src="Assets/images/Carosel3.jpg" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<!--**********************************************************************************************************-->
<!-- TOOL TIP ADDED ON ANCHOR -->
<!--**************************-->
<div class="row">
<div class="col-lg-4">
<a href="#">
<h3 data-toggle="tooltip" data-placement="top" title="Click to go to Sci-fi & Fantasy Category">Sci-fi &
Fantasy</h3>
</a>
</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>
</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
</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>
</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>
<!--**********************************************************************************************************-->
<!-- TOOL TIP ADDED ON ANCHOR -->
<!--**************************-->
<div class="row">
<a href="#">
<h3 data-toggle="tooltip" data-placement="top" title="Click to go to History Category">History</h3>
</a>
</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 -->
<!--**********************************************************************************************************-->
<!-- TOOL TIP ADDED ON ANCHOR -->
<!--**************************-->
<div class="row">
<a href="#">
<h3 data-toggle="tooltip" data-placement="top" title="Click to go to Literature & Fiction Category">
Literature & Fiction</h3>
</a>
</div>
<!--************************** 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>
<!-- /.row -->
</div>
<!-- /.container -->
<hr/><br><br>
<!-- /. site Reviews-->
<div id="siteReviews" class="container" data-toggle="popover" data-placement="top" data-content="You will find our users' reviews here">
<div class="text-center">
<h3 class="btn-block" id="reviewsHeader" type="button" data-toggle="collapse" data-target="#collapseOne"
aria-expanded="true" aria-controls="collapseOne">User reviews about our site</h3>
</div>
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne">
<div class="media" class="movingLeft">
<div class="media-left">
<img src="Assets/images/userIcon.png" class="media-object" style="width:30px">
</div>
<div class="media-body ">
<h4 class="media-heading">John Michel <small><i>Posted on April 29, 2020</i></small></h4>
<p>I really like the site as it provides very great books.</p>
<!-- Nested media object -->
<div class="media">
<div class="media-left">
<img src="Assets/images/userIcon.png" class="media-object" style="width:30px">
</div>
<div class="media-body">
<h4 class="media-heading">Alfred Lewis<small><i>Posted on April 30, 2020</i></small></h4>
<p>Same, I really liked them. </p>
</div>
</div>
</div>
</div>
<div class="media" class="movingLeft">
<div class="media-left">
<img src="Assets/images/userIcon.png" class="media-object" style="width:30px">
</div>
<div class="media-body ">
<h4 class="media-heading">Alvaro Morata <small><i>Posted on May 1, 2020</i></small></h4>
<p>Cool site.</p>
</div>
</div>
<div class="media" class="movingLeft">
<div class="media-left">
<img src="Assets/images/userIcon.png" class="media-object" style="width:30px">
</div>
<div class="media-body ">
<h4 class="media-heading">Trimo Vega <small><i>Posted on May 1, 2020</i></small></h4>
<p>Nice.</p>
</div>
</div>
</div>
</div>
<!--
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 © Book-Reviews 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>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
<script>
$(function () {
$('[data-toggle="popover"]').popover()
})
</script>
</body>
</html>