okkez-multi_auth 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -1,13 +0,0 @@
|
|
1
|
-
|
2
|
-
class MultiAuthStyleSheetGenerator < Rails::Generator::Base
|
3
|
-
def initialize(runtime_args, runtime_options = { })
|
4
|
-
super
|
5
|
-
end
|
6
|
-
|
7
|
-
def manifest
|
8
|
-
record do |m|
|
9
|
-
m.directory('public/stylesheets')
|
10
|
-
m.file('style.css', 'public/stylesheets/multi_auth.css')
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
data/public/404.html
DELETED
@@ -1,92 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
|
-
<title>404: Not Found</title>
|
6
|
-
<style type="text/css">
|
7
|
-
*
|
8
|
-
{
|
9
|
-
margin: 0;
|
10
|
-
padding: 0;
|
11
|
-
}
|
12
|
-
#dialog
|
13
|
-
{
|
14
|
-
position: absolute;
|
15
|
-
top: 50%;
|
16
|
-
left: 50%;
|
17
|
-
width: 650px;
|
18
|
-
height: 200px;
|
19
|
-
margin: -100px 0px 0px -325px;
|
20
|
-
}
|
21
|
-
#code-outer
|
22
|
-
{
|
23
|
-
position: absolute;
|
24
|
-
top: 0px;
|
25
|
-
left: 0px;
|
26
|
-
width: 249px;
|
27
|
-
height: 200px;
|
28
|
-
border-style: solid;
|
29
|
-
border-color: #CCCCCC;
|
30
|
-
border-width: 0px 1px 0px 0px;
|
31
|
-
}
|
32
|
-
#code-inner
|
33
|
-
{
|
34
|
-
font-size: 150px;
|
35
|
-
line-height: 200px;
|
36
|
-
text-align: center;
|
37
|
-
color: #999999;
|
38
|
-
}
|
39
|
-
#message
|
40
|
-
{
|
41
|
-
position: absolute;
|
42
|
-
top: 0px;
|
43
|
-
left: 250px;
|
44
|
-
width: 400px;
|
45
|
-
height: 200px;
|
46
|
-
}
|
47
|
-
#status-outer
|
48
|
-
{
|
49
|
-
height: 75px;
|
50
|
-
}
|
51
|
-
#status-inner
|
52
|
-
{
|
53
|
-
padding: 40px 0px 0px 10px;
|
54
|
-
font-size: 24px;
|
55
|
-
font-weight: bold;
|
56
|
-
color: #999999;
|
57
|
-
}
|
58
|
-
#description-outer
|
59
|
-
{
|
60
|
-
height: 124px;
|
61
|
-
border-style: solid;
|
62
|
-
border-color: #CCCCCC;
|
63
|
-
border-width: 1px 0px 0px 0px;
|
64
|
-
}
|
65
|
-
#description-inner
|
66
|
-
{
|
67
|
-
padding: 10px;
|
68
|
-
font-size: 14px;
|
69
|
-
line-height: 24px;
|
70
|
-
color: #999999;
|
71
|
-
}
|
72
|
-
</style>
|
73
|
-
</head>
|
74
|
-
<body>
|
75
|
-
<div id="dialog">
|
76
|
-
<div id="code-outer">
|
77
|
-
<div id="code-inner">404</div>
|
78
|
-
</div>
|
79
|
-
<div id="message">
|
80
|
-
<div id="status-outer">
|
81
|
-
<div id="status-inner">Not Found</div>
|
82
|
-
</div>
|
83
|
-
<div id="description-outer">
|
84
|
-
<div id="description-inner">
|
85
|
-
<div>要求されたURLは見つかりませんでした。URLが間違っている可能性があります。</div>
|
86
|
-
<div>The requested URL was not found on this server.</div>
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
</div>
|
91
|
-
</body>
|
92
|
-
</html>
|
data/public/422.html
DELETED
@@ -1,91 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
|
-
<title>422: Unprocessable Entity</title>
|
6
|
-
<style type="text/css">
|
7
|
-
*
|
8
|
-
{
|
9
|
-
margin: 0;
|
10
|
-
padding: 0;
|
11
|
-
}
|
12
|
-
#dialog
|
13
|
-
{
|
14
|
-
position: absolute;
|
15
|
-
top: 50%;
|
16
|
-
left: 50%;
|
17
|
-
width: 650px;
|
18
|
-
height: 200px;
|
19
|
-
margin: -100px 0px 0px -325px;
|
20
|
-
}
|
21
|
-
#code-outer
|
22
|
-
{
|
23
|
-
position: absolute;
|
24
|
-
top: 0px;
|
25
|
-
left: 0px;
|
26
|
-
width: 249px;
|
27
|
-
height: 200px;
|
28
|
-
border-style: solid;
|
29
|
-
border-color: #CCCCCC;
|
30
|
-
border-width: 0px 1px 0px 0px;
|
31
|
-
}
|
32
|
-
#code-inner
|
33
|
-
{
|
34
|
-
font-size: 150px;
|
35
|
-
line-height: 200px;
|
36
|
-
text-align: center;
|
37
|
-
color: #999999;
|
38
|
-
}
|
39
|
-
#message
|
40
|
-
{
|
41
|
-
position: absolute;
|
42
|
-
top: 0px;
|
43
|
-
left: 250px;
|
44
|
-
width: 400px;
|
45
|
-
height: 200px;
|
46
|
-
}
|
47
|
-
#status-outer
|
48
|
-
{
|
49
|
-
height: 75px;
|
50
|
-
}
|
51
|
-
#status-inner
|
52
|
-
{
|
53
|
-
padding: 40px 0px 0px 10px;
|
54
|
-
font-size: 24px;
|
55
|
-
font-weight: bold;
|
56
|
-
color: #999999;
|
57
|
-
}
|
58
|
-
#description-outer
|
59
|
-
{
|
60
|
-
height: 124px;
|
61
|
-
border-style: solid;
|
62
|
-
border-color: #CCCCCC;
|
63
|
-
border-width: 1px 0px 0px 0px;
|
64
|
-
}
|
65
|
-
#description-inner
|
66
|
-
{
|
67
|
-
padding: 10px;
|
68
|
-
font-size: 14px;
|
69
|
-
line-height: 24px;
|
70
|
-
color: #999999;
|
71
|
-
}
|
72
|
-
</style>
|
73
|
-
</head>
|
74
|
-
<body>
|
75
|
-
<div id="dialog">
|
76
|
-
<div id="code-outer">
|
77
|
-
<div id="code-inner">422</div>
|
78
|
-
</div>
|
79
|
-
<div id="message">
|
80
|
-
<div id="status-outer">
|
81
|
-
<div id="status-inner">Unprocessable Entity</div>
|
82
|
-
</div>
|
83
|
-
<div id="description-outer">
|
84
|
-
<div id="description-inner">
|
85
|
-
<div>要求されたURLは処理できませんでした。</div>
|
86
|
-
</div>
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
</body>
|
91
|
-
</html>
|
data/public/500.html
DELETED
@@ -1,92 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
|
-
<title>500: Internal Server Error</title>
|
6
|
-
<style type="text/css">
|
7
|
-
*
|
8
|
-
{
|
9
|
-
margin: 0;
|
10
|
-
padding: 0;
|
11
|
-
}
|
12
|
-
#dialog
|
13
|
-
{
|
14
|
-
position: absolute;
|
15
|
-
top: 50%;
|
16
|
-
left: 50%;
|
17
|
-
width: 650px;
|
18
|
-
height: 200px;
|
19
|
-
margin: -100px 0px 0px -325px;
|
20
|
-
}
|
21
|
-
#code-outer
|
22
|
-
{
|
23
|
-
position: absolute;
|
24
|
-
top: 0px;
|
25
|
-
left: 0px;
|
26
|
-
width: 249px;
|
27
|
-
height: 200px;
|
28
|
-
border-style: solid;
|
29
|
-
border-color: #CCCCCC;
|
30
|
-
border-width: 0px 1px 0px 0px;
|
31
|
-
}
|
32
|
-
#code-inner
|
33
|
-
{
|
34
|
-
font-size: 150px;
|
35
|
-
line-height: 200px;
|
36
|
-
text-align: center;
|
37
|
-
color: #999999;
|
38
|
-
}
|
39
|
-
#message
|
40
|
-
{
|
41
|
-
position: absolute;
|
42
|
-
top: 0px;
|
43
|
-
left: 250px;
|
44
|
-
width: 400px;
|
45
|
-
height: 200px;
|
46
|
-
}
|
47
|
-
#status-outer
|
48
|
-
{
|
49
|
-
height: 75px;
|
50
|
-
}
|
51
|
-
#status-inner
|
52
|
-
{
|
53
|
-
padding: 40px 0px 0px 10px;
|
54
|
-
font-size: 24px;
|
55
|
-
font-weight: bold;
|
56
|
-
color: #999999;
|
57
|
-
}
|
58
|
-
#description-outer
|
59
|
-
{
|
60
|
-
height: 124px;
|
61
|
-
border-style: solid;
|
62
|
-
border-color: #CCCCCC;
|
63
|
-
border-width: 1px 0px 0px 0px;
|
64
|
-
}
|
65
|
-
#description-inner
|
66
|
-
{
|
67
|
-
padding: 10px;
|
68
|
-
font-size: 14px;
|
69
|
-
line-height: 24px;
|
70
|
-
color: #999999;
|
71
|
-
}
|
72
|
-
</style>
|
73
|
-
</head>
|
74
|
-
<body>
|
75
|
-
<div id="dialog">
|
76
|
-
<div id="code-outer">
|
77
|
-
<div id="code-inner">500</div>
|
78
|
-
</div>
|
79
|
-
<div id="message">
|
80
|
-
<div id="status-outer">
|
81
|
-
<div id="status-inner">Internal Server Error</div>
|
82
|
-
</div>
|
83
|
-
<div id="description-outer">
|
84
|
-
<div id="description-inner">
|
85
|
-
<div>なんらかのエラーが発生しました。何度もこのエラーメッセージが表示される場合は、表示しようとしたURLや状況などを<a href="mailto:info@nayutaya.co.jp">info@nayutaya.co.jp</a>までご連絡頂けると幸いです。</div>
|
86
|
-
<div>We're sorry, but something went wrong.</div>
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
</div>
|
91
|
-
</body>
|
92
|
-
</html>
|
data/public/503.html
DELETED
@@ -1,92 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
|
-
<title>503: Service Temporarily Unavailable</title>
|
6
|
-
<style type="text/css">
|
7
|
-
*
|
8
|
-
{
|
9
|
-
margin: 0;
|
10
|
-
padding: 0;
|
11
|
-
}
|
12
|
-
#dialog
|
13
|
-
{
|
14
|
-
position: absolute;
|
15
|
-
top: 50%;
|
16
|
-
left: 50%;
|
17
|
-
width: 650px;
|
18
|
-
height: 200px;
|
19
|
-
margin: -100px 0px 0px -325px;
|
20
|
-
}
|
21
|
-
#code-outer
|
22
|
-
{
|
23
|
-
position: absolute;
|
24
|
-
top: 0px;
|
25
|
-
left: 0px;
|
26
|
-
width: 249px;
|
27
|
-
height: 200px;
|
28
|
-
border-style: solid;
|
29
|
-
border-color: #CCCCCC;
|
30
|
-
border-width: 0px 1px 0px 0px;
|
31
|
-
}
|
32
|
-
#code-inner
|
33
|
-
{
|
34
|
-
font-size: 150px;
|
35
|
-
line-height: 200px;
|
36
|
-
text-align: center;
|
37
|
-
color: #999999;
|
38
|
-
}
|
39
|
-
#message
|
40
|
-
{
|
41
|
-
position: absolute;
|
42
|
-
top: 0px;
|
43
|
-
left: 250px;
|
44
|
-
width: 400px;
|
45
|
-
height: 200px;
|
46
|
-
}
|
47
|
-
#status-outer
|
48
|
-
{
|
49
|
-
height: 75px;
|
50
|
-
}
|
51
|
-
#status-inner
|
52
|
-
{
|
53
|
-
padding: 40px 0px 0px 10px;
|
54
|
-
font-size: 24px;
|
55
|
-
font-weight: bold;
|
56
|
-
color: #999999;
|
57
|
-
}
|
58
|
-
#description-outer
|
59
|
-
{
|
60
|
-
height: 124px;
|
61
|
-
border-style: solid;
|
62
|
-
border-color: #CCCCCC;
|
63
|
-
border-width: 1px 0px 0px 0px;
|
64
|
-
}
|
65
|
-
#description-inner
|
66
|
-
{
|
67
|
-
padding: 10px;
|
68
|
-
font-size: 14px;
|
69
|
-
line-height: 24px;
|
70
|
-
color: #999999;
|
71
|
-
}
|
72
|
-
</style>
|
73
|
-
</head>
|
74
|
-
<body>
|
75
|
-
<div id="dialog">
|
76
|
-
<div id="code-outer">
|
77
|
-
<div id="code-inner">503</div>
|
78
|
-
</div>
|
79
|
-
<div id="message">
|
80
|
-
<div id="status-outer">
|
81
|
-
<div id="status-inner">Service Temporarily Unavailable</div>
|
82
|
-
</div>
|
83
|
-
<div id="description-outer">
|
84
|
-
<div id="description-inner">
|
85
|
-
<div>現在、一時的にサービスに接続できません。サーバへの接続が集中しているため混雑しているか、保守作業中である可能性があります。</div>
|
86
|
-
<div>時間をおいて、再度の接続をお試しください。</div>
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
</div>
|
91
|
-
</body>
|
92
|
-
</html>
|
data/public/favicon.ico
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,82 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>style</title>
|
4
|
-
<style type="text/css">
|
5
|
-
body
|
6
|
-
{
|
7
|
-
background-color: #F0F0F0;
|
8
|
-
}
|
9
|
-
|
10
|
-
div.battery-cell
|
11
|
-
{
|
12
|
-
margin: 0;
|
13
|
-
padding: 4px 7px 4px 5px;
|
14
|
-
width: 100px;
|
15
|
-
height: 13px;
|
16
|
-
background-image: url(cell.png);
|
17
|
-
background-repeat: no-repeat;
|
18
|
-
}
|
19
|
-
|
20
|
-
div.battery-level
|
21
|
-
{
|
22
|
-
margin: 0;
|
23
|
-
padding: 0;
|
24
|
-
width: 100px;
|
25
|
-
height: 13px;
|
26
|
-
}
|
27
|
-
|
28
|
-
div.battery-high,
|
29
|
-
div.battery-middle,
|
30
|
-
div.battery-low,
|
31
|
-
div.battery-empty
|
32
|
-
{
|
33
|
-
margin: 0;
|
34
|
-
padding: 0;
|
35
|
-
height: 13px;
|
36
|
-
background-repeat: repeat-x;
|
37
|
-
}
|
38
|
-
|
39
|
-
div.battery-high
|
40
|
-
{
|
41
|
-
background-image: url(level-green.png);
|
42
|
-
}
|
43
|
-
|
44
|
-
div.battery-middle
|
45
|
-
{
|
46
|
-
background-image: url(level-orange.png);
|
47
|
-
}
|
48
|
-
|
49
|
-
div.battery-low
|
50
|
-
{
|
51
|
-
background-image: url(level-yellow.png);
|
52
|
-
}
|
53
|
-
|
54
|
-
div.battery-empty
|
55
|
-
{
|
56
|
-
background-image: url(level-red.png);
|
57
|
-
}
|
58
|
-
</style>
|
59
|
-
</head>
|
60
|
-
<body>
|
61
|
-
<div>
|
62
|
-
<img src="cell.png" />
|
63
|
-
<img src="level-green.png" />
|
64
|
-
<img src="level-orange.png" />
|
65
|
-
<img src="level-yellow.png" />
|
66
|
-
<img src="level-red.png" />
|
67
|
-
</div>
|
68
|
-
<div>
|
69
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-high" style="width: 100px;"></div></div></div>
|
70
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-high" style="width: 90px;"></div></div></div>
|
71
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-high" style="width: 80px;"></div></div></div>
|
72
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-high" style="width: 70px;"></div></div></div>
|
73
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-high" style="width: 60px;"></div></div></div>
|
74
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-high" style="width: 50px;"></div></div></div>
|
75
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-middle" style="width: 40px;"></div></div></div>
|
76
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-low" style="width: 30px;"></div></div></div>
|
77
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-empty" style="width: 20px;"></div></div></div>
|
78
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-empty" style="width: 10px;"></div></div></div>
|
79
|
-
<div class="battery-cell"><div class="battery-level"><div class="battery-empty" style="width: 1px;"></div></div></div>
|
80
|
-
</div>
|
81
|
-
</body>
|
82
|
-
</html>
|