Added static file stuff.

This commit is contained in:
dan
2021-06-09 22:01:11 -04:00
parent 58382d6a6c
commit 3ecdd3a4f3
3 changed files with 5 additions and 2 deletions

45
static/index.html Normal file
View File

@@ -0,0 +1,45 @@
<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>
<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>
<form action="http://library.dandhost.com/checkin" method="POST">
<label for="isbn">Add Book<br></label>
<input name="isbn" id="isbn" value=" ">
<button>Submit</button>
</form>
<form action="http://library.dandhost.com/getbooks/1" method="GET">
<button>Get Books</button>
</form>
</div>