Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit e812d26

Browse files
committed
test form
1 parent 3655048 commit e812d26

1 file changed

Lines changed: 107 additions & 0 deletions

File tree

test.html

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
<html>
2+
<body>
3+
<h3>Profile</h3>
4+
<form action="http://localhost:18469/api/v1/update_profile" method="post" enctype="multipart/form-data" id="profile">
5+
Name:<input type="text" name="name" /><br>
6+
Location:<select name="location">
7+
<option value="UNITED_STATES">United States</option>
8+
<option value="UNITED_KINGDOM">United Kingdom</option>
9+
<option value="AUSTRALIA">Australia</option>
10+
<option value="MEXICO">Mexico</option>
11+
</select><br>
12+
handle:<input type="text" name="handle" /><br>
13+
about:<input type="text" name="about" /><br>
14+
short description:<input type="text" name="short_description" /><br>
15+
website:<input type="text" name="website" /><br>
16+
email:<input type="text" name="email" /><br>
17+
Avatar<input type="file" name="avatar"><br>
18+
Header<input type="file" name="header"><br>
19+
<input type="submit" value="Upload" />
20+
</form>
21+
<br><br>
22+
<form action="http://localhost:18469/api/v1/update_profile" method="post" enctype="multipart/form-data">
23+
<textarea name="pgp_key">Enter pgp key here</textarea><br>
24+
<textarea name="signature">Enter signature coverting the guid</textarea><br>
25+
<input type="submit" value="Upload" />
26+
</form>
27+
<br><br>
28+
<form action="http://bitcoinauthenticator.org:18469/api/v1/social_accounts" method="post" enctype="multipart/form-data">
29+
Account Type:<select name='account_type' >
30+
<option value="FACEBOOK">Facebook</option>
31+
<option value="TWITTER">Twitter</option>
32+
<option value="INSTAGRAM">Instagram</option>
33+
</select><br>
34+
Username:<input type='text' name='username' ><br>
35+
Proof URL:<input type='text' name='proof' >
36+
<input type="submit" value="Upload" />
37+
</form>
38+
<h3>Contract</h3>
39+
<form action="http://localhost:18469/api/v1/set_contract" method="post" enctype="multipart/form-data" id="contract">
40+
Type:<select name="metadata_category">
41+
<option value="physical good">Physical Good</option>
42+
<option value="digital good">Digital Good</option>
43+
<option value="service">Service</option>
44+
</select><br>
45+
Title:<input type="text" name="title" /><br>
46+
Description:<input type="text" name="description" /><br>
47+
Expiration Date:<input type="datetime-local" name="expiration_date"><br>
48+
Price:<input type="text" name="price" /><br>
49+
<input type="radio" name="currency_code" value="btc" checked>BTC
50+
<br>
51+
<input type="radio" name="currency_code" value="usd">USD<br>
52+
<input type="checkbox" name="nsfw" checked="checked"> NSFW<br>
53+
Processing Time:<input type="text" name="process_time" /><br>
54+
Estimated Delivery Domestic:<input type="text" name="est_delivery_domestic" /><br>
55+
Estimated Delivery International:<input type="text" name="est_delivery_international" /><br>
56+
Category:<input type="text" name="category" /><br>
57+
Condition:<input type="text" name="condition" /><br>
58+
SKU:<input type="text" name="sku" /><br>
59+
Terms & Conditions:<input type="text" name="terms_conditions" /><br>
60+
Return Policy:<input type="text" name="returns" /><br>
61+
<input type="checkbox" name="free_shipping" checked="checked"> Free Shipping<br>
62+
Shipping Currency:<br>
63+
<input type="radio" name="shipping_currency_code" value="btc" checked>BTC
64+
<br>
65+
<input type="radio" name="shipping_currency_code" value="usd">USD<br>
66+
Shipping Domestic:<input type="text" name="shipping_domestic" /><br>
67+
Shipping International:<input type="text" name="shipping_international" /><br>
68+
Shipping Origin:<select name="shipping_origin">
69+
<option value="UNITED_STATES">United States</option>
70+
<option value="UNITED_KINGDOM">United Kingdom</option>
71+
<option value="AUSTRALIA">Australia</option>
72+
<option value="MEXICO">Mexico</option>
73+
</select><br>
74+
Ships To:<select name="ships_to">
75+
<option value="UNITED_STATES">United States</option>
76+
<option value="UNITED_KINGDOM">United Kingdom</option>
77+
<option value="AUSTRALIA">Australia</option>
78+
<option value="MEXICO">Mexico</option>
79+
</select><br>
80+
Keyword:<input type="text" name="keywords" /><br>
81+
Moderator:<input type="text" name="moderators" /><br>
82+
83+
84+
Image<input type="file" name="images" multiple><br>
85+
<input type="submit" value="Upload" />
86+
</form>
87+
<br><br>
88+
<h3>Purchase</h3>
89+
<form action="http://localhost:18469/api/v1/purchase_contract" method="post" enctype="multipart/form-data" id="profile">
90+
Contract ID:<input type="text" name="id" /><br>
91+
Quantity:<input type="text" name="quantity" /><br>
92+
Name:<input type="text" name="ship_to" /><br>
93+
Address:<input type="text" name="address" /><br>
94+
City:<input type="text" name="city" /><br>
95+
State:<input type="text" name="state" /><br>
96+
Postal Code:<input type="text" name="postal_code" /><br>
97+
Country:<select name="country">
98+
<option value="UNITED_STATES">United States</option>
99+
<option value="UNITED_KINGDOM">United Kingdom</option>
100+
<option value="AUSTRALIA">Australia</option>
101+
<option value="MEXICO">Mexico</option>
102+
</select><br>
103+
Moderator:<input type="text" name="moderator" /><br>
104+
<input type="submit" value="Upload" />
105+
</form>
106+
</body>
107+
</html>

0 commit comments

Comments
 (0)