-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
86 lines (86 loc) · 1.99 KB
/
test.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Welcome</title>
<style>
table, th, td {
border:1px solid black;
}
</style>
</head>
<body>
<fieldset>
<legend>Controls</legend>
<a href="http://127.0.0.1:8000/addnewitem">
<input type="button" value="Add new item"/>
</a>
<a href="http://127.0.0.1:8000/removeitem">
<input type="button" value="Remove an item"/>
</a>
<a href="http://127.0.0.1:8000/rentitem">
<input type="button" value="Mark item as rented"/>
</a>
<a href="http://127.0.0.1:8000/unrentitem">
<input type="button" value="Unmark item as rented"/>
</a>
</fieldset>
<br><hr><br>
<fieldset>
<legend>Search by item's name</legend>
<form action="search.php">
<input type="text" placeholder="Type a name to search..." id="searchinfo" required/>
<input type="submit" value="Search"/>
</form>
</fieldset>
<br><br>
<table>
<tr>
<th>
Item ID
</th>
<th>
Name
</th>
<th>
Date added
</th>
<th>
Currently rented
</th>
<th>
Date rented
</th>
<th>
Date to be returned
</th>
<th>
ISBN/QR CODE
</th>
</tr>
<tr>
<td>
000001
</td>
<td>
Twilight, Volume 3
</td>
<td>
5/10/2022
</td>
<td>
Yes
</td>
<td>
3/10/2022
</td>
<td>
10/10/2022
</td>
<td>
AGAWJK295820NGENKG
</td>
</tr>
</table>
</body>
</html>