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
/
Copy pathindex.html
330 lines (312 loc) · 11.8 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
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
<!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/landing.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/fitstew-web/engage.js';
} else {
e.src = 'http://widget-cdn.rpxnow.com/js/lib/fitstew-web/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://dev.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://localhost/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">
<div class="span4">
<div class="logo">
<img src="assets/img/logo.png">
</div>
</div>
<div id="loginBlock" class="span2 offset4">
<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" class="span2">
<!--Follow-->
<div id="socIcons">
<!-- <img src="assets/img/fbook_circle.png"> -->
<div class="fb-like" data-href="http://www.fitstew.com" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div>
<img src="assets/img/twitter_circle.png">
</div>
<!--<br> Us:-->
</div>
<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>
</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 src="assets/img/multiplewt.png">
<div class="heroBreak">
</div>
<div class="heroMess">
Multiple Locations
</div>
<img 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="span8 offset2">
FitStew let's you pay as you go while attending multiple gyms.
</div>
</div>
<div class="row-fluid">
<div id="heroOverlayMess" class="span8 offset2">
You can work out as little or as much as you want and only pay when you go to the gym.<br>
With FitStew there are never any long term commitments or contracts.
</div>
</div>
</div>
</div>
</div>
<div id="hiw" class="greenBreak">
<div class="overLine">
<div class="midLine">
<div class="midLineText">
Gym goers, How it works
</div>
</div>
</div>
</div>
<div id="gghiw">
<div class="fluid-container">
<div class="row-fluid">
<div class="span2 offset2 hiwCircle">
<img src="assets/img/hiw1-1.png">
SIGN UP create your account
</div>
<div class="span1 hiwArrow">
<img src="assets/img/hiw_arrow.png">
</div>
<div class="span2 hiwCircle">
<img src="assets/img/hiw1-2-1.png">
Locate a gym in your area
</div>
<div class="span1 hiwArrow">
<img src="assets/img/hiw_arrow.png">
</div>
<div class="span2 hiwCircle">
<img src="assets/img/hiw1-3.png">
Find a class you want to attend and reserve your spot It's that simple
</div>
</div>
</div>
</div>
<div class="blueBreak">
<div class="overLine">
<div class="midLine">
<div class="midLineText">
Gym owners, How it works
</div>
</div>
</div>
</div>
<div id="phiw">
<div class="fluid-container">
<div class="row-fluid">
<div class="span2 offset2 hiwCircle">
<img src="assets/img/hiw2-1.png">
If you own a gym and want to share your class schedules SIGN UP for an account
</div>
<div class="span1 hiwArrow">
<img src="assets/img/hiw_arrow_blue.png">
</div>
<div class="span2 hiwCircle">
<img src="assets/img/hiw2-2.png">
Build your profile page
</div>
<div class="span1 hiwArrow">
<img src="assets/img/hiw_arrow_blue.png">
</div>
<div class="span2 hiwCircle">
<img src="assets/img/hiw2-3.png">
Wait for new customers to start attending your gym It's that easy
</div>
</div>
</div>
</div>
<div id="pShow">
<div class="overLine">
<div class="midLine">
<div class="midLineText">
Partners
</div>
</div>
</div>
</div>
</div>
<div id="footBar">
<div class="overLine">
<div class="midLine">
<div class="midLineText">
</div>
</div>
</div>
<div class="span12 footer">
<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
</div>
</div>
</div>
</body>
</html>