forked from stormpath/idsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
631 lines (575 loc) · 28.6 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
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
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Login</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,300,400italic,400,600italic,600,700italic,700,800italic,800" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="styles/main.css">
<script src="scripts/vendor.js"></script>
</head>
<body ng-app="stormpathIdpApp">
<script type="text/ng-template" id="views/login.html">
<div class="view login-view" ng-show="ready">
<div class="box row">
<div class="email-password-area col-xs-12" ng-class="[hasProviders ? 'small col-sm-8' : 'large col-sm-12']">
<div class="header">
<span>Log In</span>
<span ng-show="canRegister" wd-can-register>
<span> or </span>
<a href="#register">Create an Account</a>
</span>
</div>
<div class="alert alert-danger bad-login" ng-show="errors.badLogin">
Invalid username or password.
</div>
<div class="alert alert-danger not-found" ng-show="errors.notFound">
<span>Account does not exist. Do you need to </span>
<a href="#/register">create an account</a>
<span>?</span>
</div>
<div class="alert alert-danger" ng-show="errors.unknown">An unkown error has occurred</div>
<div class="alert alert-danger" ng-show="errors.emailPasswordRequired">Please enter your email and password.</div>
<div class="alert alert-danger" ng-show="errors.userMessage">
<strong>Sorry, an error occured. Please return to the previous page and try again.</strong>
<br/>
<br/>
<p>{{errors.userMessage}}</p>
</div>
<form class="login-form form-horizontal" role="form" ng-submit="submit()">
<div class="form-group group-email" ng-show="showOrganizationField" ng-class="{'has-error': (errors.organizationNameKeyInvalid || errors.organizationNameKeyRequired)}">
<label ng-class="[hasProviders ? 'col-sm-12' : 'col-sm-4']">Organization</label>
<div ng-class="[hasProviders ? 'col-sm-12' : 'col-sm-8']">
<input class="form-control" type="text" name="organizationNameKey" ng-model="organizationNameKey" placeholder="Organization" ng-disabled="disableOrganizationField"/>
<span ng-if="errors.organizationNameKeyRequired" class="help-block">
An organization name is required.
</span>
<span ng-if="errors.organizationNameKeyInvalid" class="help-block">
Invalid Organization Name.
</span>
</div>
</div>
<div class="form-group group-email">
<label ng-class="[hasProviders ? 'col-sm-12' : 'col-sm-4']">Email</label>
<div ng-class="[hasProviders ? 'col-sm-12' : 'col-sm-8']">
<input class="form-control" type="text" name="username" ng-model="username" placeholder="Email"/>
</div>
</div>
<div class="form-group group-password">
<label ng-class="[hasProviders ? 'col-sm-12' : 'col-sm-4']">Password</label>
<div ng-class="[hasProviders ? 'col-sm-12' : 'col-sm-8']">
<input class="form-control" type="password" name="password" ng-model="password" placeholder="Password"/>
</div>
</div>
<div class="form-group group-remember-me">
<div class="col-sm-8" ng-class="[hasProviders ? '' : 'col-sm-offset-4']">
<input type="checkbox" id="remember">
<label for="remember">Remember me</label>
</div>
</div>
<div>
<button class="login btn btn-login btn-sp-green" type="submit" ng-disabled="submitting">Log In</button>
</div>
</form>
</div>
<div class="provider-area col-xs-12 col-sm-4" ng-show="hasProviders">
<div class="header"> </div>
<label>Easy 1-click login:</label>
<button ng-repeat="provider in providers" class="btn btn-social btn-{{provider.providerId}}" ng-click="providerLogin(provider)">{{provider.accountStore ? provider.accountStore.name : provider.providerId}}</button>
</div>
</div>
<a class="forgot" href="#forgot">Forgot Password?</a>
</div>
</script>
<script type="text/ng-template" id="views/registration.html">
<div class="view registration-view">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span>Create an Account</span>
</div>
<form class="registration-form form-horizontal sp-form" role="form" ng-controller="RegistrationFormCtrl" ng-submit="submit()">
<div class="alert alert-danger" ng-show="unknownError">
<strong>Sorry, an error occured. The message was:</strong>
<br/>
<br/>
<p>{{unknownError}}</p>
</div>
<div class="alert alert-danger" ng-show="knownError">
<p>{{knownError}}</p>
</div>
<div class="form-group group-first-name" form-group>
<label class="col-sm-4">First Name</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="givenName" form-control name-validation validate-on-blur/>
<small class="help-block" ng-show="validationError">First name is required</small>
</div>
</div>
<div class="form-group group-last-name" form-group>
<label class="col-sm-4">Last Name</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="surname" form-control name-validation validate-on-blur/>
<small class="help-block" ng-show="validationError">Last name is required</small>
</div>
</div>
<div class="form-group group-email" form-group>
<label class="col-sm-4">Email</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="email" form-control email-validation validate-on-blur/>
<small class="help-block duplicate-user" ng-show="errors.duplicateUser">Email address is already registered</small>
<small class="help-block validation-error" ng-show="validationError">Invalid email address</small>
</div>
</div>
<div class="form-group group-password" form-group>
<label class="col-sm-4">Password</label>
<div class="col-sm-8">
<input type="password" class="form-control" name="password" form-control password-policy-validation validate-on-blur/>
<div ng-include="'views/password-error-messages.html'"></div>
</div>
</div>
<div class="form-group group-confirm-password" form-group>
<label class="col-sm-4">Confirm Password</label>
<div class="col-sm-8">
<input type="password" class="form-control" name="passwordConfirm" form-control password-match-validation validate-on-blur/>
<small class="help-block" ng-show="validationError">Password does not match</small>
</div>
</div>
<button class="btn btn-register btn-sp-green" type="submit" ng-disabled="submitting">Create Account</button>
</form>
</div>
</div>
<a class="to-login" href="#/">Back to Log In</a>
</div>
</script>
<script type="text/ng-template" id="views/forgot.html">
<div class="view forgot-view" ng-show="ready">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span ng-show="!sent && !retry">Password Reset</span>
<span ng-show="retry">Reset link has expired</span>
<span ng-show="sent">Please check your mail.</span>
</div>
<div class="wd-sent" ng-show="sent">
<p>
<span>We've sent a password reset link to </span>
<strong>{{fields.email.value}}</strong>.
</p>
<p> </p>
</div>
<form class="forgot-form form-horizontal sp-form" role="form" ng-submit="submit()" ng-show='!sent'>
<div class="form-group group-email" ng-show="showOrganizationField" ng-class="{'has-error': (errors.organizationNameKeyInvalid || errors.organizationNameKeyRequired)}">
<label class="col-sm-6">Organization</label>
<div class="col-sm-6">
<input class="form-control" type="text" name="organizationNameKey" ng-model="organizationNameKey" placeholder="Organization" ng-disabled="disableOrganizationField"/>
<span ng-if="errors.organizationNameKeyRequired" class="help-block">
An organization name is required.
</span>
<span ng-if="errors.organizationNameKeyInvalid" class="help-block">
Invalid Organization Name.
</span>
</div>
</div>
<div class="form-group group-email" ng-class="{'has-error':notFound}" form-group>
<label class="col-sm-6" ng-hide="retry">Send password reset instructions to:</label>
<label class="col-sm-6" ng-show="retry">Send new password reset email to:</label>
<div class="col-sm-6">
<input type="text" class="form-control" name="email" placeholder="Email" form-control email-validation validate-on-blur/>
<small class="help-block wd-invalid-email" ng-show="validationError">Invalid email address</small>
<small class="help-block wd-not-found" ng-show="notFound"><span>Account does not exist.</span></small>
</div>
</div>
<div class="alert alert-danger" ng-show="unknownError">
<strong>Sorry, an error occured. Please return to the previous page and try again.</strong>
<br/>
<br/>
<p>{{unknownError}}</p>
</div>
<button class="btn btn-forgot btn-sp-green" ng-disabled="submitting" type="submit">Reset Password</button>
</form>
</div>
</div>
<a ng-show="!sent" class="to-login" href="#/" wd-back-to-login>Back to Log In</a>
</div>
</script>
<script type="text/ng-template" id="views/reset.html">
<div class="view reset-view" ng-show="status!=='loading'">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span ng-show="status=='verified'">Password Reset</span>
<span ng-show="status=='failed'">Sorry! Something went wrong.</span>
<span ng-show="status=='success'">You have successfully changed your password.</span>
</div>
<div ng-show="status=='failed'">
<p>
<span>You will need to make a new password reset request.</span>
<a href="#/forgot">Click here to try again</a>
</p>
<p> </p>
</div>
<div wd-success ng-show="status==='success'">
<p>
<span>You may now </span>
<a href="#/">log in</a>
</p>
<p> </p>
</div>
<div ng-show="error" class="alert alert-danger">
<p><strong>The error was:</strong></p>
<p>{{error}}</p>
</div>
<form class="reset-form form-horizontal sp-form" role="form" ng-show="status=='verified'" ng-submit="submit()">
<div class="form-group group-password" form-group>
<label class="col-sm-4">New Password</label>
<div class="col-sm-8">
<input type="password" class="form-control" name="password" form-control password-policy-validation validate-on-blur/>
<div ng-include="'views/password-error-messages.html'"></div>
</div>
</div>
<div class="form-group group-confirm-password" form-group>
<label class="col-sm-4">Confirm Password</label>
<div class="col-sm-8">
<input type="password" class="form-control" name="passwordConfirm" form-control password-match-validation validate-on-blur/>
<small wd-pw-mismatch class="help-block" ng-show="validationError">Password does not match</small>
</div>
</div>
<div class="alert alert-danger" ng-show="unknownError">
<strong>Sorry, an error occured. Please return to the previous page and try again.</strong>
<br/>
<br/>
<p>{{unknownError}}</p>
</div>
<button class="btn btn-reset btn-sp-green" type="submit" ng-disabled="submitting">Submit</button>
</form>
</div>
</div>
</div>
</script>
<script type="text/ng-template" id="views/verify.html">
<div class="view verify-view" ng-show="status!=='loading'">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span ng-show="status=='verified'">Your account has been successfully created</span>
<span ng-show="status=='failed'">Sorry, there was an error while verifying your account</span>
</div>
<div class="verified" ng-show="status=='verified'">
<p>
<span>Success! Your account is ready, please </span>
<a href="#/">log in</a>
</p>
</div>
<div ng-show="error" class="alert alert-danger">
<strong>{{error}}</strong>
</div>
<div class="verification-failed" ng-show="status=='failed'">
<p>
<span>Please try again by clicking on the verification link that was sent to your email address.</span>
</p>
<p>
<span>If you continue to have problems you may need to</span>
<a href="#/register">register</a>
<span>again.</span>
</p>
</div>
</div>
</div>
</div>
</script>
<script type="text/ng-template" id="views/unverified.html">
<div class="view unverified-view">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span>Check Your Email</span>
</div>
<p>Your account has been successfully created! Check your email and activate your account.</p>
</div>
</div>
</div>
</script>
<script type="text/ng-template" id="views/mfa-setup.html">
<div class="view mfa-view" ng-show="status !== 'loading'" >
<div class="overview" ng-if="!factor">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span>Two-Factor Authentication Required</span>
</div>
<div class="sub-header">
<span>To protect your account from unauthorized access, we require that you set up an additional factor to verify your identity when logging in. Please choose a method to set up now:</span>
</div>
<div class="factors">
<div class="factor {{factor.id}}" ng-repeat="factor in factors" ng-click="selectFactor(factor.id)">
<p class="icon"><img src="/images/factors/{{factor.id}}.png" class="shrink-2x" /></p>
<p class="title">{{factor.title}}</p>
<p class="sub-title">{{factor.subTitle}}</p>
</div>
</div>
</div>
</div>
</div>
<div class="sms-factor" ng-if="factor.id === 'sms'">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span>Set Up SMS Authentication</span>
</div>
<div class="sub-header">
<span>Enter a phone number that you can receive SMS text messages at. You'll need to have access to this phone when logging into your account.</span>
</div>
<div ng-show="smsFactor.state == 'invalid_phone_number'" class="alert alert-danger">
Invalid phone number.
</div>
<div ng-show="smsFactor.state == 'duplicate_phone_number'" class="alert alert-danger">
That phone number has already been setup for this account.
</div>
<div>
<form ng-submit="createSmsFactor()">
<input placeholder="(555) 123-1234" ng-model="smsFactor.phoneNumber" ng-focus>
<button type="submit">Continue</button>
</form>
</div>
</div>
</div>
<div class="other-options" ng-if="factors.length > 1">
<p><a href="/#/mfa/setup/">Choose a Different Method</a></p>
</div>
</div>
<div class="google-authenticator-factor" ng-if="factor.id === 'google-authenticator'">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span>Set Up Google Authenticator</span>
</div>
<div class="sub-step step-1">
<div class="header">
<span class="number">1</span>
<span class="description">Install and open Google Authenticator on your mobile device.</span>
</div>
<div class="body">
<p class="screen-mobile">
<a href="https://itunes.apple.com/us/app/google-authenticator/id388497605" target="blank"><img src="/images/app-store-button.png"></a><br><br>
<a href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2" target="blank"><img src="/images/google-play-button.png"></a><br>
</p>
<p class="screen-desktop">
<img src="/images/google-authenticator-logo.png"> Search the App Store or Play Store<br>for "Google Authenticator".
</p>
</div>
<hr>
</div>
<div class="sub-step step-2">
<div class="header">
<span class="number">2</span>
<span class="description">Add this account to Google Authenticator.</span>
</div>
<div class="body">
<p><img src="/images/plus.png"> Tap the plus icon.</p>
<div class="screen-desktop">
<p><img src="/images/camera.png"> Scan this barcode:</p>
<p><img class="qr-code" data-ng-src="data:image/png;base64,{{googleAuthenticator.base64QRImage}}" /></p>
</div>
<div class="screen-mobile">
<p><img src="/images/edit.png"> Paste in this code:</p>
</div>
<p class="secret">
{{factor.secret}}
</p>
</div>
<hr>
</div>
<div class="sub-step step-3">
<div class="header">
<span class="number">3</span>
<span class="description">Enter the code shown in Google Authenticator.</span>
</div>
<div class="body">
<div ng-show="googleAuthenticator.state == 'invalid_code'" class="alert alert-danger">
Invalid code. Check that you've entered the current code shown in Google Authenticator.
</div>
<div>
<form ng-submit="verifyGoogleAuthenticatorCode()">
<input placeholder="6-digit code" ng-model="googleAuthenticator.code" ng-focus>
<button type="submit">Continue</button>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="other-options" ng-if="factors.length > 1">
<p><a href="/#/mfa/setup/">Choose a Different Method</a></p>
</div>
</div>
</div>
</script>
<script type="text/ng-template" id="views/mfa-verify.html">
<div class="view mfa-view" ng-show="status !== 'loading'" >
<div class="overview" ng-if="!factor">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span>Verification Required</span>
</div>
<div class="sub-header">
<span>Choose a method to verify access to your account:</span>
</div>
<div class="factors">
<div class="factor {{factor.id}}" ng-repeat="factor in factors" ng-click="selectFactor(factor.id)">
<p class="icon"><img src="/images/factors/{{factor.id}}.png" class="shrink-2x" /></p>
<p class="title">{{factor.title}}</p>
<p class="sub-title">{{factor.subTitle}}</p>
</div>
</div>
</div>
</div>
</div>
<div class="sms-factor" ng-if="factor.id === 'sms'">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span>Verification Required</span>
</div>
<div class="sub-header">
<span>We just sent a code to {{factor.phone.number}}. Enter the code you recieve here.</span>
</div>
<div ng-show="verification.state == 'invalid_code'" class="alert alert-danger">
Invalid code. Check that you've entered it correctly.
</div>
<div ng-show="verification.state == 'resent_code'" class="alert alert-info">
Replacement code sent.
</div>
<div>
<form ng-submit="verifyCode()">
<input placeholder="6-digit code" ng-model="verification.code" ng-focus>
<button type="submit">Continue</button>
</form>
</div>
</div>
</div>
<div class="other-options">
<p><a ng-click="resendSmsCode()">Re-send Code</a></p>
<p><a ng-click="changeSmsPhoneNumber()" ng-if="isFirstVerification">Change Phone Number</a></p>
<p ng-if="otherFactorsAvailable"><a href="/#/mfa/setup/">Choose a Different Method</a></p>
</div>
</div>
<div class="google-authenticator-factor" ng-if="factor.id === 'google-authenticator'">
<div class="box row">
<div class="col-sm-12">
<div class="header">
<span>Verification Required</span>
</div>
<div class="sub-header">
<span>
Open your Google Authenticator app on your mobile device and enter the code shown for entry
<strong>{{factor.issuer}}</strong>
(<span>{{factor.accountName}}</span>).
</span>
</div>
<div ng-show="verification.state == 'invalid_code'" class="alert alert-danger">
Invalid code. Check that you've entered the current code shown in Google Authenticator.
</div>
<div>
<form ng-submit="verifyCode()">
<input placeholder="6-digit code" ng-model="verification.code" ng-focus>
<button type="submit">Continue</button>
</form>
</div>
</div>
</div>
</div>
</div>
</script>
<script type="text/ng-template" id="views/mfa-redirect.html">
<div class="view mfa-redirect">
<div class="icon">
<img src="/images/success.png">
</div>
<div class="header">
<span ng-if="source === 'verification'">Verification Successful</span>
<span ng-if="source === 'setup'">Additional Factor Verified</span>
</div>
<p class="description">
<span ng-if="source === 'verification'">You'll be redirected to your application shortly.</span>
<span ng-if="source === 'setup'">You're all set. You'll be redirected to your application shortly.</span>
</p>
<p class="spinner">
<img src="/images/spinner.gif">
</p>
</div>
</script>
<script type="text/ng-template" id="views/error.html">
<div class="view error-view">
<div class="row">
<div class="col-sm-12">
<p> </p>
<h2 class="text-center">Sorry! There was a problem.</h2>
<hr>
<div class="alert alert-warning">
<p>
Please use your browser's back button to return to the previous page, then try again.
</p>
</div>
<p class="alert">
If this problem persists, please provide this error information to your support team:
</p>
<div class="well text-center">
<div class="" ng-repeat="e in errors">
<strong>{{e}}</strong>
</div>
</div>
</div>
</div>
</div>
</script>
<script type="text/ng-template" id="views/password-error-messages.html">
<small class="help-block" ng-show="errors.minLength" wd-minLength>Password is too short</small>
<small class="help-block" ng-show="errors.maxLength" wd-maxLength>Password is too long</small>
<small class="help-block" ng-show="errors.requireNumeric" wd-requireNumeric>Password requires a number</small>
<small class="help-block" ng-show="errors.requireSymbol" wd-requireSymbol>Password requires a symbol</small>
<small class="help-block" ng-show="errors.requireDiacritical" wd-requireDiacritical>Password requires a diacritical character</small>
<small class="help-block" ng-show="errors.requireUpperCase" wd-requireUpperCase>Password requires a uppercase letter</small>
<small class="help-block" ng-show="errors.requireLowerCase" wd-requireLowerCase>Password requires a lowercase letter</small>
</script>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="container" ng-controller="ErrorCtrl" ng-cloak>
<div class="logo-container">
<img ng-show="logoUrl" class="logo img-responsive" ng-src="{{logoUrl}}"/>
</div>
<div ng-show="inError" ng-include="'views/error.html'"></div>
<div ng-hide="inError" ng-view="">
<!-- this will be replaced a the view, as determined by the route config in app.js -->
</div>
</div>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-X');
ga('send', 'pageview');
</script>
<!--[if lt IE 9]>
<script src="scripts/iecompat.js"></script>
<![endif]-->
<script src="scripts/app.js"></script>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/client:plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</body>
</html>