-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
99 lines (87 loc) · 4.26 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 name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Bookshelf Apps</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins&display=swap');
body {
font-family: 'Poppins';
}
</style>
</head>
<body class="container bg-light">
<div class="my-5 shadow card">
<div class="p-5 text-center card-header text-light bg-primary">
<h1>Bookshelf Apps</h1>
</div>
<main class="gap-4 card-body row justify-content-center">
<div class="p-3 col-12 col-md-5 col-lg-4">
<section>
<h4 class="mb-3">Tambahkan Buku Baru</h4>
<form id="inputBook">
<div class="mb-2">
<label class="form-label" for="inputBookTitle">Judul</label>
<input class="form-control" id="inputBookTitle" type="text" required>
</div>
<div class="mb-2">
<label class="form-label" for="inputBookAuthor">Penulis</label>
<input class="form-control" id="inputBookAuthor" type="text" required>
</div>
<div class="mb-2">
<label class="form-label" for="inputBookYear">Tahun</label>
<input class="form-control" id="inputBookYear" type="number" required>
</div>
<div class="mb-2 form-check">
<input class="form-check-input" id="inputBookIsComplete" type="checkbox">
<label class="form-check-label" for="inputBookIsComplete">Selesai dibaca</label>
</div>
<div class="mt-3 d-grid">
<button class="btn btn-primary" type="submit">
Masukkan Buku <i class="ml-4 bi bi-chevron-right"></i>
</button>
</div>
</form>
</section>
</div>
<div class="p-3 col-md-6 col-12 col-lg-5">
<section>
<h4 class="mb-3 card-title">Cari Buku</h4>
<form id="searchBook">
<label class="form-label" for="searchBookTitle">Judul</label>
<div class="input-group">
<input class="form-control " id="searchBookTitle" type="text">
<button class="btn btn-primary" type="submit">
<i class="bi bi-search"></i>
</button>
</div>
</form>
</section>
<section class="mt-5">
<h4 class="border-bottom border-info">Belum selesai dibaca</h4>
<div id="incompleteBookshelfList">
</div>
</section>
<section class="mt-5">
<h4 class="border-bottom border-info">Selesai dibaca</h4>
<div id="completeBookshelfList">
</div>
</section>
</div>
</main>
<div class="text-center card-footer bg-dark text-light">2021 - M Ihya Firdaus Baihaqi</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<script src="js/script.js"></script>
<script src="js/storage.js"></script>
<script src="js/dom.js"></script>
</body>
</html>