-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
232 lines (227 loc) · 7.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Awsome Books</title>
<link rel="stylesheet" href="./assets/css/styles.css" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
crossorigin="anonymous"
></script>
<script
src="https://kit.fontawesome.com/c06d1ae656.js"
crossorigin="anonymous"
></script>
<script src="https://cdn.jsdelivr.net/npm/luxon@2.2.0/build/global/luxon.min.js"></script>
</head>
<body>
<header>
<nav
class="navbar navbar-expand-lg bg-body-tertiary bg-dark border-bottom border-bottom-dark"
id="navigationBar"
data-bs-theme="dark"
>
<div class="container-fluid">
<a id="awsomeBooksHome" class="navbar-brand fs-2" href="#"
>Awsome Books</a
>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div
class="collapse navbar-collapse justify-content-end"
id="navbarNavAltMarkup"
>
<ul class="navbar-nav gap-5">
<li class="nav-item">
<a
id="addBookLink"
class="nav-link active text-light fs-5"
aria-current="page"
href="#"
>Add Book</a
>
</li>
<li class="nav-item">
<a
id="showListLink"
class="nav-link text-light fs-5"
aria-current="page"
href="#"
>Show List</a
>
</li>
<li class="nav-item">
<a
id="contactLink"
class="nav-link text-light fs-5"
aria-current="page"
href="#"
>Contact</a
>
</li>
</ul>
</div>
</div>
</nav>
</header>
<h1 class="text-center mt-5 text-light">AWSOME BOOKS APPLICATION</h1>
<div class="container">
<div class="d-flex justify-content-center">
<form class="w-50 my-5" id="bookForm">
<div class="form-group">
<label class="fw-bold my-2 text-light" for="bookName"
>Book Name</label
>
<input
type="text"
class="form-control"
id="bookName"
placeholder="Enter book name"
/>
</div>
<div class="form-group">
<label class="fw-bold my-2 text-light" for="bookAuthor"
>Book Author</label
>
<input
type="text"
class="form-control"
id="bookAuthor"
placeholder="Enter book author"
/>
</div>
<button type="submit" class="btn btn-primary my-3">Add Book</button>
<span id="inputError" class="error"></span>
</form>
</div>
</div>
<div class="container p-3">
<table class="table table-responsive">
<thead id="table-head" class="table-dark">
<tr>
<th>Book Name</th>
<th>Book Author</th>
<th class="text-center">Actions</th>
</tr>
</thead>
<tbody id="bookList">
<!--
<tr>
<td></td>
<td></td>
<td class="d-flex justify-content-center gap-2">
<button class="btn btn-success">Edit</button>
<button class="btn btn-danger">Delete</button>
</td>
</tr>
-->
</tbody>
</table>
</div>
<section id="contactSection">
<div class="col-md-4">
<div class="card profile-card-3">
<div class="background-block">
<img
src="./assets/images/pexels-photo-459225.jpeg"
class="background"
alt="profile-sample1"
/>
</div>
<div class="profile-thumb-block">
<img
src="./assets/images/skype.jpg"
alt="profile-image"
class="profile"
/>
</div>
<div class="card-content">
<h2>Jeysson Contreras<small>Full Stack Dveloper</small></h2>
<div class="icon-block">
<a
href="https://www.linkedin.com/in/jeysson-aly-contreras/"
target="_blank"
link
rel="noopener noreferrer"
><i class="fa fa-linkedin"></i
></a>
<a
href="https://twitter.com/alyconrcigarro"
target="_blank"
link
rel="noopener noreferrer"
>
<i class="fa fa-twitter"></i
></a>
<a
href="https://github.com/alyconr"
target="_blank"
link
rel="noopener noreferrer"
>
<i class="fa fa-github"></i
></a>
</div>
</div>
</div>
</div>
</section>
<footer class="fixed-bottom bg-dark text-light p-3">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<p class="text-center mt-4">
© 2023 Jeysson Contreras. All Rights Reserved.
</p>
</div>
<div class="col-md-6">
<p class="text-center">
<a
href="https://www.linkedin.com/in/jeysson-aly-contreras/"
target="_blank"
link
rel="noopener noreferrer"
><i class="fa fa-linkedin fs-2 p-3"></i
></a>
<a
href="https://twitter.com/alyconrcigarro"
target="_blank"
link
rel="noopener noreferrer"
>
<i class="fa fa-twitter fs-2 p-3 "></i
></a>
<a
href="https://github.com/alyconr"
target="_blank"
link
rel="noopener noreferrer"
>
<i class="fa fa-github fs-2 p-3"></i
></a>
</p>
</div>
</div>
</div>
</footer>
<script type="module" src="./js/main.js"></script>
</body>
</html>