-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd.html
More file actions
37 lines (35 loc) · 1.69 KB
/
add.html
File metadata and controls
37 lines (35 loc) · 1.69 KB
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
<!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>Document</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<div class="container">
<h1>Add new books</h1>
<div class="col-6">
<form method="post">
<input type="text" class="form-control" id="txtName" name="txtName" placeholder="bookname " required>
<br>
<input type="text" class="form-control" id="txtauthor" name="txtauthor" placeholder="author " required>
<br>
<input type="text" class="form-control" id="txtissuedby" name="txtissuedby" placeholder="issuedby " required>
<br>
<input type="date" class="form-control" id="txtdoi" name="txtdoi" placeholder="issuedate" required>
<br>
<input type="text" class="form-control" id="numbercharge" name="numbercharge" placeholder="charge" required>
<br>
<input type="submit" value="Add books" class="btn btn-primary">
{% if message %}
<div class="alert alert-info">
{{message}}
</div>
<a href="http://127.0.0.1:5000" class="btn btn-primary">Show Library</a>
{% endif %}
</form>
</div>
</body>
</html>