This repository has been archived by the owner on May 8, 2023. It is now read-only.
forked from tbossert/FitStew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index3.html
385 lines (367 loc) · 14.5 KB
/
index3.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
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<!DOCTYPE html>
<html lang="en">
<head>
<title>FitStew.com</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="assets/css/structure.css" />
<link rel="stylesheet" href="assets/css/landing3.css" />
<script src="assets/js/jquery-1.8.3.js"></script>
<script src="assets/js/jquery.ui.custom.js"></script>
<script src="assets/js/jquery.smooth-scroll.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/moment.min.js"></script>
<script src="assets/js/landing.js"></script>
<!-- MouseStats:Begin -->
<script type="text/javascript">(function () {
if(document.getElementById('MouseStatsTrackingScript') == undefined) {
var mousestats_script = document.createElement('script');
mousestats_script.type = 'text/javascript';
mousestats_script.id = 'MouseStatsTrackingScript';
mousestats_script.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www2') + '.mousestats.com/js/5/3/5315539080367605604.js?' + (new Date().getTime());
mousestats_script.async = true;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(mousestats_script);
} })();
</script>
<!-- MouseStats:End -->
<!-- FB Stuff -->
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
// init the FB JS SDK
FB.init({
appId : '402151409818124', // App ID from the App Dashboard
channelUrl : '//web-dev.fitstew.com/channel.html', // Channel File for x-domain communication
status : true, // check the login status upon init?
cookie : true, // set sessions cookies to allow your server to access the session?
xfbml : true // parse XFBML tags on this page?
});
// Additional initialization code such as adding Event Listeners goes here
};
// Load the SDK's source Asynchronously
// Note that the debug version is being actively developed and might
// contain some type checks that are overly strict.
// Please report such bugs using the bugs tool.
(function(d, debug){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all" + (debug ? "/debug" : "") + ".js";
ref.parentNode.insertBefore(js, ref);
}(document, /*debug*/ false));
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=402151409818124";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- FB stuff -->
<script type="text/javascript">
(function () {
if (typeof window.janrain !== 'object') window.janrain = {};
window.janrain.settings = {};
janrain.settings.tokenAction = 'event';
janrain.settings.type = 'modal';
janrain.settings.linkClass = 'janrainEngage';
function isReady() { janrain.ready = true; };
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", isReady, false);
} else {
window.attachEvent('onload', isReady);
}
var e = document.createElement('script');
e.type = 'text/javascript';
e.id = 'janrainAuthWidget';
if (document.location.protocol === 'https:') {
e.src = 'https://rpxnow.com/js/lib/zunefittesting/engage.js';
} else {
e.src = 'http://widget-cdn.rpxnow.com/js/lib/zunefittesting/engage.js';
}
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(e, s);
})();
function janrainWidgetOnload() {
janrain.events.onProviderLoginStart.addHandler(function () {
console.log('Login Start!');
});
janrain.events.onProviderLoginComplete.addHandler(function (response) {
console.log('Login complete!');
console.log('response.provider = ' + response.provider);
});
janrain.events.onProviderLoginError.addHandler(function (response) {
console.log('Login Error!');
console.log('response.err.code = ' + response.err.code);
console.log('response.err.msg = ' + response.err.msg);
console.log('response.origin = ' + response.origin);
console.log('response.state = ' + response.state);
});
janrain.events.onProviderLoginSuccess.addHandler(function (something) {
console.log('Login Succcess!');
});
janrain.events.onReturnExperienceFound.addHandler(function (response) {
console.log('Return Experience Found!');
console.log('response.name = ' + response.name);
console.log('response.returnProvider = ' + response.returnProvider);
console.log('response.welcomeName = ' + response.welcomeName);
});
janrain.events.onProviderLoginToken.addHandler(function (response) {
console.log('Provider Login Token Returned!');
console.log('response.token = ' + response.token);
var tok = new Object();
tok.token = response.token;
tokJSON = JSON.stringify(tok);
$.ajax({
beforeSend: function(xhr) {
xhr.setRequestHeader("ltype", "web");
xhr.setRequestHeader("token", response.token);
},
url: "http://api.fitstew.com/api/userSignup/",
type: "post",
data: tok,
dataType: "json",
success: function (data) {
console.log(data);
localStorage['uToken'] = data[0].token;
localStorage['fitTime'] = moment().unix();
window.location = "http://web-dev.fitstew.com/Beta/myPanel"
},
error: function (xhr, status, p3, p4) {
console.log(xhr);
console.log(status);
console.log(p3);
}
});
});
}
</script>
</head>
<body>
<div id="lHeader">
<div class="container-fluid">
<div class="row-fluid">
<div class="span10 offset1">
<img class="logo" src="assets/img/logo.png">
<div id="topBlock" class="topBlock">
<div id="loginBlock">
<div class="row-fluid">
<a id="uLogin" class="janrainEngage loginLink" href="#">User Sign-on</a>
</div>
<div class="row-fluid">
<a id="pLogin" class="loginLink" href="#">Gym Sign-on</a>
</div>
</div>
<div id="socialBlock">
<div class="fb-like fbshelve socright" data-href="http://www.fitstew.com" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div>
<div class="socright">
<img class="socright" src="assets/img/twitter_circle.png">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<a id="uLogin" class="janrainEngage loginLink" href="#">User Sign-on</a>
<div class="span7 offset1">
<ul class="nav nav-tabs lTabs">
<li class="active">
<a href="index.html">Home</a>
</li>
<li><a id="hiwtab" href="#hiw">How it Works</a></li>
<li><a href="#">Locations</a></li>
<li><a href="#">About Us</a></li>
</ul>
</div>
</div>
</div>
<div id="hero">
<div class="fluid-container">
<div class="row-fluid">
<div id="heroBlock" class="span3 offset7">
<div class="heroMess">
Multiple Workout Types
</div>
<img class="heroimg" src="assets/img/multiplewt.png">
<div class="heroBreak">
</div>
<div class="heroMess">
Multiple Locations
</div>
<img class="heroimg" src="assets/img/locmap.png">
<div class="heroBreak">
</div>
</div>
</div>
</div>
<div id="heroOverlay">
<div class="fluid-container">
<div class="row-fluid">
<div id="heroOverlayTitle" class="span4 offset1">
Take the pain out of<br> gym memberships
</div>
<div id="heroOverlayMess" class="span5 offset1">
FitStew lets you work out as often as you want, and only pay when you
go to the gym. There are never any long-term commitments or contracts,
hidden fees, or stressful cancellations. No pain, all gain.
</div>
</div>
</div>
</div>
</div>
<div id="hiw">
<div class="fluid-container">
<div id="hiwHeader" class="row-fluid">
<div id="slo" class="span8 offset2">
<div class="span3 offset1">
<img class="hiwArr" src="assets/img2/leftArr.png">
</div>
<div class="span5 hiwtext">
How does it work?
</div>
<div class="span3">
<img class="hiwArr" src="assets/img2/rightArr.png">
</div>
</div>
</div>
<div id="hiwcont" class="row-fluid">
<div class="span10 offset1">
<div class="span5 nuhiw">
<div id="nuheader">
<div class="span7">
<div id="nuheadertext">
Gym Goers
</div>
</div>
<div class="span2">
<a class="hiwbutton nubutton hiwheaderbutton janrainEngage" href="#">Sign Up</a>
</div>
</div>
<div class="row-fluid">
<div class="span7 offset1 hiwrow">
<div class="row-fluid majorText green">
Step 1
</div>
<div class="row-fluid minorText">
Create your account
</div>
</div>
<div class="span4 hiwrowimg">
<img src="assets/img2/ustep1.png">
</div>
</div>
<div class="row-fluid">
<div class="span7 offset1 hiwrow">
<div class="row-fluid majorText green">
Step 2
</div>
<div class="row-fluid minorText">
Find a gym in your area
</div>
</div>
<div class="span4 hiwrowimg">
<img src="assets/img2/ustep2.png">
</div>
</div>
<div class="row-fluid">
<div class="span7 offset1 hiwrow">
<div class="row-fluid majorText green">
Step 3
</div>
<div class="row-fluid minorText">
Check the class schedule and reserve your spot
</div>
</div>
<div class="span4 hiwrowimg">
<img src="assets/img2/ustep3.png">
</div>
</div>
<div class="row-fluid hiwbuttonrow">
<div class="span4 offset3">
<a class="hiwbutton nubutton hiwsignup janrainEngage" href="#">Sign Up</a>
</div>
</div>
</div>
<div class="span2">
</div>
<div class="span5 nghiw">
<div id="ngheader">
<div class="span7">
<div id="ngheadertext">
Gym Owners
</div>
</div>
<div class="span2">
<a class="hiwbutton ngbutton hiwheaderbutton janrainEngage" href="#">Join</a>
</div>
</div>
<div class="row-fluid">
<div class="span7 offset1 hiwrow">
<div class="row-fluid majorText blue">
Step 1
</div>
<div class="row-fluid minorText">
Create your account
</div>
</div>
<div class="span4 hiwrowimg">
<img src="assets/img2/gstep1.png">
</div>
</div>
<div class="row-fluid">
<div class="span7 offset1 hiwrow">
<div class="row-fluid majorText blue">
Step 2
</div>
<div class="row-fluid minorText">
Build your profile page and share your class schedules
</div>
</div>
<div class="span4 hiwrowimg">
<img src="assets/img2/gstep2.png">
</div>
</div>
<div class="row-fluid">
<div class="span7 offset1 hiwrow">
<div class="row-fluid majorText blue">
Step 3
</div>
<div class="row-fluid minorText">
Sit back and let the customers come to you. It's that easy!
</div>
</div>
<div class="span4 hiwrowimg">
<img src="assets/img2/gstep3.png">
</div>
</div>
<div class="row-fluid hiwbuttonrow">
<div class="span4 offset3">
<a class="hiwbutton ngbutton hiwsignup janrainEngage" href="#">Join</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footBar">
<div class="row-fluid">
<div class="span12 footer">
<div id="footImage">
<img src='assets/img/logo.png'>
</div>
<div id="footLinks">
<a href="index.html#hiw">How it works</a> | <a href="#">Locations</a> | <a href="#">Contact Us</a> | <a href="#">Faq</a> | <a href="#">Privacy Policy</a> | <a href="#">Site Map</a>
</div>
<div id="footCopy">
© 2013 FitStew. All Rights Reserved. Use of this website constitutes acceptance of the FitStew Terms and Conditions and Privacy Policy.
</div>
</div>
</div>
</div>
</body>
</html>