plupload-rails3 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/lib/app/controllers/plupload_rails_controller.rb +23 -23
- data/lib/app/helpers/plupload_helper.rb +6 -4
- data/lib/app/middleware/plupload_params_renamer.rb +9 -4
- data/lib/app/views/plupload/_uploader_scripts.html.erb +3 -4
- data/lib/plupload-rails3/asset_mover.rb +3 -3
- data/lib/plupload-rails3/version.rb +1 -1
- data/lib/public/images/plupload-rails3/plupload/throbber.gif +0 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/cs.js +14 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/da.js +12 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/de.js +25 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/es.js +25 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/fi.js +33 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/fr.js +25 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/it.js +21 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/ja.js +37 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/lv.js +33 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/nl.js +21 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/pt-br.js +35 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/ru.js +21 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/sv.js +12 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js +1 -1
- data/lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/css/jquery.ui.plupload.css +8 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/jquery.ui.plupload.js +1 -1
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.browserplus.js +1 -1
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.flash.js +1 -1
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.flash.swf +0 -0
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.full.js +2 -2
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.gears.js +1 -1
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.html4.js +1 -1
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.html5.js +1 -1
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.js +2 -2
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.silverlight.js +1 -1
- data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.silverlight.xap +0 -0
- data/lib/public/stylesheets/plupload-rails3/plupload.queue.3.1.css +177 -171
- data/lib/public/stylesheets/plupload-rails3/plupload.queue.css +177 -171
- metadata +16 -4
@@ -1,171 +1,177 @@
|
|
1
|
-
/*
|
2
|
-
Plupload
|
3
|
-
------------------------------------------------------------------- */
|
4
|
-
|
5
|
-
.plupload_button {
|
6
|
-
display: -moz-inline-box; /* FF < 3*/
|
7
|
-
display: inline-block;
|
8
|
-
font: normal 12px sans-serif;
|
9
|
-
text-decoration: none;
|
10
|
-
color: #42454a;
|
11
|
-
border: 1px solid #bababa;
|
12
|
-
padding: 2px 8px 3px 20px;
|
13
|
-
margin-right: 4px;
|
14
|
-
background: #f3f3f3 url('/images/plupload-rails3/plupload/buttons.png') no-repeat 0 center;
|
15
|
-
outline: 0;
|
16
|
-
|
17
|
-
/* Optional rounded corners for browsers that support it */
|
18
|
-
-moz-border-radius: 3px;
|
19
|
-
-khtml-border-radius: 3px;
|
20
|
-
-webkit-border-radius: 3px;
|
21
|
-
border-radius: 3px;
|
22
|
-
}
|
23
|
-
|
24
|
-
.plupload_button:hover {
|
25
|
-
color: #000;
|
26
|
-
text-decoration: none;
|
27
|
-
}
|
28
|
-
|
29
|
-
.plupload_disabled, a.plupload_disabled:hover {
|
30
|
-
color: #737373;
|
31
|
-
border-color: #c5c5c5;
|
32
|
-
background: #ededed url('/images/plupload-rails3/plupload/buttons-disabled.png') no-repeat 0 center;
|
33
|
-
cursor: default;
|
34
|
-
}
|
35
|
-
|
36
|
-
.plupload_add {
|
37
|
-
background-position: -181px center;
|
38
|
-
}
|
39
|
-
|
40
|
-
.plupload_wrapper {
|
41
|
-
font: normal 11px Verdana,sans-serif;
|
42
|
-
width: 100%;
|
43
|
-
}
|
44
|
-
|
45
|
-
.plupload_container {
|
46
|
-
padding: 8px;
|
47
|
-
background: url('/images/plupload-rails3/plupload/transp50.png');
|
48
|
-
/*-moz-border-radius: 5px;*/
|
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
|
-
.plupload_filelist
|
79
|
-
|
80
|
-
background: #F5F5F5
|
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
|
-
li.
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
.
|
147
|
-
|
148
|
-
|
149
|
-
background: #
|
150
|
-
|
151
|
-
|
152
|
-
.
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
.
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
1
|
+
/*
|
2
|
+
Plupload
|
3
|
+
------------------------------------------------------------------- */
|
4
|
+
|
5
|
+
.plupload_button {
|
6
|
+
display: -moz-inline-box; /* FF < 3*/
|
7
|
+
display: inline-block;
|
8
|
+
font: normal 12px sans-serif;
|
9
|
+
text-decoration: none;
|
10
|
+
color: #42454a;
|
11
|
+
border: 1px solid #bababa;
|
12
|
+
padding: 2px 8px 3px 20px;
|
13
|
+
margin-right: 4px;
|
14
|
+
background: #f3f3f3 url('/images/plupload-rails3/plupload/buttons.png') no-repeat 0 center;
|
15
|
+
outline: 0;
|
16
|
+
|
17
|
+
/* Optional rounded corners for browsers that support it */
|
18
|
+
-moz-border-radius: 3px;
|
19
|
+
-khtml-border-radius: 3px;
|
20
|
+
-webkit-border-radius: 3px;
|
21
|
+
border-radius: 3px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.plupload_button:hover {
|
25
|
+
color: #000;
|
26
|
+
text-decoration: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
.plupload_disabled, a.plupload_disabled:hover {
|
30
|
+
color: #737373;
|
31
|
+
border-color: #c5c5c5;
|
32
|
+
background: #ededed url('/images/plupload-rails3/plupload/buttons-disabled.png') no-repeat 0 center;
|
33
|
+
cursor: default;
|
34
|
+
}
|
35
|
+
|
36
|
+
.plupload_add {
|
37
|
+
background-position: -181px center;
|
38
|
+
}
|
39
|
+
|
40
|
+
.plupload_wrapper {
|
41
|
+
font: normal 11px Verdana,sans-serif;
|
42
|
+
width: 100%;
|
43
|
+
}
|
44
|
+
|
45
|
+
.plupload_container {
|
46
|
+
padding: 8px;
|
47
|
+
background: url('/images/plupload-rails3/plupload/transp50.png');
|
48
|
+
/*-moz-border-radius: 5px;*/
|
49
|
+
}
|
50
|
+
|
51
|
+
.plupload_container input {
|
52
|
+
border: 1px solid #DDD;
|
53
|
+
font: normal 11px Verdana,sans-serif;
|
54
|
+
width: 98%;
|
55
|
+
}
|
56
|
+
|
57
|
+
.plupload_header {background: #2A2C2E url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x;}
|
58
|
+
.plupload_header_content {
|
59
|
+
background: url('/images/plupload-rails3/plupload/backgrounds.gif') no-repeat 0 -317px;
|
60
|
+
min-height: 56px;
|
61
|
+
padding-left: 60px;
|
62
|
+
color: #FFF;
|
63
|
+
}
|
64
|
+
.plupload_header_title {
|
65
|
+
font: normal 18px sans-serif;
|
66
|
+
padding: 6px 0 3px;
|
67
|
+
}
|
68
|
+
.plupload_header_text {
|
69
|
+
font: normal 12px sans-serif;
|
70
|
+
}
|
71
|
+
|
72
|
+
.plupload_filelist {
|
73
|
+
margin: 0;
|
74
|
+
padding: 0;
|
75
|
+
list-style: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
.plupload_scroll .plupload_filelist {
|
79
|
+
height: 185px;
|
80
|
+
background: #F5F5F5;
|
81
|
+
overflow-y: scroll;
|
82
|
+
}
|
83
|
+
|
84
|
+
.plupload_filelist li {
|
85
|
+
padding: 10px 8px;
|
86
|
+
background: #F5F5F5 url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x 0 -156px;
|
87
|
+
border-bottom: 1px solid #DDD;
|
88
|
+
}
|
89
|
+
|
90
|
+
.plupload_filelist_header, .plupload_filelist_footer {
|
91
|
+
background: #DFDFDF;
|
92
|
+
padding: 8px 8px;
|
93
|
+
color: #42454A;
|
94
|
+
}
|
95
|
+
.plupload_filelist_header {
|
96
|
+
border-top: 1px solid #EEE;
|
97
|
+
border-bottom: 1px solid #CDCDCD;
|
98
|
+
}
|
99
|
+
|
100
|
+
.plupload_filelist_footer {border-top: 1px solid #FFF; height: 22px; line-height: 20px; vertical-align: middle;}
|
101
|
+
.plupload_file_name {float: left; overflow: hidden}
|
102
|
+
.plupload_file_status {color: #777;}
|
103
|
+
.plupload_file_status span {color: #42454A;}
|
104
|
+
.plupload_file_size, .plupload_file_status, .plupload_progress {
|
105
|
+
float: right;
|
106
|
+
width: 80px;
|
107
|
+
}
|
108
|
+
.plupload_file_size, .plupload_file_status, .plupload_file_action {text-align: right;}
|
109
|
+
|
110
|
+
.plupload_filelist .plupload_file_name {width: 205px}
|
111
|
+
|
112
|
+
.plupload_file_action {
|
113
|
+
float: right;
|
114
|
+
width: 16px;
|
115
|
+
height: 16px;
|
116
|
+
margin-left: 15px;
|
117
|
+
}
|
118
|
+
|
119
|
+
.plupload_file_action * {
|
120
|
+
display: none;
|
121
|
+
width: 16px;
|
122
|
+
height: 16px;
|
123
|
+
}
|
124
|
+
|
125
|
+
li.plupload_uploading {background: #ECF3DC url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x 0 -238px;}
|
126
|
+
li.plupload_done {color:#AAA}
|
127
|
+
|
128
|
+
li.plupload_delete a {
|
129
|
+
background: url('/images/plupload-rails3/plupload/delete.gif');
|
130
|
+
}
|
131
|
+
|
132
|
+
li.plupload_failed a {
|
133
|
+
background: url('/images/plupload-rails3/plupload/error.gif');
|
134
|
+
cursor: default;
|
135
|
+
}
|
136
|
+
|
137
|
+
li.plupload_done a {
|
138
|
+
background: url('/images/plupload-rails3/plupload/done.gif');
|
139
|
+
cursor: default;
|
140
|
+
}
|
141
|
+
|
142
|
+
.plupload_progress, .plupload_upload_status {
|
143
|
+
display: none;
|
144
|
+
}
|
145
|
+
|
146
|
+
.plupload_progress_container {
|
147
|
+
margin-top: 3px;
|
148
|
+
border: 1px solid #CCC;
|
149
|
+
background: #FFF;
|
150
|
+
padding: 1px;
|
151
|
+
}
|
152
|
+
.plupload_progress_bar {
|
153
|
+
width: 0px;
|
154
|
+
height: 7px;
|
155
|
+
background: #CDEB8B;
|
156
|
+
}
|
157
|
+
|
158
|
+
.plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action {
|
159
|
+
margin-right: 17px;
|
160
|
+
}
|
161
|
+
|
162
|
+
/* Floats */
|
163
|
+
|
164
|
+
.plupload_clear,.plupload_clearer {clear: both;}
|
165
|
+
.plupload_clearer, .plupload_progress_bar {
|
166
|
+
display: block;
|
167
|
+
font-size: 0;
|
168
|
+
line-height: 0;
|
169
|
+
}
|
170
|
+
|
171
|
+
li.plupload_droptext {
|
172
|
+
background: transparent;
|
173
|
+
text-align: center;
|
174
|
+
vertical-align: middle;
|
175
|
+
border: 0;
|
176
|
+
line-height: 165px;
|
177
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plupload-rails3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-01-23 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: ''
|
15
15
|
email:
|
@@ -45,6 +45,7 @@ files:
|
|
45
45
|
- lib/public/images/plupload-rails3/plupload/delete.gif
|
46
46
|
- lib/public/images/plupload-rails3/plupload/done.gif
|
47
47
|
- lib/public/images/plupload-rails3/plupload/error.gif
|
48
|
+
- lib/public/images/plupload-rails3/plupload/throbber.gif
|
48
49
|
- lib/public/images/plupload-rails3/plupload/transp50.png
|
49
50
|
- lib/public/javascripts/.DS_Store
|
50
51
|
- lib/public/javascripts/plupload-rails3/.DS_Store
|
@@ -62,7 +63,19 @@ files:
|
|
62
63
|
- lib/public/javascripts/plupload-rails3/plupload/examples/jquery/s3.php
|
63
64
|
- lib/public/javascripts/plupload-rails3/plupload/examples/upload.php
|
64
65
|
- lib/public/javascripts/plupload-rails3/plupload/js/.DS_Store
|
65
|
-
- lib/public/javascripts/plupload-rails3/plupload/js/
|
66
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/cs.js
|
67
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/da.js
|
68
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/de.js
|
69
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/es.js
|
70
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/fi.js
|
71
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/fr.js
|
72
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/it.js
|
73
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/ja.js
|
74
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/lv.js
|
75
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/nl.js
|
76
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/pt-br.js
|
77
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/ru.js
|
78
|
+
- lib/public/javascripts/plupload-rails3/plupload/js/i18n/sv.js
|
66
79
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/css/jquery.plupload.queue.css
|
67
80
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/img/backgrounds.gif
|
68
81
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/img/buttons-disabled.png
|
@@ -73,7 +86,6 @@ files:
|
|
73
86
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/img/throbber.gif
|
74
87
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/img/transp50.png
|
75
88
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js
|
76
|
-
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/.DS_Store
|
77
89
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/css/jquery.ui.plupload.css
|
78
90
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/img/plupload-bw.png
|
79
91
|
- lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/img/plupload.png
|