-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (56 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bookshelf</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div class="container">
<div>
<h1>Bookshelf</h1>
</div>
<div id="addForm">
<h2>Add/Edit</h2>
<form id="formEl">
<div>
<label for="formBookTitle">Title</label>
<input type="text" name="bookTitle" id="formBookTitle">
</div>
<div>
<label for="formBookGenre">Genre</label>
<select name="bookGenre" id="formBookGenre">
<option disabled selected>--Pick a genre--</option>
<option value="1">Esimene zanr</option>
<option value="2">Teine zanr</option>
<option value="3">Kolmas zanr</option>
<option value="4">Neljas zanr</option>
</select>
</div>
<div>
<label for="formBookDesc">Description</label>
<textarea name="bookDesc" id="formBookDesc" cols="30" rows="10"></textarea>
</div>
<input id="formBookSubmit" type="submit" value="Add">
</form>
</div>
<div id="bookList">
<h2>List</h2>
<table>
<thead>
<tr>
<th>Id</th>
<th>Title</th>
<th>Genre</th>
<th>Description</th>
<th></th>
</tr>
</thead>
<tbody id="bookListBody">
</tbody>
</table>
</div>
</div>
<script src="app.js"></script>
</body>
</html>