okkez-multi_auth 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README +14 -1
- data/app/views/auth/open_id/index.html.erb +21 -12
- data/config/{smtp.yml.example → smtp.yml.sample} +0 -0
- data/db/test.sqlite3 +0 -0
- data/generators/multi_auth_migration/USAGE +1 -1
- data/generators/multi_auth_public_assets/USAGE +5 -0
- data/generators/multi_auth_public_assets/multi_auth_public_assets_generator.rb +27 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/favicons/livedoor.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/favicons/mixi.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/favicons/yahoo.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/add.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/bin.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/bomb.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/cog.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/delete.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/email-with-desc.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/email.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/feed.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/help.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/key-with-desc.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/key.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/lightning.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/plugin.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/stop.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/table_save.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/tick.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/user.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/fam/vcard.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/openid-with-desc.png +0 -0
- data/{public → generators/multi_auth_public_assets/templates}/images/icons/openid.png +0 -0
- data/generators/{multi_auth_style_sheet → multi_auth_public_assets}/templates/style.css +0 -97
- data/rails/init.rb +6 -0
- data/test/unit/multi_auth_public_assets_generator_test.rb +55 -0
- metadata +30 -52
- data/generators/multi_auth_style_sheet/multi_auth_style_sheet_generator.rb +0 -13
- data/public/404.html +0 -92
- data/public/422.html +0 -91
- data/public/500.html +0 -92
- data/public/503.html +0 -92
- data/public/favicon.ico +0 -0
- data/public/images/battery/cell.png +0 -0
- data/public/images/battery/level-green.png +0 -0
- data/public/images/battery/level-orange.png +0 -0
- data/public/images/battery/level-red.png +0 -0
- data/public/images/battery/level-yellow.png +0 -0
- data/public/images/battery/style.html +0 -82
- data/public/images/h1-back.png +0 -0
- data/public/images/logo-back.png +0 -0
- data/public/images/logo.png +0 -0
- data/public/images/side-column-back.png +0 -0
- data/public/javascripts/application.js +0 -2
- data/public/javascripts/controls.js +0 -963
- data/public/javascripts/dragdrop.js +0 -973
- data/public/javascripts/effects.js +0 -1128
- data/public/javascripts/prototype.js +0 -4320
- data/public/robots.txt +0 -5
- data/public/stylesheets/application.css +0 -365
- data/public/stylesheets/auth.css +0 -22
- data/public/stylesheets/home.css +0 -114
data/public/robots.txt
DELETED
@@ -1,365 +0,0 @@
|
|
1
|
-
|
2
|
-
/* generic */
|
3
|
-
|
4
|
-
*
|
5
|
-
{
|
6
|
-
margin: 0;
|
7
|
-
padding: 0;
|
8
|
-
}
|
9
|
-
|
10
|
-
body
|
11
|
-
{
|
12
|
-
width: 100%;
|
13
|
-
background-color: #F0F0F0;
|
14
|
-
}
|
15
|
-
|
16
|
-
a
|
17
|
-
{
|
18
|
-
color: #0066CC;
|
19
|
-
text-decoration: none;
|
20
|
-
}
|
21
|
-
|
22
|
-
a:hover
|
23
|
-
{
|
24
|
-
text-decoration: underline;
|
25
|
-
}
|
26
|
-
|
27
|
-
a img
|
28
|
-
{
|
29
|
-
border-width: 0;
|
30
|
-
}
|
31
|
-
|
32
|
-
/* head */
|
33
|
-
|
34
|
-
#head-outer
|
35
|
-
{
|
36
|
-
position: relative;
|
37
|
-
width: 100%;
|
38
|
-
min-width: 700px;
|
39
|
-
height: 120px;
|
40
|
-
background-color: #000000;
|
41
|
-
background-image: url(/images/logo-back.png);
|
42
|
-
background-repeat: repeat-x;
|
43
|
-
}
|
44
|
-
|
45
|
-
#head-inner
|
46
|
-
{
|
47
|
-
}
|
48
|
-
|
49
|
-
#head-logo
|
50
|
-
{
|
51
|
-
position: relative;
|
52
|
-
width: 350px;
|
53
|
-
}
|
54
|
-
#head-logo img
|
55
|
-
{
|
56
|
-
display: block;
|
57
|
-
}
|
58
|
-
|
59
|
-
#head-navi
|
60
|
-
{
|
61
|
-
position: absolute;
|
62
|
-
top: 95px;
|
63
|
-
right: 10px;
|
64
|
-
font-size: 13px;
|
65
|
-
line-height: 20px;
|
66
|
-
color: #CCCCCC;
|
67
|
-
}
|
68
|
-
#head-navi a
|
69
|
-
{
|
70
|
-
color: #99CCFF;
|
71
|
-
}
|
72
|
-
|
73
|
-
#head-ad
|
74
|
-
{
|
75
|
-
position: absolute;
|
76
|
-
width: 470px;
|
77
|
-
height: 62px;
|
78
|
-
top: 25px;
|
79
|
-
right: 20px;
|
80
|
-
}
|
81
|
-
|
82
|
-
/* body */
|
83
|
-
|
84
|
-
#body-outer-with-background,
|
85
|
-
#body-outer-without-background
|
86
|
-
{
|
87
|
-
position: relative;
|
88
|
-
width: 100%;
|
89
|
-
min-width: 700px;
|
90
|
-
}
|
91
|
-
|
92
|
-
#body-outer-with-background
|
93
|
-
{
|
94
|
-
background-image: url(../images/side-column-back.png);
|
95
|
-
background-repeat: repeat-y;
|
96
|
-
background-position: right;
|
97
|
-
}
|
98
|
-
|
99
|
-
#body-inner
|
100
|
-
{
|
101
|
-
}
|
102
|
-
|
103
|
-
#content-outer
|
104
|
-
{
|
105
|
-
}
|
106
|
-
|
107
|
-
#content-inner
|
108
|
-
{
|
109
|
-
padding: 10px;
|
110
|
-
}
|
111
|
-
|
112
|
-
#content-column-outer
|
113
|
-
{
|
114
|
-
margin: 0px 200px 0px 0px;
|
115
|
-
}
|
116
|
-
|
117
|
-
#content-column-inner
|
118
|
-
{
|
119
|
-
padding: 10px;
|
120
|
-
}
|
121
|
-
|
122
|
-
#side-column-outer
|
123
|
-
{
|
124
|
-
width: 200px;
|
125
|
-
min-height: 400px;
|
126
|
-
}
|
127
|
-
|
128
|
-
#side-column-inner
|
129
|
-
{
|
130
|
-
padding: 10px;
|
131
|
-
}
|
132
|
-
|
133
|
-
/* foot */
|
134
|
-
|
135
|
-
#foot-outer
|
136
|
-
{
|
137
|
-
width: 100%;
|
138
|
-
min-width: 700px;
|
139
|
-
border-width: 1px 0px 0px 0px;
|
140
|
-
border-style: solid;
|
141
|
-
border-color: #D0D0D0;
|
142
|
-
}
|
143
|
-
|
144
|
-
#foot-inner
|
145
|
-
{
|
146
|
-
padding: 20px;
|
147
|
-
}
|
148
|
-
|
149
|
-
#foot-powerd
|
150
|
-
{
|
151
|
-
float: right;
|
152
|
-
font-size: 90%;
|
153
|
-
font-weight: bold;
|
154
|
-
color: #999999;
|
155
|
-
}
|
156
|
-
#foot-powerd a
|
157
|
-
{
|
158
|
-
color: #333333;
|
159
|
-
}
|
160
|
-
|
161
|
-
#foot-github
|
162
|
-
{
|
163
|
-
font-size: 95%;
|
164
|
-
}
|
165
|
-
|
166
|
-
#foot-services
|
167
|
-
{
|
168
|
-
font-size: 90%;
|
169
|
-
color: #999999;
|
170
|
-
}
|
171
|
-
#foot-services a
|
172
|
-
{
|
173
|
-
color: #333333;
|
174
|
-
}
|
175
|
-
|
176
|
-
/* topic path */
|
177
|
-
|
178
|
-
#topic-path
|
179
|
-
{
|
180
|
-
padding: 0.1em 0.4em;
|
181
|
-
background-color: #E0E0E0;
|
182
|
-
color: #999999;
|
183
|
-
font-size: 90%;
|
184
|
-
}
|
185
|
-
|
186
|
-
#topic-path a
|
187
|
-
{
|
188
|
-
}
|
189
|
-
|
190
|
-
#topic-path em
|
191
|
-
{
|
192
|
-
color: #666666;
|
193
|
-
font-weight: bold;
|
194
|
-
font-style: normal;
|
195
|
-
}
|
196
|
-
|
197
|
-
/* for debug */
|
198
|
-
|
199
|
-
div.debug
|
200
|
-
{
|
201
|
-
margin-top: 1em;
|
202
|
-
background-color: #FFF0F0;
|
203
|
-
}
|
204
|
-
|
205
|
-
/* table.list */
|
206
|
-
|
207
|
-
table.list
|
208
|
-
{
|
209
|
-
border-collapse: collapse;
|
210
|
-
}
|
211
|
-
|
212
|
-
table.list thead tr th
|
213
|
-
{
|
214
|
-
padding: 0.4em;
|
215
|
-
border-width: 1px;
|
216
|
-
border-style: solid;
|
217
|
-
border-color: #F0F0F0;
|
218
|
-
color: #CCCCCC;
|
219
|
-
background-color: #333333;
|
220
|
-
}
|
221
|
-
|
222
|
-
table.list tbody tr
|
223
|
-
{
|
224
|
-
border-width: 1px;
|
225
|
-
border-style: solid;
|
226
|
-
border-color: #F0F0F0;
|
227
|
-
}
|
228
|
-
|
229
|
-
table.list tbody tr td
|
230
|
-
{
|
231
|
-
padding: 0.2em 0.4em;
|
232
|
-
border-width: 0;
|
233
|
-
}
|
234
|
-
|
235
|
-
table.list tbody tr.even td
|
236
|
-
{
|
237
|
-
background-color: #E0E0E0;
|
238
|
-
}
|
239
|
-
|
240
|
-
table.list tbody tr.odd td
|
241
|
-
{
|
242
|
-
background-color: #D0D0D0;
|
243
|
-
}
|
244
|
-
|
245
|
-
/* table.energies */
|
246
|
-
|
247
|
-
table.energies img
|
248
|
-
{
|
249
|
-
vertical-align: text-top;
|
250
|
-
}
|
251
|
-
|
252
|
-
table.energies thead tr th
|
253
|
-
{
|
254
|
-
font-size: 70%;
|
255
|
-
}
|
256
|
-
|
257
|
-
table.energies tbody tr td
|
258
|
-
{
|
259
|
-
font-size: 80%;
|
260
|
-
}
|
261
|
-
|
262
|
-
table.energies tfoot td
|
263
|
-
{
|
264
|
-
color: #999999;
|
265
|
-
text-align: right;
|
266
|
-
}
|
267
|
-
|
268
|
-
/* table.events */
|
269
|
-
|
270
|
-
table.events img
|
271
|
-
{
|
272
|
-
vertical-align: text-top;
|
273
|
-
}
|
274
|
-
|
275
|
-
table.events thead tr th
|
276
|
-
{
|
277
|
-
font-size: 70%;
|
278
|
-
}
|
279
|
-
|
280
|
-
table.events tbody tr td
|
281
|
-
{
|
282
|
-
font-size: 80%;
|
283
|
-
}
|
284
|
-
|
285
|
-
table.events tfoot td
|
286
|
-
{
|
287
|
-
color: #999999;
|
288
|
-
text-align: right;
|
289
|
-
}
|
290
|
-
|
291
|
-
/* battery */
|
292
|
-
|
293
|
-
div.battery-cell
|
294
|
-
{
|
295
|
-
margin: 0;
|
296
|
-
padding: 4px 7px 4px 5px;
|
297
|
-
width: 100px;
|
298
|
-
height: 13px;
|
299
|
-
background-image: url(/images/battery/cell.png);
|
300
|
-
background-repeat: no-repeat;
|
301
|
-
}
|
302
|
-
|
303
|
-
div.battery-level
|
304
|
-
{
|
305
|
-
margin: 0;
|
306
|
-
padding: 0;
|
307
|
-
width: 100px;
|
308
|
-
height: 13px;
|
309
|
-
}
|
310
|
-
|
311
|
-
div.battery-high,
|
312
|
-
div.battery-middle,
|
313
|
-
div.battery-low,
|
314
|
-
div.battery-empty
|
315
|
-
{
|
316
|
-
margin: 0;
|
317
|
-
padding: 0;
|
318
|
-
height: 13px;
|
319
|
-
background-repeat: repeat-x;
|
320
|
-
}
|
321
|
-
|
322
|
-
div.battery-high
|
323
|
-
{
|
324
|
-
background-image: url(/images/battery/level-green.png);
|
325
|
-
}
|
326
|
-
|
327
|
-
div.battery-middle
|
328
|
-
{
|
329
|
-
background-image: url(/images/battery/level-orange.png);
|
330
|
-
}
|
331
|
-
|
332
|
-
div.battery-low
|
333
|
-
{
|
334
|
-
background-image: url(/images/battery/level-yellow.png);
|
335
|
-
}
|
336
|
-
|
337
|
-
div.battery-empty
|
338
|
-
{
|
339
|
-
background-image: url(/images/battery/level-red.png);
|
340
|
-
}
|
341
|
-
|
342
|
-
/* signup-progress */
|
343
|
-
/* FIXME: 別ファイルに分離 */
|
344
|
-
|
345
|
-
ol#email-signup-progress
|
346
|
-
{
|
347
|
-
}
|
348
|
-
|
349
|
-
ol#email-signup-progress li
|
350
|
-
{
|
351
|
-
display: inline;
|
352
|
-
border-style: solid;
|
353
|
-
border-width: 1px;
|
354
|
-
border-color: black;
|
355
|
-
}
|
356
|
-
|
357
|
-
ol#email-signup-progress li.active
|
358
|
-
{
|
359
|
-
font-weight: bold;
|
360
|
-
}
|
361
|
-
|
362
|
-
ol#email-signup-progress li.inactive
|
363
|
-
{
|
364
|
-
font-weight: normal;
|
365
|
-
}
|
data/public/stylesheets/auth.css
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
#dialog
|
3
|
-
{
|
4
|
-
margin: 100px auto;
|
5
|
-
padding: 15px;
|
6
|
-
width: 500px;
|
7
|
-
border-width: 1px;
|
8
|
-
border-style: solid;
|
9
|
-
border-color: #CCCCCC;
|
10
|
-
}
|
11
|
-
#dialog h1
|
12
|
-
{
|
13
|
-
margin: 0 0 0.4em 0;
|
14
|
-
color: #666666;
|
15
|
-
font-size: 130%;
|
16
|
-
font-weight: bold;
|
17
|
-
}
|
18
|
-
.message
|
19
|
-
{
|
20
|
-
color: #999999;
|
21
|
-
font-size: 90%;
|
22
|
-
}
|
data/public/stylesheets/home.css
DELETED
@@ -1,114 +0,0 @@
|
|
1
|
-
|
2
|
-
h1
|
3
|
-
{
|
4
|
-
background-image: url(/images/h1-back.png);
|
5
|
-
background-repeat: repeat-x;
|
6
|
-
background-position: left center;
|
7
|
-
}
|
8
|
-
h1 span
|
9
|
-
{
|
10
|
-
padding-right: 0.2em;
|
11
|
-
background-color: #F0F0F0;
|
12
|
-
}
|
13
|
-
|
14
|
-
h2
|
15
|
-
{
|
16
|
-
background-image: url(/images/h1-back.png);
|
17
|
-
background-repeat: repeat-x;
|
18
|
-
background-position: left center;
|
19
|
-
}
|
20
|
-
h2 span
|
21
|
-
{
|
22
|
-
padding-right: 0.2em;
|
23
|
-
background-color: #F0F0F0;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* side-column */
|
27
|
-
|
28
|
-
#side-column-inner h1
|
29
|
-
{
|
30
|
-
margin-bottom: 8px;
|
31
|
-
color: #666666;
|
32
|
-
font-size: 16px;
|
33
|
-
font-weight: bold;
|
34
|
-
}
|
35
|
-
|
36
|
-
#side-column-inner hr
|
37
|
-
{
|
38
|
-
height: 1px;
|
39
|
-
margin: 8px 0px;
|
40
|
-
border: none;
|
41
|
-
background-color: #CCCCCC;
|
42
|
-
}
|
43
|
-
|
44
|
-
#signup-link
|
45
|
-
{
|
46
|
-
font-size: 22px;
|
47
|
-
font-weight: bold;
|
48
|
-
text-align: center;
|
49
|
-
}
|
50
|
-
#signup-free
|
51
|
-
{
|
52
|
-
margin-bottom: 10px;
|
53
|
-
font-size: 12px;
|
54
|
-
text-align: center;
|
55
|
-
color: #990000;
|
56
|
-
}
|
57
|
-
|
58
|
-
#openid-sites
|
59
|
-
{
|
60
|
-
font-size: 12px;
|
61
|
-
line-height: 18px;
|
62
|
-
}
|
63
|
-
#openid-sites img
|
64
|
-
{
|
65
|
-
vertical-align: text-bottom;
|
66
|
-
}
|
67
|
-
|
68
|
-
#side-column-inner form input.openid,
|
69
|
-
#side-column-inner form input.openid-with-desc,
|
70
|
-
#side-column-inner form input.email,
|
71
|
-
#side-column-inner form input.email-with-desc,
|
72
|
-
#side-column-inner form input.password,
|
73
|
-
#side-column-inner form input.password-with-desc
|
74
|
-
{
|
75
|
-
width: 160px; /* width:200 - (padding:20 + padding:18 + border:2)*/
|
76
|
-
height: 20px;
|
77
|
-
margin-bottom: 4px;
|
78
|
-
padding-left: 18px;
|
79
|
-
border-width: 1px;
|
80
|
-
border-style: solid;
|
81
|
-
border-color: #666666;
|
82
|
-
background-repeat: no-repeat;
|
83
|
-
background-position: 1px;
|
84
|
-
}
|
85
|
-
|
86
|
-
#side-column-inner form input.openid
|
87
|
-
{
|
88
|
-
background-image: url(/images/icons/openid.png);
|
89
|
-
}
|
90
|
-
|
91
|
-
#side-column-inner form input.openid-with-desc
|
92
|
-
{
|
93
|
-
background-image: url(/images/icons/openid-with-desc.png);
|
94
|
-
}
|
95
|
-
|
96
|
-
#side-column-inner form input.email
|
97
|
-
{
|
98
|
-
background-image: url(/images/icons/fam/email.png);
|
99
|
-
}
|
100
|
-
|
101
|
-
#side-column-inner form input.email-with-desc
|
102
|
-
{
|
103
|
-
background-image: url(/images/icons/fam/email-with-desc.png);
|
104
|
-
}
|
105
|
-
|
106
|
-
#side-column-inner form input.password
|
107
|
-
{
|
108
|
-
background-image: url(/images/icons/fam/key.png);
|
109
|
-
}
|
110
|
-
|
111
|
-
#side-column-inner form input.password-with-desc
|
112
|
-
{
|
113
|
-
background-image: url(/images/icons/fam/key-with-desc.png);
|
114
|
-
}
|