Started adding database logic. Can now add book to shelf and get list of books that are checked in.
This commit is contained in:
37
index.html
37
index.html
@@ -1,5 +1,34 @@
|
||||
<form action="http://127.0.0.1:8000/lookup" method="POST">
|
||||
<label for="isbn"> </label>
|
||||
<input name="isbn" id="isbn" value=" ">
|
||||
<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="isbn">Add Book<br></label>
|
||||
<input name="isbn" id="isbn" value=" ">
|
||||
<button>Submit</button>
|
||||
</form>
|
||||
</form>
|
||||
<form action="http://127.0.0.1:8000/getbooks/1" method="GET">
|
||||
<button>Get Books</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>
|
||||
Reference in New Issue
Block a user