-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMasterwork.html
More file actions
83 lines (66 loc) · 2.27 KB
/
Masterwork.html
File metadata and controls
83 lines (66 loc) · 2.27 KB
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
<!doctype html>
<html>
<head>
<title>Masterwork Project</title>
<meta charset="utf-8"/>
<style type="text/css">
body {background-color: DeepSkyBlue;
color: DeepPink;}
</style>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="masterworkJS.js"></script>
</head>
<body>
<h1><center>Chelsey's Book Exchange<center></h1><hr/>
<form onSubmit="addNode();return false" id="addForm">
<table width="100%">
<tr>
<td><center><h2>Have a book to sell?</h2></center></td>
<td><center><h2>Looking for a book?</h2></center></td>
<tr>
<td>
<table align="center">
<tr>
<td>Student Name:</td>
<td><input type="text" id="student" name="student" size=20 required placeholder="First Last"/><td>
</tr>
<tr>
<td>Email:</td>
<td><input type="email" id="email" name="email" size=20 required/></td>
</tr>
<tr>
<td>Class Name:</td>
<td><input type="text" id="class" name="class" size=20 required/></td>
</tr>
<tr>
<td>Professor:</td>
<td><input type="text" id="professor" name="professor" size=20 required/></td>
</tr>
<tr>
<td>Book Used:</td>
<td><input type="text" id="book" name="book" size=20/></td>
</tr>
</table>
<center><input type="submit" name="add" value= "Add Book to Database"/>
<input type="reset" value= "Clear Form"/></center>
</form>
<div id="makechanges"></div>
</td>
<td>
<center>
<input type="button" name="show" value= "Show All Books" onclick="showNodes()"/><br/><br/>
<form onSubmit="queryGraph();return false" id="findBook">
Book to Find:<input type="text" id="booktofind" name="booktofind" size=20/>
<input type="submit" name="query" value= "Find Book"/><br/><br/>
</form>
<form onSubmit="getbyname();return false" id="getByName">
Your Name:<input type="text" id="findstudent" name="findstudent" size=20/>
<input type="submit" name="query" value= "Show My Books"/>
<br/><br/>
</form>
<div id="displaybooks"></div>
</center>
</td>
</tr>
</body>
</html>