-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (101 loc) · 5.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
<!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>Books Shelf Apps</title>
<link rel="stylesheet" href="assets/css/style.css">
<!-- Google fonts-->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Poppins:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Metrophobic&display=swap" rel="stylesheet">
<link href="assets/css/style.css" rel="stylesheet">
</head>
<body>
<header>
<nav class="navbar">
<div class="navTitle">
<a href="#" class="navTitle">Bookshelf Apps</a>
</div>
</nav>
</header>
<main>
<section class="masthead">
<div class="container">
<div class="box desc" id="save">
<h2 align="center">Enter New Data</h2>
<form class="form" id="formSave">
<div class="form-group form-title">
<label for="title">Title</label>
<input class="input" type="text" name="title" id="title" placeholder="Title Book" required>
</div>
<div class="form-group form-title">
<label for="author">Author</label>
<input class="input" type="text" name="author" id="author" placeholder="Author Book" required>
</div>
<div class="form-group form-title">
<label for="year">Year</label>
<input class="input" type="number" name="year" id="year" placeholder="Year" required>
</div>
<div class="isCompleteing">
<label for="isComplete">finished reading</label>
<input type="checkbox" id="isComplete">
</div>
<input type="submit" value="Save" name="Submit" id="saveForm" class="btn-submit">
<input type="reset" value="Reset" class="btn-reset">
</form>
</div>
<div class="box desc" id="edit" hidden>
<h2 align="center">Edit Data</h2>
<form class="form" id="formEdit">
<div class="form-group form-title">
<label for="title">Title</label>
<input class="input" type="text" name="title" id="edit-title" placeholder="Title Book" required>
</div>
<div class="form-group form-title">
<label for="author">Author</label>
<input class="input" type="text" name="author" id="edit-author" placeholder="Author Book" required>
</div>
<div class="form-group form-title">
<label for="year">Year</label>
<input class="input" type="number" name="year" id="edit-year" placeholder="Year" required>
</div>
<div class="isCompleteing">
<label for="isComplete">finished reading</label>
<input type="checkbox" id="editisComplete">
</div>
<input type="submit" value="Update" name="Submit" class="btn-submit">
<input type="reset" value="Reset" class="btn-reset" onclick="(window.location.reload(true))">
</form>
</div>
<div class="box card">
<div class="card-item">
<section class="search_section">
<h2>Search Book</h2>
<form id="searchBook" class="form_search">
<label for="searchBookTitle">Title Book</label>
<input id="searchBookTitle" type="text" class="search" placeholder="Search Title Book" required>
<button id="searchSubmit" type="submit" class="btn-search">Search</button>
</form>
</section>
</div>
<div class="card-item">
<h2>Not Finished Reading</h2>
<div class="list-item" id="bookShelfPartUncomplate"></div>
</div>
<div class="card-item">
<h2>Finished Reading</h2>
<div class="list-item" id="bookShelfPartComplate"></div>
</div>
</div>
</div>
</section>
</main>
<footer>
</footer>
<script src="assets/js/script.js"></script>
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</body>
</html>