-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
291 lines (250 loc) · 15.7 KB
/
index.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"></meta>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></meta>
<title>BW Gamers | Marketplace for Gamers in Botswana</title>
<meta name="description" content="A site created for my favorite hobby - Video Games. Its a marketplace for players in Botswana to trade their games. Built using Facebook's React JavaScript framework combined with BackboneJS and ParseJS as the backend." />
<meta name="keywords" content="video games,ps3,ps4,xbox,botswana,trade,sell" />
<meta name="author" content="Lesedi Ramahobo" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<![endif]-->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/main.css" />
<script data-main="js/app" src="./js/libs/require.js"></script>
</head>
<body>
<div id="modals-container"></div>
<header>
<div class="container-fluid menu-hidden" id="wrapper">
<div id="nav-content">
<div id="nav" class="navbar hidden-print navbar-default navbar-fixed-top box main"></div>
<!-- marketplace-div -->
<div class="collapse clearfix" id="newtwitterpost" tabindex="-1" role="dialog" aria-labelledby="newtwitterpost" aria-hidden="true" style="height: auto;">
<div class="innerAll col-md-6 col-md-offset-3 col-sm-12 col-xs-12">
<div id="structured_postu pdate" class="">
<form action="r" method="post" id="structured_input_form" accept-charset="utf-8" onsubmit="$('#newtwitterpost').addClass('collapse')" class="form marketplaceForm" role="form">
<div class="row">
<div class="col-xs-12">
<div class="successMessage well alert-success"></div>
<div class="errorMessage alert-danger"></div>
</div>
</div>
<div class="row" style="margin-bottom:0;">
<div class="col-xs-12"> <!-- unclosed -->
<div class="btn-group" id="post_for">
<button type="button" disabled="disabled" class="btn btn-default btn-sm text-black normal hidden-xs" style="background: #fff; color: #222; "> I'd like to</button>
<button type="button" onclick="$('#price').show();" class="btn btn-default active show_small btn-sm" value="buy"><i class="fa fa-sign-in fa-fw"></i> buy</button>
<button type="button" onclick="$('#price').show();" class="btn btn-default show_small btn-sm" value="sell"><i class="fa fa-sign-out fa-fw"></i> sell</button>
<button type="button" class="btn btn-default show_free btn-sm" value="trade"><i class="fa fa-rocket fa-fw"></i> go freestyle</button>
<input type="hidden" name="postFor" class="js-postFor js-inputField" value="buy" />
</div>
<div class=" " id="structured_hidden_block">
<div class="row" style="margin-top: 10px;">
<div class="col-xs-12">
<input type="text" name="title" value="" class="form-control js-inputField" placeholder="What?">
<p class="help-block">eg 'game title', 'console|brand|size'</p>
</div>
</div>
<div class="row">
<div class="col-xs-6" id="price">
<input type="text" name="Price" value="" class="form-control js-inputField" placeholder="Price">
<p class="help-block">Total, or per unit. Inc £/$/€</p>
</div>
<div class="col-xs-6">
<input type="text" class="form-control js-inputField" name="location" id="expire_on" placeholder="City/Town?">
<p class="help-block" id="date_help">try 'Gaborone', 'UB'</p>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<textarea class="form-control js-inputField" name="description" onkeyup="check_limit1()" id="update_description" rows="3" placeholder="Add detail (optional) "></textarea>
</div>
</div>
<div class="row">
<div class="col-xs-7">
<p class="help-block">eg. quality, collection list, features, extras...</p>
</div>
<div class="col-xs-5 text-right">
<span class="small text-muted counted" id="charsRem1">
120 characters remaining
</span>
</div>
</div>
<div class="row">
<div class="col-xs-7">
<input type="file" id="fileselect" name="fileselect" />
<p class="help-block">Upload a photo</p>
<div id="files"></div>
</div>
<div class="col-xs-5 text-right">
<button type="button" id="btn_post" class="btn btn-sm btn-success pull-right" rel="tooltip" data-original-title="" title=""><i class="fa fa-bullhorn fa-lg"></i> Post this</button>
</div>
</div>
</div><!--structured_hidden_block-->
<div id="update-big" class="clearfix hidden">
<form class="form-horizontal">
<div class="row" style="margin-top:10px;">
<div class="col-xs-12">
<textarea class="form-control col-xs-12 counted" onkeyup="//check_limit()" rows="3" name="q" id="newstatus" placeholder="What would you like? Eg '300kg #surplus conference #pears for #sale or #surplus' or 'I want to #buy organic #honey for my farm shop.' "></textarea>
</div>
</div>
<div class="row">
<div class="col-xs-7">
<ul class="list-inline small" style="margin-bottom:0;">
<li class="">Also post this to my twitter </li>
<li>
<label>
<input type="checkbox" id="structured_post_to_twitter" name="post_to_twitter" value="1" checked="checked"> <i class="fa fa-twitter-square fa-lg tw"></i>
</label>
</li>
</ul>
</div>
<div class="col-xs-5 text-right">
<span class="small text-muted counted" id="charsRem">
120 characters remaining
</span>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<button type="button" id="btn_update_activity" class="btn btn-sm btn-success pull-right"> <i class="fa fa-bullhorn fa-lg"></i> Post this</button>
</div>
</div>
</form>
</div>
</div>
</div></form>
</div>
</div>
</div><!--#marketplace -->
</div>
</div>
</header>
<div class="banner">
<div id="js-slider" style="overflow: hidden; width: 100%;">
<ul>
<li style="background-image: url(images/1.jpg); background-size: 100%">
</li>
<li style="background-image: url(images/2.jpg); background-size: 100%">
</li>
<li style="background-image: url(images/3.jpg); background-size: 100%">
</li>
<li style="background-image: url(images/4.jpg); background-size: 100%">
</li>
</ul>
</div>
</div>
<!-- # Header -->
<nav class="navbits-wrapper">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-6">
<div class="navbits">
<ul>
<li>
<a href=""></a>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
<div class="content-wrapper">
<div class="row">
<div class="col-md-2">
<div class="userinfo">
<div class="userinfo-avatar">
<img src="" height="200px" />
</div>
<div class="userinfo-description">
Hello, <a class="usertitle" href="">Guest</a>
</div>
</div>
</div>
<div class="col-md-10">
<div class="container-fluid menu-hidden">
<div class="row">
<div class="col-md-12">
<div class="container-responsive block-center">
<div class="row">
<div class="col-md-8">
<div id="page">
</div>
</div>
<div class="col-md-4">
<div class="widget">
<div class="widget-head">Marketplace Updates</div>
<div class="widget-body">
<div id="streamPosts"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--<script src="./js/libs/typeahead.bundle.js"></script>-->
<script src="./js/libs/unslider.min.js"></script>
<script type="text/jsx" src="./js/live.js"></script>
<!--<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1./bootstrap.min.js"></script>-->
<div class="modal-container">
<div class="modal fade transactionalModal" id="transactionalModal" tabIndex="-1" role="dialog" aria-labelledby="transactionalModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="transactionalModalLabel">Modal title</h4>
</div>
<div class="modal-body">
<div class="col-sm-12 col-xs-12">
<div>
<form action="r" method="post" id="transactional_input_form" accept-charset="utf-8" onsubmit="$(this).addClass('collapse')" class="form" role="form">
<input type="hidden" name="objId" class="js-inputField" id="js-objectId" value="" />
<input type="hidden" name="subject" class="js-inputField" id="js-subject" value="" />
<input type="hidden" name="to" class="js-inputField" id="js-to" value="" />
<div class="row">
<div class="col-xs-12">
<div class="transactionSuccess"></div>
<div class="transactionError"></div>
</div>
</div>
<div class="row" style="margin-bottom:0;">
<div class="col-xs-12"> <!-- unclosed -->
<div class="row" style="margin-top: 10px;">
<div class="col-xs-12">
<input type="text" disabled="disabled" id="js-to-username" name="to_username" value="smug" class="form-control js-inputField">
<p class="help-block">Sending To User</p>
</div>
</div>
<div class="row">
<div class="col-xs-12" id="note">
<textarea name="notes" value="" id="js-notes" class="form-control js-inputField" placeholder="Note"></textarea>
<p class="help-block">Add a note</p>
</div>
</div>
</div>
</div>
<button type="submit" class="btn">Submit</button>
</form>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" id="postTransactional" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>