-
Notifications
You must be signed in to change notification settings - Fork 123
/
index.html
170 lines (139 loc) · 5.49 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>the locker project</title>
<link rel="stylesheet" href="/static/css/jquery.mobile-1.0b2.min.css" />
<link rel="stylesheet" href="wizard/style.css" />
<script src="/static/js/jquery-1.6.2.min.js"></script>
<script src="/static/js/jquery.mobile-1.0b2.min.js"></script>
<script src="/static/js/jquery.odoticker.js"></script>
<script src="/static/js/raphael.js"></script>
</head>
<body>
<!-- Start of first page: #one -->
<div data-role="page" id="enter">
<div data-role="header" data-theme="b">
<h1>The Locker Project</h1>
</div><!-- /header -->
<div data-role="content" id="one">
<div class="login-badge" >
<div>
<h3>
Welcome to your Locker.
</h3>
<div>
You can store all your Photos, Contacts, and Links here, simply by connecting to the websites you already know and love. <br/><br/>As your digital life expands, so will your Locker, creating a vibrant record of how you interact with the online and physical world around you.
</div>
</div>
<div style="clear: both;"></div>
</div>
<div class="login-badge-actions"><p><a href="#popup"data-role="button" data-rel="dialog" data-transition="pop">Lets get started!</a></p></div>
</div>
</div><!-- /content -->
<div data-role="footer" data-theme="d" data-id="myfooter" data-position="fixed">
<h4></h4>
</div><!-- /footer -->
</div><!-- /page one -->
<!-- Start of third page: #popup -->
<div data-role="page" id="noApiKeys">
<div data-role="header" data-theme="b">
<h1>Oh, snap</h1>
</div><!-- /header -->
<div data-role="content">
<h3>No apikeys.json</h3>
<p>In order to run a locker yourself, you need to add in a file
called apikeys.json that has the appKey and appSecret for at
least one service. For example:</p>
<pre>
{"facebook": {"appKey": "YOUR-APP-KEY", "appSecret": "YOUR-APP-SECRET"}}
</pre>
<p>To get these keys, please see our wiki page: <a rel="external"
href="https://github.com/LockerProject/Locker/wiki/GettingAPIKeys">How to get API keys for use with a locker</a>
<p>Please add apikeys.json, and restart lockerd.js.</p>
</div>
</div>
<!-- Start of third page: #popup -->
<div data-role="page" id="popup" data-theme="b">
<div data-role="header" data-theme="b">
<h1>Setup your Locker</h1>
</div><!-- /header -->
<div data-role="content" data-theme="d">
<div class="collection-count-panel" id="wizard-collections" style="display:none;">
<div class="info">What's in your locker so far?</div>
<div class="collection-status">
<div class="count" id="photosCount"> </div>
<label for="photoCount">Photos</label>
<div class="clear"></div>
</div>
<div class="collection-status">
<div class="count" id="contactsCount"> </div>
<label for="contactCount">Contacts</label>
<div class="clear"></div>
</div>
<div class="collection-status">
<div class="count" id="linksCount"> </div>
<label for="linkCount">Links</label>
<div class="clear"></div>
</div>
</div>
<h2>Click on the service you'd like to add first:</h2>
<p>Before you can use your Locker, you need to add at least one service.</p>
<div class="ui-grid-d connector-panel">
<div class="ui-block-a" id="facebookConnect" >
<div class="ui-bar connector-button">
<a href="javascript:;" target="_blank" rel="external"
onclick="accountPopup(this.href); return false;">
<img src="wizard/img/icons/facebook/facebook_72.png" /><br/>
Facebook
</a>
</div>
<div class="spinner"></div>
</div>
<div class="ui-block-b" id="twitterConnect">
<div class="ui-bar connector-button">
<a href="javascript:;" target="_blank" rel="external"
onclick="accountPopup(this.href); return false;">
<img src="wizard/img/icons/twitter/twitter_72.png" /><br/>Twitter<br/></a>
</div>
<div class="spinner"></div>
</div>
<div class="ui-block-c" id="gcontactsConnect">
<div class="ui-bar connector-button">
<a href="javascript:;" target="_blank" rel="external"
onclick="accountPopup(this.href); return false;">
<img src="wizard/img/icons/google/google_72.png" /><br/>Google<br/>Contacts</a>
</div>
<div class="spinner"></div>
</div>
<div class="ui-block-d" id="githubConnect">
<div class="ui-bar connector-button">
<a href="javascript:;" target="_blank" rel="external"
onclick="accountPopup(this.href); return false;">
<img src="wizard/img/icons/github/github_72.png" /><br/>GitHub
</a>
</div>
<div class="spinner"></div>
</div>
<div class="ui-block-e" id="foursquareConnect">
<div class="ui-bar connector-button">
<a href="javascript:;" target="_blank" rel="external"
onclick="accountPopup(this.href); return false;">
<img src="wizard/img/icons/foursquare/foursquare_72.png" /><br/>Foursquare
</a>
</div>
<div class="spinner"></div>
</div>
</div>
<div class="actions right" style="display:none;" id="wizard-actions">
<p><a href="/dashboard" rel="external" data-role="button" data-inline="true" data-icon="check">Next</a></p>
</div>
</div><!-- /content -->
<div data-role="footer" data-theme="d">
<h4></h4>
</div><!-- /footer -->
</div><!-- /page popup -->
<script type="text/javascript" src="wizard/client.js"></script>
</body>
</html>