-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlisting.htm
70 lines (50 loc) · 1.49 KB
/
listing.htm
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
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title> Listing </title>
<script type="text/javascript" src="listing.js"></script>
<style>
#msg,#heading{
text-align:center;
margin-left: auto;
margin-right: auto; }
.btn btn-dark
{
margin :8px;
}
</style>
</head>
<body>
<div id = "heading">
<a href = "listing.htm" class="btn btn-dark"> Listing </a>
<a href = "processing.htm" class="btn btn-dark"> Processing </a>
<br> <br>
<h1> Add New Item </h1>
<br>
<table style="margin-left:auto;margin-right:auto">
<tr>
<td> Item name: </td>
<td> <input type = "text" name = "itemname" id = "itemname"> </input> </td>
</tr>
<tr>
<td> Item price: </td>
<td> <input type = "text" name = "itemprice" id = "itemprice"> </input> </td>
</tr>
<tr>
<td> Item quantity: </td>
<td> <input type = "text" name = "itemquantity" id = "itemquantity"> </input> </td>
</tr>
<tr>
<td> Item description: </td>
<td> <input type = "textbox" name = "itemdescription" id = "itemdescription"> </input> </td>
</tr>
</table>
<br>
<button class="btn btn-primary" onclick = "checkListing()"> Add item </button>
<a href = "managerLogout.php" class = "btn btn-danger" style = "position: absolute; left:1420px; top:33px;"> Log Out </a>
<br>
</div>
<br> <br>
<div id = "msg"></div>
</body>
</html>