This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.jade
46 lines (42 loc) · 1.59 KB
/
index.jade
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
extends layout
block append header
script(type='text/javascript')
$(document).ready(function() {
if ($.browser.msie) {
if ($.browser.version < 9) {
$('div#nike-login').hide();
$('div#browser-update').show();
}
}
});
block append main
div.row
div.logo.span12
img(src='/img/header.png', width='820', height='110')
div.row
div.span8
h1 Welcome to eagerfeet!
p This website allows you to export your run data from Nike+ so you can import it into programs or other websites like Strava or RunKeeper. The data is exported using a format called GPX, which is a common exchange format for GPS data. Heart rate data is included when available.
p Use the button below to log in using your Nike+ credentials. Once logged in, you will see a list of your runs. Use the download buttons to download your data.
p For more details and updates,
a(href='http://blog.eagerfeet.org/')
| check out the blog
| or
a(href='http://twitter.com/eagerfeet')
| follow me on twitter
| .
if (userID)
a(href='/export')
| Go to export page
else
div#nike-login
script(id='nikeoauth',
data-clientid='#{nikeClientID}',
data-userid='nobody',
src='https://www.nike.com/profile/assets/oauth/js/nikeoauth.min.js')
div#browser-update.alert.alert-error
h1 Your web browser is not supported!
p This is a small project run by a single person. I cannot test every change with outdated browsers or work around their myriad little problems. Please
a(href='http://browser-update.org/update.html')
| download a modern browser
|!