-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitems.html
executable file
·117 lines (96 loc) · 4.63 KB
/
items.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<html>
<head>
<title>PI-Item Details</title>
<link rel="stylesheet" type="text/css" href="assets/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="shortcut icon" href="assets/fav.ico">
<script src="assets/jquery-3.1.1.min.js"></script>
<!--Jquery Calendar-->
<link rel="stylesheet" type="text/css" href="assets/jquery-ui.css">
<script src="assets/jquery-ui.min.js"></script>
<!--Confirm Jquery-->
<link rel="stylesheet" type="text/css" href="assets/jquery-confirm/jquery-confirm.css">
<script src="assets/jquery-confirm/jquery-confirm.js"></script>
<script src="js/main.js"></script>
<style>
body{
overflow: hidden;
}
form{
margin-bottom: 0px !important;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="sidebar-wrapper" class="navbar navbar-default">
<div class="navbar-header <pi-header></pi-header>">
<a class="navbar-brand" href="index.html">PI<sub class="beta">beta</sub>
</a>
</div>
<ul class="nav navbar-nav" id="navbar-list">
<li><a href="index.html">Borrow Details</a></li>
<li class="active active-link"><a href="#">Items</a></li>
</ul>
</div>
<div id="content-wrapper">
<!--Student Search Field -->
<form class="form-inline" role="form" id="item-search-form">
<div class="form-group search-controls">
<input type="text" name="Search Item" placeholder="Search Item" class="form-control" id="item-search-input">
</div>
<button type="submit" class="btn btn-primary" id="item-search-button">Search</button>
</form>
<table class="table table-hover">
<thead class="thead-inverse">
<tr>
<th>#</th>
<th>Item Name</th>
<th>Total Quantity</th>
<th>Quantity Left</th>
<th></th> <!--This column contains the delete function-->
</tr>
</thead>
<tbody>
<tr>
<td colspan="4">
<div class="scrollable">
<table class="table table-content" id="item-table">
<thead>
<tr>
<th>#</th>
<th>Item Name</th>
<th>Total Quantity</th>
<th>Quantity Left</th>
<th></th> <!--This column contains the delete function-->
</tr>
</thead>
<tbody id="main-content">
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<div class="footer">
<footer class="navbar-fixed-bottom" id="borrow-control">
<form class="form-inline" role="form" onsubmit="sendItemInfo();">
<div class="form-group bottom-input">
<input type="text" placeholder="Item Name" class="form-control" id="item-name">
</div>
<div class="form-group bottom-input">
<input type="number" placeholder="Total Quantity" class="form-control" id="item-quantity">
</div>
<button class="btn btn-success" type="submit">Add</button>
<!--<button class="btn btn-danger" id="delete-record">X</button>-->
</form>
</footer>
</div>
</div>
</div>
<script>
getItemInfo();
</script>
</body>
</html>