-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookkeeper.html
61 lines (61 loc) · 2 KB
/
bookkeeper.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bookkeeper</title>
<link rel="stylesheet" href="{{ url_for('static', filename='bookkeeper.css') }}"/>
</head>
<body>
<div class="heading-div">
<h1>Bookkeeper</h1>
<p>Distributed book management system</p>
</div>
<h2>Actions panel</h2>
<div class="input-output-div">
<div class="inputs-div">
<div class="input-div">
<label for="isbn">ISBN</label>
<input type="text" id="isbn">
</div>
<div class="input-div">
<label for="title">Book-Title</label>
<input type="text" id="title">
</div>
<div class="input-div">
<label for="author">Book-Author</label>
<input type="text" id="author">
</div>
<div class="input-div">
<label for="yearOfPublication">Year-Of-Publication</label>
<input type="number" id="yearOfPublication">
</div>
<div class="input-div">
<label for="publisher">Publisher</label>
<input type="text" id="publisher">
</div>
<div class="input-div">
<label for="borrowerId">Borrower ID</label>
<input type="number" id="borrowerId">
</div>
</div>
<div class="actions-div">
<input type="submit" id="add" value="Add new book">
<input type="submit" id="remove" value="Delete book">
<input type="submit" id="info" value="Get book info">
<input type="submit" id="borrow" value="Borrow book">
<input type="submit" id="return" value="Return book">
</div>
<div class="output-div">
<p id="result">(action results will appear here)</p>
</div>
</div>
<div class="list-books-action">
<h2>All books</h2>
<input type="submit" id="list" value="List books">
</div>
<div class="books-list-div">
<p id="books">(list of books will appear here)</p>
</div>
<script src="{{ url_for('static', filename='action_scripts.js') }}"></script>
</body>
</html>