-
Notifications
You must be signed in to change notification settings - Fork 0
/
requestbook.html
62 lines (50 loc) · 1.73 KB
/
requestbook.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
<!DOCTYPE html>
<body>
<div class="section no-pad-bot" id="index-banner" ng-controller="requestbookclr">
<div class="container">
<h2><center>Request book</center></h2>
<table ng-init="isbn = book.volumeInfo.industryIdentifiers[0].identifier;
title = book.volumeInfo.title;
publisher = book.volumeInfo.publisher">
<tr>
<td> <label> UniqueId </label> </td>
<td> {{userid}} </td>
</tr>
<tr>
<td><label>Book Name</label></td>
<td><input type="text" ng-model="title" placeholder="Enter Book Name" required></td>
</tr>
<tr>
<td> <label> ISBN </label> </td>
<td> <input type="text" ng-model="isbn" placeholder="Enter Book ISBN "> </input> </td>
</tr>
<tr>
<td> <label> Comment </label> </td>
<td> <input type="text" ng-model="comment" placeholder="Comment"> </input> </td>
</tr>
<tr>
<td></td>
<td> <button type="submit" class="btn btn-success" ng-click="requestbook()">Request Book </button>
<button type="button" class="btn btn-success" ng-click="cancell()">Cancell </button> </td>
</tr>
</table>
<h4><center>Requested book History</center></h4>
<table class="striped bordered centered">
<thead class="light-blue lighten-1">
<tr><th>ISBN</th><th>Requested Date</th><th>Comment</th></tr>
</thead>
<tbody>
<tr ng-repeat="reqbook in reqbooklist | filter:userid">
<td>{{reqbook.ISBN}}</td>
<td>{{reqbook.DoReq}}</td>
<td>{{reqbook.comment}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Scripts-->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="js/materialize.js"></script>
<script src="js/init.js"></script>
</body>