-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathadd_book.html
73 lines (57 loc) · 3.6 KB
/
add_book.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/add_book.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script type="text/javascript" src="js/add_book.js">
</script>
<title>Library Management System</title>
</head>
<body>
<!-- logout button -->
<div >
<button class="BUTTON" id="log_button" onclick="location.href='admin_portal.html'">Back</button>
</div>
<div class=main_header>
<div class="image_user">
<!-- user image -->
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
width="75" height="75"
viewBox="0 0 192 192"
style=" fill:#000000;"><g fill="none" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal"><path d="M0,192v-192h192v192z" fill="none"></path><path d="M96,192c-53.01934,0 -96,-42.98066 -96,-96v0c0,-53.01934 42.98066,-96 96,-96v0c53.01934,0 96,42.98066 96,96v0c0,53.01934 -42.98066,96 -96,96z" fill="#cccccc"></path><g fill="#666666"><g id="surface1"><path d="M96,40.32c-15.38812,0 -27.84,12.45188 -27.84,27.84c0,15.38813 12.45188,27.84 27.84,27.84c15.38813,0 27.84,-12.45187 27.84,-27.84c0,-15.38812 -12.45187,-27.84 -27.84,-27.84zM75.3375,105.7875c-26.29031,7.96594 -35.0175,29.58 -35.0175,29.58v16.3125h111.36v-16.3125c0,0 -8.72719,-21.61406 -35.0175,-29.58c-1.44094,10.14094 -10.14094,18.0525 -20.6625,18.0525c-10.52156,0 -19.22156,-7.91156 -20.6625,-18.0525z"></path></g></g></g></svg>
<h4>My Profile</h4>
</div>
<div class="heading">
<h1 id="portal">Library System</h1>
</div>
</div>
<hr>
<h1 id="title">Add Book</h1>
<form id="book-form" action="">
<p>Fill the details of book</p>
<label id="name-label" for="book_name">Book Code</label>
<input id="book_code" type="number" placeholder="Enter Book Code" required>
<!-- book name -->
<label id="name-label" for="book_name">Book Name</label>
<input id="book_name" type="text" placeholder="Enter book name" required>
<!-- authors name -->
<label id="name-label" for="book_name">Author Name(1)</label>
<input id="author1" type="text" placeholder="Enter Author name" required>
<label id="name-label" for="book_name">Author Name(2)</label>
<input id="author2" type="text" placeholder="Enter Author name" >
<label id="name-label" for="subject">Subject</label>
<input id="Subject" type="text" placeholder="Enter Subject" required>
<label id="name-label" for="book_name">Tags</label>
<textarea id="tags" placeholder="Add some tags which will help you during searching.tags may be name of the book, author, subject etc."></textarea>
<div class="upload-btn-wrapper">
<button class="btn">Upload a Ebook</button>
<input type="file" name="myfile" />
</div>
<button id="submit">Finish</button>
</div>
<script src="https://www.gstatic.com/firebasejs/6.0.2/firebase-app.js"></script>
<script defer src="https://www.gstatic.com/firebasejs/6.0.2/firebase-firestore.js"></script>
</body>
</html>