-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
199 lines (198 loc) · 6.46 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
<!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>ShelfMaster</title>
<link rel="stylesheet" href="styles.css" />
<script defer src="app.js"></script>
<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=Bitter:wght@400;700&family=Montserrat:wght@200;400&display=swap"
rel="stylesheet"
/>
<link
rel="shortcut icon"
href="logo-fevicon/favicon_io/favicon.ico"
type="image/x-icon"
/>
</head>
<body>
<div class="container">
<div class="header">
<div class="logo">
<img
class="full-logo"
src="logo-fevicon/cropped.png"
alt="ShelfMaster logo"
/>
<img
src="logo-fevicon/icon.png"
alt="logo-fevicon"
class="logo-icon"
/>
</div>
<div class="searchBar">
<img
src="icon/search_FILL0_wght400_GRAD0_opsz48.svg"
alt="search icon"
/>
<input type="search" name="" id="" />
</div>
<div class="letter-filter">
<button class="btn">A</button>
<button class="btn">B</button>
<button class="btn">C</button>
<button class="btn">D</button>
<button class="btn">E</button>
<button class="btn">F</button>
<button class="btn">G</button>
<button class="btn">H</button>
<button class="btn">I</button>
<button class="btn">J</button>
<button class="btn">K</button>
<button class="btn">L</button>
<button class="btn">M</button>
<button class="btn">N</button>
<button class="btn">O</button>
<button class="btn">P</button>
<button class="btn">Q</button>
<button class="btn">R</button>
<button class="btn">S</button>
<button class="btn">T</button>
<button class="btn">U</button>
<button class="btn">V</button>
<button class="btn">W</button>
<button class="btn">X</button>
<button class="btn">Y</button>
<button class="btn">Z</button>
</div>
</div>
<div class="sidebar">
<div class="log">
<h2>Library Log</h2>
<p></p>
<p></p>
<p></p>
</div>
</div>
<div class="main">
<div class="content">
<div>
<label for="filterBy">Filter by</label>
<select name="filterBy" id="filterBy">
<option value="title">Title</option>
<option value="author">Author</option>
<option value="language">Language</option>
<option value="published">Year Published</option>
<option value="read">Read</option>
<option value="not-read">Not Read</option>
</select>
</div>
<div class="bookshelf">
<div id="sideModal" class="modal">
<button class="close-modal-btn">
<img src="icon/close.svg" alt="" />
</button>
<form novalidate class="book-form" data-action="add">
<div>
<label for="title">Title*</label>
<input
required
minlength="1"
type="text"
name="title"
id="title"
/>
<span class="error"></span>
</div>
<div>
<label for="author">Author*</label>
<input
required
minlength="1"
type="text"
name="author"
id="author"
pattern="^[A-Z][a-z]*(([,.]|[' \-])[A-Za-z][a-z]*)*(\.?)( [IVXLCDM]+)?$"
/>
<span class="error"></span>
</div>
<div>
<label for="language">Language*</label>
<input
required
type="text"
name="language"
id="language"
pattern="^[A-Za-z\s\-]+$"
minlength="1"
/>
<span class="error"></span>
</div>
<div>
<label for="pages">Pages*</label>
<input
required
type="number"
name="pages"
id="pages"
min="1"
max="10000"
/>
<span class="error"></span>
</div>
<div>
<label for="published">Year Published*</label>
<input
type="number"
min="1450"
pattern="\d{4}"
name="published"
id="published"
required
/>
<span class="error"></span>
</div>
<div>
<label for="subject">Subject</label>
<textarea
name="subject"
id="subject"
cols="20"
rows="3"
minlength="1"
></textarea>
<span class="error"></span>
</div>
<div class="read">
<input
type="checkbox"
name="mark-read-form"
id="mark-read-form"
/>
<label for="mark-read-form">
<span>Mark As Read</span>
<span></span>
</label>
</div>
<button>Add</button>
</form>
</div>
<div class="add-item">
<button class="add-btn">
<img
src="icon/library_add_FILL0_wght400_GRAD0_opsz48.svg"
alt="add item"
/>
<p>New</p>
</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>