-
Notifications
You must be signed in to change notification settings - Fork 1
/
post.html
85 lines (70 loc) · 2.79 KB
/
post.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!-- Banner stuff: should be the same for each page. -->
<html>
<head>
<link rel="stylesheet" type="text/css" href="static/main.css" >
<link rel="stylesheet" href="static/post.css" type="text/css" media="screen" />
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans' rel='stylesheet' type='text/css'>
</head>
<body>
<div id = "wrapper">
<div id = "top">
<div id = "title">
USELLIT
</div>
<div id = "slogan">
Don't want it? Sell it!
</div>
<div id = "list">
<ul>
<li class = "left"><a class="nav" href = "/">home</a></li>
<li class = "left"><a class="nav" "items" href = "/seller_profile">my stuff</a></li>
<li class = "left"><a class="nav" href = "/post">post</a></li>
<form class = "right" action="" method="post">
<input type="submit" value = "" id = "button"></input>
<select class = "right" id = "category" name = "category">
<option value="Books">Books</option>
<option value="Furniture">Furniture</option>
</select>
<input type="text" id = "search" name = "query"></input>
</form>
</ul>
</div>
</div>
<!-- This will vary from page to page (maybe) -->
<div id = "postCanvas">
<h2>Post an Item to Sell!</h2>
<form action="{{upload_url}}" method="POST" accept-charset="utf-8" enctype="multipart/form-data">
<fieldset name="Sell An Item">
<label>Name
<span class="small">Your Item's Name</span>
</label>
<input type="text" name="itemName" id="itemName" size="40">
<label>Price
<span class="small">Name your price.</span>
</label>
<input name="price" type="number" id="price" step="any">
<label>Description
<span class="small">Descripe your item (condition, isbn, etc.)</span>
</label>
<textarea type="text" name="description" id="description"
rows="3" cols="60" ></textarea>
<label>Category
</label>
<select name="category">
<option value="Books">Books</option>
<option value="Furniture">Furniture</option>
</select>
<label>Picture
<span class="small" > Upload a picture </span>
</label>
<input type="file" name="file" class="postClass">
<button type="submit" name="Submit">Post Item</button>
</form>
</fieldset>
</form>
</div>
</div>
<div id="fb-root"></div>
<script type"text/JavaScript" src = "/static/facebook.js"></script>
</body>
</html>