-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (98 loc) · 2.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Library</title>
<link rel="stylesheet" href="./style.css" />
<script src="./app.js" defer></script>
</head>
<body>
<div id="container">
<div id="header">
<h1 id="logo">Library</h1>
<label for="show">Add new book</label>
<button id="show"></button>
</div>
<div id="content">
<div>
<label for="read">Read</label>
<button id="read"></button>
</div>
<div>
<label for="title">Title</label>
<button id="title"></button>
</div>
<div>
<label for="author">Author</label>
<button id="author"></button>
</div>
<div>
<label for="pages">Pages</label>
<button id="pages"></button>
</div>
<div>
<label for="id">Added</label>
<button id="id"></button>
</div>
<hr />
</div>
</div>
<div id="overlay">
<div id="form">
<button id="close"></button>
<label for="book-title">Title</label>
<span data-msg="">
<input type="text" id="book-title" name="book-title" />
</span>
<label for="book-author">Author</label>
<span data-msg="">
<input type="text" id="book-author" name="book-author" />
</span>
<label for="book-pages">Pages</label>
<span data-msg="">
<input type="text" id="book-pages" name="book-pages" />
</span>
<div>
<input type="checkbox" id="book-read" name="book-read" />
<label for="book-read">Already read?</label>
</div>
<button id="add">Add</button>
</div>
</div>
<a
style="
position: fixed;
bottom: 0;
right: 0;
color: black;
background-color: white;
text-decoration: none;
font-size: 16px;
font-family: sans-serif;
padding: 2px;
border: thin solid black;
text-decoration: underline;
"
href="https://tomsoerr.github.io/#/impressum"
>
Imprint
</a>
<span
style="
z-index: 1000;
position: fixed;
bottom: 0;
left: 0;
color: black;
background-color: white;
text-decoration: none;
font-size: 16px;
font-family: sans-serif;
padding: 2px;
border: thin solid black;
"
>
Not a commercial site, only for educational purposes.
</span>
</body>
</html>