-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (94 loc) · 3.91 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
<!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">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
crossorigin="anonymous">
<title>Booklist Website</title>
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="index.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">MyBookList</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#book-list-c">Books List</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#add-book-form">Add Book Form</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact-info">Contact Info</a>
</li>
</ul>
</div>
</nav>
<div class="navbar-text ml-auto">
<span id="current-date"></span>
<span id="current-time"></span>
</div>
<div class="container mt-4">
<section id="book-list-c">
<h2 class="text-center mb-4"><i class="fas fa-book text-primary"></i> Books List</h2>
<table class="table table-striped">
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>ISBN#</th>
<th>
</th>
</tr>
</thead>
<tbody id="book-list"></tbody>
</table>
</section>
<section id="add-book-form">
<h2 class="text-center mb-4"><i class="fas fa-plus text-primary"></i> Add Book Form</h2>
<form id="book-form">
<div class="form-group">
<label for="title">Title</label>
<input type="text" id="title" class="form-control">
</div>
<div class="form-group">
<label for="author">Author</label>
<input type="text" id="author" class="form-control">
</div>
<div class="form-group">
<label for="isbn">ISBN#</label>
<input type="text" id="isbn" class="form-control">
</div>
<input type="submit" value="Add Book" class="btn btn-primary btn-block">
</form>
</section>
<!-- Contact Us section -->
<section id="contact-info" class="container mt-4">
<h2 class="display-4 text-center mb-4">Contact Us</h2>
<form>
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" class="form-control">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" class="form-control">
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" class="form-control"></textarea>
</div>
<input type="submit" value="Send" class="btn btn-primary btn-block">
</form>
</section>
</div>
<script src="index.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/global/luxon.min.js"></script>
</body>
</html>