-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
158 lines (146 loc) · 4.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Title Website -->
<title>Bookshelf Apps</title>
<!-- External CSS Files -->
<link rel="stylesheet" href="./src/css/styles.css" />
<!-- Favicon -->
<link
rel="shortcut icon"
href="./src/assets/icon.svg"
type="image/x-icon"
/>
<!-- Meta Tag Open Graph -->
<meta property="og:title" content="Bookshelf Apps" />
<meta
property="og:description"
content="A website that provides Bookshelf services and it's from dicoding submission front end beginner."
/>
<meta
property="og:image"
itemprop="image"
content="https://carls-bookshelf.netlify.app/src/assets/preview.png"
/>
<meta property="og:url" content="https://carls-bookshelf.netlify.app" />
<meta property="og:type" content="website" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="250" />
<meta property="og:image:height" content="250" />
<!-- PWA -->
<link rel="manifest" href="./manifest.json" />
<!-- ios support -->
<link rel="apple-touch-icon" href="src/assets/manifest/icon-192x192.png" />
<link rel="apple-touch-icon" href="src/assets/manifest/icon-256x256.png" />
<link rel="apple-touch-icon" href="src/assets/manifest/icon-384x384.png" />
<link rel="apple-touch-icon" href="src/assets/manifest/icon-512x512.png" />
<meta name="apple-mobile-web-app-status-bar" content="rgb(25, 186, 235)" />
<meta name="theme-color" content="rgb(25, 186, 235)" />
</head>
<body>
<!-- Navigation bar -->
<nav>
<div class="nav-brand">
<img src="./src/assets/icon.svg" alt="icon" />
<a href="#">Book<span>Shelf</span></a>
</div>
<a href="https://github.com/KarMint26" target="_blank" class="github">
Github Developer
</a>
</nav>
<!-- Main Section -->
<main>
<form class="search-form">
<input
type="text"
name="search"
id="search"
class="search-field"
placeholder="Search Book"
autocomplete="off"
/>
<button type="submit" class="search-btn">
<img src="./src/assets/search.svg" alt="search" />
</button>
</form>
<div class="wrapper-content">
<!-- Book Container & Uncomplete -->
<div class="list-book">
<h1>Not Finished Reading</h1>
<div class="container-books"></div>
</div>
<!-- Book Complete -->
<div class="list-complete-book">
<h1>Finished Reading</h1>
<div class="container-complete-books"></div>
</div>
</div>
</main>
<!-- Modal Create Book -->
<div class="container-create-book">
<form class="create-form">
<img src="./src/assets/close.svg" alt="close" class="close-buton" />
<h1 id="title-form-create">Add New Book</h1>
<div class="field">
<label for="title">Title</label>
<input
type="text"
name="title"
id="title"
placeholder="book title"
required
/>
</div>
<div class="field">
<label for="author">Author</label>
<input
type="text"
name="author"
id="author"
placeholder="book author"
required
/>
</div>
<div class="field">
<label for="year">Year</label>
<input
type="number"
name="year"
id="year"
placeholder="book year released"
required
/>
</div>
<div class="checkbox">
<label for="done-read">Finished Read</label>
<input type="checkbox" name="done-read" id="done-read" />
</div>
<button type="submit" class="submit-create-book">
<p id="txt-btn-form">Add</p>
<img src="./src/assets/create.svg" alt="create-icon" />
</button>
</form>
</div>
<!-- Custom Modal Dialog Delete Book -->
<div class="modal-delete-container">
<div class="modal-delete">
<h1>Want to Delete Book ?</h1>
<div class="modal-delete-btn">
<div class="btn" id="cancel">
<img src="./src/assets/repeat.svg" alt="img-cancel-delete" />
<p>Cancel</p>
</div>
<div class="btn" id="accept">
<img src="./src/assets/delete.svg" alt="img-delete" />
<p>Delete</p>
</div>
</div>
</div>
</div>
<!-- Button Create Book -->
<div class="create-book-btn">+</div>
<script src="./src/js/app.js"></script>
</body>
</html>