-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
executable file
·431 lines (393 loc) · 27.9 KB
/
admin.html
File metadata and controls
executable file
·431 lines (393 loc) · 27.9 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Your Name - HomeBooks</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link rel="stylesheet" href="assets/main.css">
<!--<link rel="stylesheet" href="assets/responsive.css">
<link rel="stylesheet" href="assets/dynamic.css">-->
<!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>-->
<style type="text/css">
.st0 {
fill: #Fa6330;
}
.st1 {
fill: #0078d7;
}
.st2 {
fill: #232424;
}
.st3 {
fill: #7a7a7a;
}
.q_logo a:hover .st0,
.q_logo a:focus .st0,
.q_logo a:focus .st1,
.q_logo a:hover .st1 {
-ms-animation-duration: 4s;
-o-animation-duration: 4s;
-webkit-animation-duration: 4s;
animation-duration: 4s;
-ms-animation-timing-function: ease-in-out;
-o-animation-timing-function: ease-in-out;
-webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out;
}
.q_logo a:hover .st0,
.q_logo a:focus .st0 {
-ms-animation-name: animateLogoLeft;
-o-animation-name: animateLogoLeft;
-webkit-animation-name: animateLogoLeft;
animation-name: animateLogoLeft;
}
.q_logo a:hover .st1,
.q_logo a:focus .st1 {
-ms-animation-name: animateLogoRight;
-o-animation-name: animateLogoRight;
-webkit-animation-name: animateLogoRight;
animation-name: animateLogoRight;
}
@keyframes animateLogoLeft {
0% {
-o-transform: none;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
50% {
-o-transform: translateY(16px);
-webkit-transform: translateY(16px);
-ms-transform: translateY(16px);
transform: translateY(16px);
}
100% {
-o-transform: none;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
}
@keyframes animateLogoRight {
0% {
-o-transform: none;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
25% {
-o-transform: translateX(32px);
-webkit-transform: translateX(32px);
-ms-transform: translateX(32px);
transform: translateX(32px);
}
50% {
-o-transform: translateX(32px) rotate(3.5deg);
-webkit-transform: translateX(32px) rotate(3.5deg);
-ms-transform: translateX(32px) rotate(3.5deg);
transform: translateX(32px) rotate(3.5deg);
}
75% {
-o-transform: translateX(32px) rotate(-3.5deg);
-webkit-transform: translateX(32px) rotate(-3.5deg);
-ms-transform: translateX(32px) rotate(-3.5deg);
transform: translateX(32px) rotate(-3.5deg);
}
100% {
-o-transform: none;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
}
</style>
</head>
<body>
<div id="main">
<div class="layout">
<div class="layout--header">
<header class="header">
<div class="container">
<div class="header--inner">
<div class="row vertical-align">
<div class="col-lg-2 col-md-2">
<div class="header--logo q_logo">
<a href="">
<svg id="web-logo" viewBox="0 -65 1300 300">
<g>
<path class="st0" d="M4 4v160h447V4H4zM78 133H63V93H34v40H18V34h16v40h29V34h15V133zM107.9 70.8c0.9 2.6 2.3 4.5 4.1 5.4l33.4 16.6c1.9 1 5.1 1.2 7.1 0.5l56.4-20.1c2-0.7 4 1.2 4.4 4.3 0.5 3.1 0.8 5.6 0.8 5.6l-62 22.1c-2 0.7-5.2 0.5-7.1-0.5 -8.4-4.2-29.1-14.5-29.1-14.5 -3.7-1.8-7.7 1.3-8.8 7.1 -0.6 2.8-0.4 5.7 0.4 8.3 0.9 2.6 2.3 4.5 4.1 5.4l33.4 16.6c1.9 1 5.1 1.2 7.1 0.5l56.4-20.1c2-0.7 4 1.2 4.4 4.3 0.5 3.1 0.8 5.6 0.8 5.6l-62 22.1c-2 0.7-5.2 0.5-7.1-0.5 -8.4-4.2-28.8-14.3-28.8-14.3l-11.1-7.1c-1.6-1.9-2.9-4.4-3.9-7.2 -1.8-5.3-2.1-11.4-0.9-17.1 0.9-4.5 2.6-8.1 4.9-10.8 -1.5-1.9-2.7-4.2-3.6-7 -1.8-5.3-2.1-11.4-0.9-17.1 2-9.9 8.1-16 14.5-15.5l49-14.8c4-1.2 10.5-1.5 14.5-0.6l36.6 8c0.1 0 0.2-0.1 0.3-0.1l1.4 11.3c-0.4 0.1-38.8 12-56.6 18.9 -14.1 5.4-22 0.9-23.7-0.2L116 55.3c-3.6-1.8-7.6 1.4-8.8 7.1C106.8 65.3 107 68.3 107.9 70.8zM269.6 41.1c-0.7 2.7-2.5 9.5-5.4 20.4 -2.2 7.9-3.8 16.4-4.9 25.7 -1.1 9.3-1.7 16.6-1.7 21.8 0 5.6 0.4 12.2 1.3 19.9 0.2 2.1 0.3 3.4 0.3 3.9 0 2.6-1 4.9-2.9 6.8s-4 2.8-6.3 2.8c-3.1 0-5.3-1.5-6.6-4.4 -1.3-2.9-1.9-8-1.9-15.2 0-15.4 1.8-33.6 5.4-54.5s6.6-33.3 8.9-37c2.3-3.8 4.9-5.7 7.7-5.7 4.7 0 7.1 2.6 7.1 7.8C270.6 35.8 270.3 38.3 269.6 41.1zM322.8 41.1c-0.7 2.7-2.5 9.5-5.4 20.4 -2.2 7.9-3.8 16.4-4.9 25.7 -1.1 9.3-1.7 16.6-1.7 21.8 0 5.6 0.4 12.2 1.3 19.9 0.2 2.1 0.3 3.4 0.3 3.9 0 2.6-1 4.9-2.9 6.8s-4 2.8-6.3 2.8c-3.1 0-5.3-1.5-6.6-4.4 -1.3-2.9-1.9-8-1.9-15.2 0-15.4 1.8-33.6 5.4-54.5s6.6-33.3 8.9-37c2.3-3.8 4.9-5.7 7.7-5.7 4.7 0 7.1 2.6 7.1 7.8C323.7 35.8 323.4 38.3 322.8 41.1zM422.5 119.3c-8.6 9.1-19.9 13.6-33.8 13.6 -13.5 0-24.6-4.4-33.1-13.2 -8.5-8.8-12.8-20.3-12.8-34.4 0-14.9 4.3-27 13-36.3 8.7-9.2 20.1-13.8 34.4-13.8 13.5 0 24.4 4.4 32.7 13.2 8.3 8.8 12.5 20.5 12.5 34.9C435.4 98.3 431.1 110.1 422.5 119.3z"
/>
<path class="st0" d="M389.6 53.4c-7.5 0-13.4 2.8-17.8 8.4s-6.6 13-6.6 22.2c0 9.4 2.2 16.8 6.6 22.2 4.4 5.4 10.2 8.2 17.3 8.2 7.3 0 13.2-2.6 17.5-7.9s6.5-12.6 6.5-22c0-9.8-2.1-17.4-6.3-22.9C402.6 56.3 396.8 53.4 389.6 53.4z"
/>
</g>
<g>
<path class="st1" d="M452.8 162.8V5.3h57.3c17.6 0 31.1 3.2 40.5 9.7 9.4 6.4 14.2 15.5 14.2 27.2 0 8.5-2.9 15.9-8.6 22.3 -5.7 6.4-13.1 10.8-22 13.3v0.4c11.2 1.4 20.1 5.5 26.8 12.4s10 15.3 10 25.1c0 14.4-5.2 25.9-15.5 34.3 -10.3 8.5-24.4 12.7-42.3 12.7h-60.4V162.8zM488.3 31.4v37.3h15.6c7.3 0 13.1-1.8 17.3-5.3s6.3-8.4 6.3-14.7c0-11.6-8.6-17.3-25.9-17.3H488.3zM488.3 95v41.5h19.2c8.2 0 14.6-1.9 19.3-5.7 4.6-3.8 7-9 7-15.6 0-6.3-2.3-11.2-6.9-14.8 -4.6-3.6-11-5.4-19.2-5.4H488.3z"
/>
<path class="st1" d="M663.5 165.4c-22.5 0-40.9-7.3-55.1-22 -14.2-14.7-21.3-33.8-21.3-57.4 0-24.9 7.2-45 21.6-60.4C623.1 10.3 642.2 2.5 666 2.5c22.5 0 40.6 7.4 54.5 22.1s20.8 34.1 20.8 58.2c0 24.7-7.2 44.7-21.6 59.8C705.4 157.8 686.7 165.4 663.5 165.4zM665.1 33.1c-12.4 0-22.3 4.7-29.6 14s-11 21.7-11 37.1c0 15.6 3.7 27.9 11 37s16.9 13.6 28.8 13.6c12.2 0 21.9-4.4 29.1-13.2 7.2-8.8 10.8-21.1 10.8-36.7 0-16.3-3.5-29-10.4-38.1C686.7 37.8 677.1 33.1 665.1 33.1z"
/>
<path class="st1" d="M834 165.4c-22.5 0-40.9-7.3-55.1-22 -14.2-14.7-21.3-33.8-21.3-57.4 0-24.9 7.2-45 21.6-60.4 14.4-15.4 33.5-23.1 57.3-23.1 22.5 0 40.6 7.4 54.5 22.1s20.8 34.1 20.8 58.2c0 24.7-7.2 44.7-21.6 59.8C875.9 157.8 857.2 165.4 834 165.4zM835.6 33.1c-12.4 0-22.3 4.7-29.6 14s-11 21.7-11 37.1c0 15.6 3.7 27.9 11 37s16.9 13.6 28.8 13.6c12.2 0 21.9-4.4 29.1-13.2 7.2-8.8 10.8-21.1 10.8-36.7 0-16.3-3.5-29-10.4-38.1C857.2 37.8 847.6 33.1 835.6 33.1z"
/>
<path class="st1" d="M1068.9 162.8h-44.8l-45.9-68.4c-0.9-1.3-2.3-4.2-4.2-8.7h-0.5v77.1H938V5.3h35.5v74.4h0.5c0.9-2 2.3-5 4.4-8.8l43.5-65.7h42.3l-54.9 75.1L1068.9 162.8z"
/>
<path class="st1" d="M1076.7 156.6v-35.1c6.4 5.3 13.3 9.4 20.8 12 7.5 2.7 15 4 22.6 4 4.5 0 8.4-0.4 11.7-1.2 3.3-0.8 6.1-1.9 8.3-3.3 2.2-1.4 3.9-3.1 5-5.1 1.1-1.9 1.6-4 1.6-6.3 0-3.1-0.9-5.8-2.6-8.2s-4.2-4.6-7.2-6.7c-3-2-6.6-4-10.8-5.9 -4.2-1.9-8.7-3.8-13.5-5.8 -12.3-5.1-21.5-11.4-27.5-18.8S1076 60 1076 49.5c0-8.2 1.6-15.2 4.9-21.1s7.8-10.7 13.4-14.5c5.7-3.8 12.2-6.6 19.7-8.4s15.4-2.7 23.7-2.7c8.2 0 15.5 0.5 21.8 1.5s12.2 2.5 17.5 4.6v32.8c-2.6-1.8-5.5-3.4-8.6-4.8s-6.3-2.5-9.6-3.5c-3.3-0.9-6.6-1.6-9.8-2 -3.3-0.4-6.4-0.7-9.3-0.7 -4 0-7.7 0.4-11 1.2 -3.3 0.8-6.1 1.8-8.3 3.2 -2.3 1.4-4 3.1-5.3 5 -1.2 1.9-1.9 4.1-1.9 6.5 0 2.6 0.7 5 2.1 7.1s3.4 4.1 5.9 5.9c2.6 1.9 5.7 3.7 9.3 5.5 3.7 1.8 7.8 3.6 12.4 5.5 6.3 2.6 11.9 5.4 17 8.4 5 3 9.3 6.3 12.9 10s6.3 8 8.2 12.8c1.9 4.8 2.9 10.4 2.9 16.7 0 8.8-1.7 16.2-5 22.1 -3.3 6-7.8 10.8-13.6 14.5 -5.7 3.7-12.4 6.4-19.9 8 -7.6 1.6-15.6 2.4-24 2.4 -8.6 0-16.9-0.7-24.6-2.2S1082.4 159.6 1076.7 156.6z"
/>
</g>
</svg>
</a>
</div>
</div>
<div class="col-lg-10 col-md-10">
<div class="header--right">
<nav class="header-nav">
<div class="header-nav--inner">
<ul class="menu">
<li class="menu-item">
<a href="#">Home</a>
</li>
<li class="menu-item">
<a href="view_lib.html">View Library</a>
</li>
<li class="menu-item menu-item-Usr" onclick="shwUsrProfile()">
<a class="usrBtn">Profile</a>
<div id="profile-stuff" class="profile-dropdown">
<ul class="sub-menu">
<li><a href="user_profile.html">Profile</a></li>
<li><a href="#">Messages</a></li>
<li><a href="#">Add Book</a></li>
<li><a href="#">Logout</a></li>
</ul>
</div>
</li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
<div class="header--menu-opener">
<span id="hamburger" class="c-hamburger c-hamburger--htx visible-xs-block visible-sm-block">
<span>toggle menu</span>
</span>
</div>
</header>
</div>
<div id="page-content">
<div class="layout--container">
<div class="layout-header">
<div class="container">
<h1 class="page_header--title">Angel of Hope</span>
</h1>
</div>
</div>
<nav class="breadcrumbs">
<div class="container">
<ul class="breadcrumbs--list">
<li class="breadcrumbs--item"><a href="#" class="breadcrumbs--link -active">Home</a></li>
</ul>
</div>
</nav>
<div class="section">
<div class="container">
<div class="innerSection">
<div class="row">
<div class="col-sm-4">
</div>
<div class="col-sm-6 col-md-offset-2">
<div class="row">
<table class="athble">
<tr>
<td style="min-width:10px">Authors:</td>
<td class="authors"><a href="#" class="book-searchable">Lurlene McDaniel</a></td>
</tr>
</table>
</div>
<div class="row" style="padding-top:30px;padding-left:10px">Description:
<p style="padding-top:10px;">Book description here</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section_divider"></div>
<div class="section">
<div class="container">
<p> You have borrowed this book
<span style="color:#Fa6330">2</span> times,
<a href="book_review.html" style="color:#33c330;font-style:italic">Review?</a>
</p>
<p>Most recent time borrowed was on: <span style="color:#Fa6330">24th June, 2017</span></p>
<p>There are <span style="color:#Fa6330">2</span> Versions of this book available</p>
<button class="btn" onclick="borrowBookModal()">Borrow Book</button>
<button class="btn has-tooltip" onclick="borrowBookModal()" disabled>Borrow Book
<span class="tool-tiptext">Book not available</span></button></div>
</div>
<div class="section -pattern -light">
<div class="container">
Book rating:
</div>
</div>
<div class="layout--footer">
<footer class="footer">
<div class="footer--inner">
<div class="container">
<div class="footer-copyrights">
<div class="footer-copyrights--container">
<div class="row">
<div class="col-sm-6 col-xs-12">
<div class="footer-copyrights--item">
<div class="footer-copyrights--logo">
<svg viewBox="0 0 1230 260">
<g>
<path class="st2" d="M4 4v160h447V4H4zM78 133H63V93H34v40H18V34h16v40h29V34h15V133zM107.9 70.8c0.9 2.6 2.3 4.5 4.1 5.4l33.4 16.6c1.9 1 5.1 1.2 7.1 0.5l56.4-20.1c2-0.7 4 1.2 4.4 4.3 0.5 3.1 0.8 5.6 0.8 5.6l-62 22.1c-2 0.7-5.2 0.5-7.1-0.5 -8.4-4.2-29.1-14.5-29.1-14.5 -3.7-1.8-7.7 1.3-8.8 7.1 -0.6 2.8-0.4 5.7 0.4 8.3 0.9 2.6 2.3 4.5 4.1 5.4l33.4 16.6c1.9 1 5.1 1.2 7.1 0.5l56.4-20.1c2-0.7 4 1.2 4.4 4.3 0.5 3.1 0.8 5.6 0.8 5.6l-62 22.1c-2 0.7-5.2 0.5-7.1-0.5 -8.4-4.2-28.8-14.3-28.8-14.3l-11.1-7.1c-1.6-1.9-2.9-4.4-3.9-7.2 -1.8-5.3-2.1-11.4-0.9-17.1 0.9-4.5 2.6-8.1 4.9-10.8 -1.5-1.9-2.7-4.2-3.6-7 -1.8-5.3-2.1-11.4-0.9-17.1 2-9.9 8.1-16 14.5-15.5l49-14.8c4-1.2 10.5-1.5 14.5-0.6l36.6 8c0.1 0 0.2-0.1 0.3-0.1l1.4 11.3c-0.4 0.1-38.8 12-56.6 18.9 -14.1 5.4-22 0.9-23.7-0.2L116 55.3c-3.6-1.8-7.6 1.4-8.8 7.1C106.8 65.3 107 68.3 107.9 70.8zM269.6 41.1c-0.7 2.7-2.5 9.5-5.4 20.4 -2.2 7.9-3.8 16.4-4.9 25.7 -1.1 9.3-1.7 16.6-1.7 21.8 0 5.6 0.4 12.2 1.3 19.9 0.2 2.1 0.3 3.4 0.3 3.9 0 2.6-1 4.9-2.9 6.8s-4 2.8-6.3 2.8c-3.1 0-5.3-1.5-6.6-4.4 -1.3-2.9-1.9-8-1.9-15.2 0-15.4 1.8-33.6 5.4-54.5s6.6-33.3 8.9-37c2.3-3.8 4.9-5.7 7.7-5.7 4.7 0 7.1 2.6 7.1 7.8C270.6 35.8 270.3 38.3 269.6 41.1zM322.8 41.1c-0.7 2.7-2.5 9.5-5.4 20.4 -2.2 7.9-3.8 16.4-4.9 25.7 -1.1 9.3-1.7 16.6-1.7 21.8 0 5.6 0.4 12.2 1.3 19.9 0.2 2.1 0.3 3.4 0.3 3.9 0 2.6-1 4.9-2.9 6.8s-4 2.8-6.3 2.8c-3.1 0-5.3-1.5-6.6-4.4 -1.3-2.9-1.9-8-1.9-15.2 0-15.4 1.8-33.6 5.4-54.5s6.6-33.3 8.9-37c2.3-3.8 4.9-5.7 7.7-5.7 4.7 0 7.1 2.6 7.1 7.8C323.7 35.8 323.4 38.3 322.8 41.1zM422.5 119.3c-8.6 9.1-19.9 13.6-33.8 13.6 -13.5 0-24.6-4.4-33.1-13.2 -8.5-8.8-12.8-20.3-12.8-34.4 0-14.9 4.3-27 13-36.3 8.7-9.2 20.1-13.8 34.4-13.8 13.5 0 24.4 4.4 32.7 13.2 8.3 8.8 12.5 20.5 12.5 34.9C435.4 98.3 431.1 110.1 422.5 119.3z"
/>
<path class="st2" d="M389.6 53.4c-7.5 0-13.4 2.8-17.8 8.4s-6.6 13-6.6 22.2c0 9.4 2.2 16.8 6.6 22.2 4.4 5.4 10.2 8.2 17.3 8.2 7.3 0 13.2-2.6 17.5-7.9s6.5-12.6 6.5-22c0-9.8-2.1-17.4-6.3-22.9C402.6 56.3 396.8 53.4 389.6 53.4z"
/>
</g>
<g>
<path class="st3" d="M452.8 162.8V5.3h57.3c17.6 0 31.1 3.2 40.5 9.7 9.4 6.4 14.2 15.5 14.2 27.2 0 8.5-2.9 15.9-8.6 22.3 -5.7 6.4-13.1 10.8-22 13.3v0.4c11.2 1.4 20.1 5.5 26.8 12.4s10 15.3 10 25.1c0 14.4-5.2 25.9-15.5 34.3 -10.3 8.5-24.4 12.7-42.3 12.7h-60.4V162.8zM488.3 31.4v37.3h15.6c7.3 0 13.1-1.8 17.3-5.3s6.3-8.4 6.3-14.7c0-11.6-8.6-17.3-25.9-17.3H488.3zM488.3 95v41.5h19.2c8.2 0 14.6-1.9 19.3-5.7 4.6-3.8 7-9 7-15.6 0-6.3-2.3-11.2-6.9-14.8 -4.6-3.6-11-5.4-19.2-5.4H488.3z"
/>
<path class="st3" d="M663.5 165.4c-22.5 0-40.9-7.3-55.1-22 -14.2-14.7-21.3-33.8-21.3-57.4 0-24.9 7.2-45 21.6-60.4C623.1 10.3 642.2 2.5 666 2.5c22.5 0 40.6 7.4 54.5 22.1s20.8 34.1 20.8 58.2c0 24.7-7.2 44.7-21.6 59.8C705.4 157.8 686.7 165.4 663.5 165.4zM665.1 33.1c-12.4 0-22.3 4.7-29.6 14s-11 21.7-11 37.1c0 15.6 3.7 27.9 11 37s16.9 13.6 28.8 13.6c12.2 0 21.9-4.4 29.1-13.2 7.2-8.8 10.8-21.1 10.8-36.7 0-16.3-3.5-29-10.4-38.1C686.7 37.8 677.1 33.1 665.1 33.1z"
/>
<path class="st3" d="M834 165.4c-22.5 0-40.9-7.3-55.1-22 -14.2-14.7-21.3-33.8-21.3-57.4 0-24.9 7.2-45 21.6-60.4 14.4-15.4 33.5-23.1 57.3-23.1 22.5 0 40.6 7.4 54.5 22.1s20.8 34.1 20.8 58.2c0 24.7-7.2 44.7-21.6 59.8C875.9 157.8 857.2 165.4 834 165.4zM835.6 33.1c-12.4 0-22.3 4.7-29.6 14s-11 21.7-11 37.1c0 15.6 3.7 27.9 11 37s16.9 13.6 28.8 13.6c12.2 0 21.9-4.4 29.1-13.2 7.2-8.8 10.8-21.1 10.8-36.7 0-16.3-3.5-29-10.4-38.1C857.2 37.8 847.6 33.1 835.6 33.1z"
/>
<path class="st3" d="M1068.9 162.8h-44.8l-45.9-68.4c-0.9-1.3-2.3-4.2-4.2-8.7h-0.5v77.1H938V5.3h35.5v74.4h0.5c0.9-2 2.3-5 4.4-8.8l43.5-65.7h42.3l-54.9 75.1L1068.9 162.8z"
/>
<path class="st3" d="M1076.7 156.6v-35.1c6.4 5.3 13.3 9.4 20.8 12 7.5 2.7 15 4 22.6 4 4.5 0 8.4-0.4 11.7-1.2 3.3-0.8 6.1-1.9 8.3-3.3 2.2-1.4 3.9-3.1 5-5.1 1.1-1.9 1.6-4 1.6-6.3 0-3.1-0.9-5.8-2.6-8.2s-4.2-4.6-7.2-6.7c-3-2-6.6-4-10.8-5.9 -4.2-1.9-8.7-3.8-13.5-5.8 -12.3-5.1-21.5-11.4-27.5-18.8S1076 60 1076 49.5c0-8.2 1.6-15.2 4.9-21.1s7.8-10.7 13.4-14.5c5.7-3.8 12.2-6.6 19.7-8.4s15.4-2.7 23.7-2.7c8.2 0 15.5 0.5 21.8 1.5s12.2 2.5 17.5 4.6v32.8c-2.6-1.8-5.5-3.4-8.6-4.8s-6.3-2.5-9.6-3.5c-3.3-0.9-6.6-1.6-9.8-2 -3.3-0.4-6.4-0.7-9.3-0.7 -4 0-7.7 0.4-11 1.2 -3.3 0.8-6.1 1.8-8.3 3.2 -2.3 1.4-4 3.1-5.3 5 -1.2 1.9-1.9 4.1-1.9 6.5 0 2.6 0.7 5 2.1 7.1s3.4 4.1 5.9 5.9c2.6 1.9 5.7 3.7 9.3 5.5 3.7 1.8 7.8 3.6 12.4 5.5 6.3 2.6 11.9 5.4 17 8.4 5 3 9.3 6.3 12.9 10s6.3 8 8.2 12.8c1.9 4.8 2.9 10.4 2.9 16.7 0 8.8-1.7 16.2-5 22.1 -3.3 6-7.8 10.8-13.6 14.5 -5.7 3.7-12.4 6.4-19.9 8 -7.6 1.6-15.6 2.4-24 2.4 -8.6 0-16.9-0.7-24.6-2.2S1082.4 159.6 1076.7 156.6z"
/>
</g>
</svg>
</div>
</div>
</div>
<div class="col-sm-6 col-xs-12">
<div class="footer-copyrights--item">
<p class="footer-copyrights--item_copyrights">Hello Books ©2017. All Rights Reserved.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
</div>
</div>
</div>
</div>
<div id="msg-modal" class="modal">
<div class="modal-content">
<div class="modal-header">
<span class="close" id="closebtn" onclick="clsbtn()">×</span>
<h2 id="modal-head">Borrow Book:</h2>
</div>
<div class="modal-body" id="modal-body">
<p>Your membership level does not enable you borrow this book at the moment</p>
<p>You have borrowed maximum number of books available to you</p>
<a href="membership.html"><button class="btn">Upgrade Membership</button></a>
<p>--Or--</p>
<a href="user_profile.html"><button class="btn">Return Books</button></a>
</div>
</div>
</div>
<script type="text/javascript">
//JQuery scripts
$(function () {
if ($('.c-hamburger').length) { //for nav menu
const toggleHandler = function toggleHandler(toggle) {
toggle.addEventListener('click', function (e) {
e.preventDefault();
this.classList.contains('is-active') === true ? this.classList.remove(
'is-active') : this.classList.add('is-active');
$('.header-nav .menu').slideToggle();
});
};
const toggles = document.querySelectorAll('.c-hamburger');
for (let i = toggles.length - 1; i >= 0; i--) {
const toggle = toggles[i];
toggleHandler(toggle);
};
}
$('#chk_all').change(function () {
if ($('#chk_all').prop('checked')) { //if checked
$('.checkbox').prop('checked', false);
$('.checkbox').attr('disabled', true);
$('#chk_all').attr('disabled', false);
$('#chk_all').prop('checked', true);
} else {
$('.checkbox').attr('disabled', false);
}
});
});
</script>
<script type="text/javascript ">
let msgModalBox = document.getElementById('msg-modal');
let closebtn = document.getElementById('closebtn');
function clsbtn() {
msgModalBox.style.display = "none";
}
function borrowBookModal() {
//let msgSubject = msgText.getElementsByTagName('td')[0].innerHTML;
//let msgTextmsg = msgText.getElementsByTagName('td')[1].innerHTML;
//document.getElementById('modal-head').innerHTML = 'Subject: ' + msgSubject;
//document.getElementById('modal-body').innerHTML = '<p>' + msgTextmsg + '</p>';
msgModalBox.style.display = "block";
}
function msgModal(msgText) {
let msgSubject = msgText.getElementsByTagName('td')[0].innerHTML;
let msgTextmsg = msgText.getElementsByTagName('td')[1].innerHTML;
document.getElementById('modal-head').innerHTML = 'Subject: ' + msgSubject;
document.getElementById('modal-body').innerHTML = '<p>' + msgTextmsg + '</p>';
msgModalBox.style.display = "block";
}
function bookSearch(searchField) {
// Declare found as default false
let found = false;
//convert method's value to uppercase
const filterSearch = searchField.value.toUpperCase();
//get HTML of entire table
const tableSearch = document.getElementById('all-books-table');
//return indexed HTML of columns in the tbody tag
const tbodySearch = tableSearch.getElementsByTagName('tbody');
const trSearch = tbodySearch[0].getElementsByTagName('tr');
// Loop through all table rows, and hide those who don't match the search query
for (let i = 0; i < trSearch.length; i++) {
//Search through all elements that have been classed for searching
let tSearch = trSearch[i].getElementsByClassName('book-searchable');
for (let j = 0; j < tSearch.length; j++) {
if (tSearch[j].innerHTML.toUpperCase().includes(filterSearch) == true) {
found = true;
}
}
if (found) {
trSearch[i].style.display = " ";
found = false;
} else {
trSearch[i].style.display = "none";
}
}
}
function shwUsrProfile() { //if profile is clicked
document.getElementById('profile-stuff').classList.toggle('show');
}
window.onclick = function (event) { //if any part of window is clicked
if (event.target.matches('msgModalBox')) {
msgModalBox.style.display = "none";
}
if (!event.target.matches('.usrBtn') && !event.target.matches('.menu-item-Usr')) { //if outside the profile is clicked
const dropdowns = document.getElementsByClassName('profile-dropdown');
for (let i = 0; i < dropdowns.length; i++) {
let openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) { //show or hide that menu
openDropdown.classList.remove('show');
}
}
}
}
</script>
</body>