69 lines
2.4 KiB
HTML
69 lines
2.4 KiB
HTML
<div>
|
|
<b>Local Testing</b>
|
|
<br>
|
|
<form action="http://127.0.0.1:8000/lookup" method="POST">
|
|
<label for="isbn">ISBN Title Lookup<br></label>
|
|
<input name="isbn" id="isbn" value=" ">
|
|
<button>Submit</button>
|
|
</form>
|
|
<form action="http://127.0.0.1:8000/checkin" method="POST">
|
|
<label for="locationid">Location<br></label>
|
|
<input name="locationid" id="location" value=" ">
|
|
<br>
|
|
<label for="isbn">Add Book<br></label>
|
|
<input name="isbn" id="isbn" value=" ">
|
|
<button>Submit</button>
|
|
</form>
|
|
<form action="http://127.0.0.1:8000/getbooks/1" method="GET">
|
|
<button>Get Books</button>
|
|
</form>
|
|
|
|
<form action="http://127.0.0.1:8000/AddLocation" method="POST">
|
|
<label for="BookCase">Bookcase</label>
|
|
<input name="BookCase" id="Bookcase" value=" "><br>
|
|
<label for="Shelf">Shelf</label>
|
|
<input name="Shelf" id="Shelf" value=" ">
|
|
<button>Submit</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div>
|
|
<b>Remote Testing</b>
|
|
<br>
|
|
<form action="http:///library.dandhost.com/lookup" method="POST">
|
|
<label for="isbn">ISBN Title Lookup<br></label>
|
|
<input name="isbn" id="isbn" value=" ">
|
|
<button>Submit</button>
|
|
</form>
|
|
<b>Check in / Check Out</b>
|
|
<form action="http:///library.dandhost.com/checkin" method="POST">
|
|
<label for="locationid">Location<br></label>
|
|
<input name="locationid" id="location" value=" ">
|
|
<br>
|
|
<label for="isbn">Add Book<br></label>
|
|
<input name="isbn" id="isbn" value=" ">
|
|
<button>Submit</button>
|
|
</form>
|
|
<b>List of Books</b>
|
|
<form action="http:///library.dandhost.com/getbooks/1" method="GET">
|
|
<button>Get Books</button>
|
|
</form>
|
|
<b>Add Shelf</b>
|
|
<form action="http:///library.dandhost.com/AddLocation" method="POST">
|
|
<label for="BookCase">Bookcase</label>
|
|
<input name="BookCase" id="Bookcase" value=" "><br>
|
|
<label for="Shelf">Shelf</label>
|
|
<input name="Shelf" id="Shelf" value=" ">
|
|
<button>Submit</button>
|
|
</form>
|
|
|
|
<b>Update Barcodes</b>
|
|
<form action="http:///library.dandhost.com/barcodes" method="POST">
|
|
<label for="userid">UserID</label>
|
|
<input name="userid" id="userid" value="1"><br>
|
|
<button>Generate Barcodes</button><br>
|
|
|
|
<br><br>
|
|
</form>
|
|
<a href="/static/barcodes.pdf">Barcodes.pdf</a>
|
|
</div> |