rails_admin_dropzone 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/app/assets/javascripts/rails_admin/rails_admin_dropzone.js.erb +0 -27
- data/app/views/rails_admin/main/dropzone.html.haml +24 -0
- data/example/.gitignore +17 -0
- data/example/Gemfile +53 -0
- data/example/Gemfile.lock +215 -0
- data/example/README.rdoc +28 -0
- data/example/Rakefile +6 -0
- data/example/app/assets/images/.keep +0 -0
- data/example/app/assets/javascripts/application.js +16 -0
- data/example/app/assets/stylesheets/application.css +15 -0
- data/example/app/controllers/application_controller.rb +5 -0
- data/example/app/controllers/concerns/.keep +0 -0
- data/example/app/helpers/application_helper.rb +2 -0
- data/example/app/mailers/.keep +0 -0
- data/example/app/models/.keep +0 -0
- data/example/app/models/album.rb +7 -0
- data/example/app/models/concerns/.keep +0 -0
- data/example/app/models/photo.rb +4 -0
- data/example/app/models/product.rb +7 -0
- data/example/app/models/product_image.rb +4 -0
- data/example/app/uploaders/photo_uploader.rb +51 -0
- data/example/app/uploaders/product_image_uploader.rb +51 -0
- data/example/app/views/layouts/application.html.erb +14 -0
- data/example/bin/bundle +3 -0
- data/example/bin/rails +9 -0
- data/example/bin/rake +9 -0
- data/example/bin/setup +29 -0
- data/example/bin/spring +15 -0
- data/example/config.ru +4 -0
- data/example/config/application.rb +35 -0
- data/example/config/boot.rb +3 -0
- data/example/config/database.yml +25 -0
- data/example/config/environment.rb +5 -0
- data/example/config/environments/development.rb +41 -0
- data/example/config/environments/production.rb +79 -0
- data/example/config/environments/test.rb +42 -0
- data/example/config/initializers/assets.rb +11 -0
- data/example/config/initializers/backtrace_silencers.rb +7 -0
- data/example/config/initializers/cookies_serializer.rb +3 -0
- data/example/config/initializers/filter_parameter_logging.rb +4 -0
- data/example/config/initializers/inflections.rb +16 -0
- data/example/config/initializers/mime_types.rb +4 -0
- data/example/config/initializers/rails_admin.rb +42 -0
- data/example/config/initializers/session_store.rb +3 -0
- data/example/config/initializers/wrap_parameters.rb +14 -0
- data/example/config/locales/en.yml +23 -0
- data/example/config/routes.rb +57 -0
- data/example/config/secrets.yml +22 -0
- data/example/db/migrate/20160708113513_create_albums.rb +9 -0
- data/example/db/migrate/20160708113527_create_photos.rb +10 -0
- data/example/db/migrate/20160711132743_create_products.rb +9 -0
- data/example/db/migrate/20160711132755_create_product_images.rb +10 -0
- data/example/db/schema.rb +44 -0
- data/example/db/seeds.rb +7 -0
- data/example/lib/assets/.keep +0 -0
- data/example/lib/tasks/.keep +0 -0
- data/example/log/.keep +0 -0
- data/example/public/404.html +67 -0
- data/example/public/422.html +67 -0
- data/example/public/500.html +66 -0
- data/example/public/favicon.ico +0 -0
- data/example/public/robots.txt +5 -0
- data/example/public/uploads/photo/image/1/i-should-buy-a-boat__6th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/1/i-should-buy-a-boat__9th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/2/i-should-buy-a-boat__7th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/3/i-should-buy-a-boat__8th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/4/i-should-buy-a-boat__6th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/5/i-should-buy-a-boat__7th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/6/i-should-buy-a-boat__8th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/7/i-should-buy-a-boat__11th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/8/i-should-buy-a-boat__8th_copy_.jpg +0 -0
- data/example/public/uploads/photo/image/9/i-should-buy-a-boat__8th_copy_.jpg +0 -0
- data/example/public/uploads/product_image/image/1/i-should-buy-a-boat__8th_copy_.jpg +0 -0
- data/example/vendor/assets/javascripts/.keep +0 -0
- data/example/vendor/assets/stylesheets/.keep +0 -0
- data/lib/rails_admin_dropzone/version.rb +1 -1
- metadata +75 -2
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
Binary file
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_dropzone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luiz Picolo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simple_form
|
@@ -144,6 +144,79 @@ files:
|
|
144
144
|
- bin/setup
|
145
145
|
- config/locales/multiple_upload.en.yml
|
146
146
|
- config/locales/multiple_upload.pt-BR.yml
|
147
|
+
- example/.gitignore
|
148
|
+
- example/Gemfile
|
149
|
+
- example/Gemfile.lock
|
150
|
+
- example/README.rdoc
|
151
|
+
- example/Rakefile
|
152
|
+
- example/app/assets/images/.keep
|
153
|
+
- example/app/assets/javascripts/application.js
|
154
|
+
- example/app/assets/stylesheets/application.css
|
155
|
+
- example/app/controllers/application_controller.rb
|
156
|
+
- example/app/controllers/concerns/.keep
|
157
|
+
- example/app/helpers/application_helper.rb
|
158
|
+
- example/app/mailers/.keep
|
159
|
+
- example/app/models/.keep
|
160
|
+
- example/app/models/album.rb
|
161
|
+
- example/app/models/concerns/.keep
|
162
|
+
- example/app/models/photo.rb
|
163
|
+
- example/app/models/product.rb
|
164
|
+
- example/app/models/product_image.rb
|
165
|
+
- example/app/uploaders/photo_uploader.rb
|
166
|
+
- example/app/uploaders/product_image_uploader.rb
|
167
|
+
- example/app/views/layouts/application.html.erb
|
168
|
+
- example/bin/bundle
|
169
|
+
- example/bin/rails
|
170
|
+
- example/bin/rake
|
171
|
+
- example/bin/setup
|
172
|
+
- example/bin/spring
|
173
|
+
- example/config.ru
|
174
|
+
- example/config/application.rb
|
175
|
+
- example/config/boot.rb
|
176
|
+
- example/config/database.yml
|
177
|
+
- example/config/environment.rb
|
178
|
+
- example/config/environments/development.rb
|
179
|
+
- example/config/environments/production.rb
|
180
|
+
- example/config/environments/test.rb
|
181
|
+
- example/config/initializers/assets.rb
|
182
|
+
- example/config/initializers/backtrace_silencers.rb
|
183
|
+
- example/config/initializers/cookies_serializer.rb
|
184
|
+
- example/config/initializers/filter_parameter_logging.rb
|
185
|
+
- example/config/initializers/inflections.rb
|
186
|
+
- example/config/initializers/mime_types.rb
|
187
|
+
- example/config/initializers/rails_admin.rb
|
188
|
+
- example/config/initializers/session_store.rb
|
189
|
+
- example/config/initializers/wrap_parameters.rb
|
190
|
+
- example/config/locales/en.yml
|
191
|
+
- example/config/routes.rb
|
192
|
+
- example/config/secrets.yml
|
193
|
+
- example/db/migrate/20160708113513_create_albums.rb
|
194
|
+
- example/db/migrate/20160708113527_create_photos.rb
|
195
|
+
- example/db/migrate/20160711132743_create_products.rb
|
196
|
+
- example/db/migrate/20160711132755_create_product_images.rb
|
197
|
+
- example/db/schema.rb
|
198
|
+
- example/db/seeds.rb
|
199
|
+
- example/lib/assets/.keep
|
200
|
+
- example/lib/tasks/.keep
|
201
|
+
- example/log/.keep
|
202
|
+
- example/public/404.html
|
203
|
+
- example/public/422.html
|
204
|
+
- example/public/500.html
|
205
|
+
- example/public/favicon.ico
|
206
|
+
- example/public/robots.txt
|
207
|
+
- example/public/uploads/photo/image/1/i-should-buy-a-boat__6th_copy_.jpg
|
208
|
+
- example/public/uploads/photo/image/1/i-should-buy-a-boat__9th_copy_.jpg
|
209
|
+
- example/public/uploads/photo/image/2/i-should-buy-a-boat__7th_copy_.jpg
|
210
|
+
- example/public/uploads/photo/image/3/i-should-buy-a-boat__8th_copy_.jpg
|
211
|
+
- example/public/uploads/photo/image/4/i-should-buy-a-boat__6th_copy_.jpg
|
212
|
+
- example/public/uploads/photo/image/5/i-should-buy-a-boat__7th_copy_.jpg
|
213
|
+
- example/public/uploads/photo/image/6/i-should-buy-a-boat__8th_copy_.jpg
|
214
|
+
- example/public/uploads/photo/image/7/i-should-buy-a-boat__11th_copy_.jpg
|
215
|
+
- example/public/uploads/photo/image/8/i-should-buy-a-boat__8th_copy_.jpg
|
216
|
+
- example/public/uploads/photo/image/9/i-should-buy-a-boat__8th_copy_.jpg
|
217
|
+
- example/public/uploads/product_image/image/1/i-should-buy-a-boat__8th_copy_.jpg
|
218
|
+
- example/vendor/assets/javascripts/.keep
|
219
|
+
- example/vendor/assets/stylesheets/.keep
|
147
220
|
- lib/rails_admin_dropzone.rb
|
148
221
|
- lib/rails_admin_dropzone/engine.rb
|
149
222
|
- lib/rails_admin_dropzone/version.rb
|