-
Notifications
You must be signed in to change notification settings - Fork 0
/
addgift.html
65 lines (63 loc) · 2.07 KB
/
addgift.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Christmas List</title>
<style>
body {
background-color: cornsilk;
font-size: larger;
}
li {
padding: 3%;
}
.topnav {
overflow: hidden;
}
.topnav a {
float: left;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.active {
background-color: #04aa6d;
color: white;
}
.topnav a:hover {
color: black;
background-color: #04aabd;
}
.topnav a:visited {
color: darkslategray;
}
</style>
<div class="topnav" style="text-align: center; font-size: large;">
<a class="active" href="/">Home</a>
<a href="/addgift">Add Gift</a>
<a href="/giftlist">Gifts</a>
</div>
</head>
<body>
<br><h4>Add A Gift</h4>
<p>
New recipients will be added if they do not already exist
</p>
<form action="/insert", method="POST">
<label for "rcptname">Recipient Name:</label><br>
<input type="text" id="rcptname" name="rcptname"><br>
<label for "giftname">Gift Name:</label><br>
<input type="text" id="giftname" name="giftname"><br>
<label for "price">Price:</label><br>
<input type="text" id="price" name="price"><br>
<label for "url">URL:</label><br>
<input type="text" id="url" name="url"><br>
<input type="submit" value="Submit">
</form>
</body>
</html>