-
Notifications
You must be signed in to change notification settings - Fork 32
/
index.html
312 lines (290 loc) · 9.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="icon" type="image/x-icon" href="logo.png" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous" />
<!-- <link
rel="stylesheet"
href="https://bootswatch.com/4/flatly/bootstrap.min.css"
/> -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<title>BookList App</title>
</head>
<body>
<main class="container">
<!-- NAVIGATION BAR STARTS -->
<header id="navbar">
<div class="logo">
<img src="logo.png" alt="storebook logo">
<span class="s">Store</span> <span class="b">Book</span>
</div>
<div class="menutoggle"></div>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<div class="fixed"> </div>
</header>
<script src="https://code.jquery.com/jquery-3.5.1.js"
integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function () {
$('.menutoggle').click(function () {
$('.menutoggle').toggleClass('active')
$('nav').toggleClass('active')
})
})
</script>
<!-- NAVIGATION BAR ENDS -->
<header class="header text-center">
<h1>
<i class="fas fa-book"></i> <span style="color:black;">Store</span><span
style="color: rgb(255, 187, 0)">Book</span>
</h1>
<p id="description">Add some Books</p>
</header>
<form id="book-form">
<div class="form-group">
<label for="title">Title</label>
<input type="text" id="title" class="form-control" placeholder="Enter the Title" />
</div>
<div class="form-group">
<label for="author">Author</label>
<input type="text" id="author" class="form-control" placeholder="Name of the Author" />
</div>
<div class="form-group">
<label for="isbn">ISBN#</label>
<input type="text" id="isbn" class="form-control" placeholder="Enter the ISBN" />
</div>
<input type="submit" value="Add Book" class="btn btn-warning btn-block" />
</form>
<br />
<table class="table table-bordered table-dark">
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>ISBN#</th>
</tr>
</thead>
<tbody id="book-list"></tbody>
</table>
</main>
<!-- /.Outro -->
<script src="app.js"></script>
</body>
</html>
=======
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="icon" type="image/x-icon" href="logo.png" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&display=swap"
rel="stylesheet"
/>
<!-- <link
rel="stylesheet"
href="https://bootswatch.com/4/flatly/bootstrap.min.css"
/> -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous"
/>
<style>
body { background:url(background.jpeg); background-size: 100% 100%;}
</style>
<scr src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style.css" />
<title>BookList App</title>
</head>
<body>
<main class="container">
<header class="header text-center">
<h1>
<i class="fas fa-book"></i> <span style="color:black;">Store</span><span
style="color: rgb(255, 187, 0)"
>Book</span
>
</h1
<p id="description">Add some Books</p>
</header>
<form id="book-form">
<div class="form-group">
<label for="title">Title</label>
<input
type="text"
id="title"
class="form-control"
placeholder="Enter the Title"
/>
=======
<link rel="stylesheet" href="./style.css" />
<title>BookList App</title>
</head>
<body>
<div class="start">
<div class="svg">
<img src="./bookread.svg" alt="bookread" />
</div>
<div class="load-bar"></div>
</div>
<header>
<img src="./logo-white.svg" alt="StoreBook logo" class="logo" />
<div class="theme-switcher">
<div class="switch">
<img src="./moon.svg" alt="change theme" />
</div>
</div>
</header>
<main>
<div class="list">
<table>
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>ISBN</th>
</tr>
</thead>
<tbody id="book-list"></tbody>
</table>
</div>
<div class="add-button">
<button>+</button>
</div>
<div class="modal-container">
<div class="modal">
<div class="title">
<p>Add Book</p>
<button class="close">
<img src="./icon-cross.svg" alt="close" />
</button>
</div>
<form id="book-form">
<div class="form-group">
<label for="title">Title</label>
<input
type="text"
id="title"
maxlength="40"
placeholder="Enter the Title"
autocomplete="off"
/>
</div>
<div class="form-group">
<label for="author">Author</label>
<input
type="text"
id="author"
maxlength="20"
placeholder="Name of the Author"
autocomplete="off"
/>
</div>
<div class="form-group">
<label for="isbn">ISBN#</label>
<input
type="text"
id="isbn"
maxlength="13"
placeholder="ISBN"
autocomplete="off"
/>
</div>
</form>
<div class="action">
<button type="submit" value="Add Book" form="book-form">
Submit
</button>
</div>
</div>
<input
type="submit"
value="Add Book"
class="btn btn-warning btn-block"
/>
</form>
<br>
<form id="book-form" style="background-color: #4d004d">
<div class="form-group">
<label for="title">Search For Books</label>
<input
type="text"
id="input"
class="form-control"
placeholder="Enter the Title of the book"
onkeyup="search()"
/>
</div>
</form>
<br>
<table class="table table-bordered table-dark">
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>ISBN#</th>
</tr>
</thead>
<tbody id="book-list"></tbody>
</table>
=======
</div>
</main>
<!-- /.Outro -->
<script src="app.js"></script>
<div id="footer">
<footer class="footer text-center">
<br><hr width="95%" color="grey">
<h4>
<i class="fas fa-book"></i> <span style="color:black;">Store</span><span style="color: rgb(255, 187, 0)">Book</span>
</h4>
<p class="font-weight-normal font-small mb-0" style="text-align:center;">
Copyright © StoreBook | All rights reserved.
</p>
<br>
</footer>
</div>
=======
<script src="./app.js"></script>
</body>
</html>