rails_admin_dropzone 1.0.8 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -0
- data/Gemfile.lock +144 -110
- data/README.md +4 -8
- data/app/views/rails_admin/main/dropzone.html.haml +1 -1
- data/config/locales/mobile_upload.dk.yml +21 -0
- data/config/locales/mobile_upload.he.yml +22 -0
- data/config/locales/mobile_upload.hr.yml +21 -0
- data/config/locales/mobile_upload.ro.yml +22 -0
- data/config/locales/multiple-upload.uk_UA.yml +21 -0
- data/config/locales/multiple-upload.zh.yml +22 -0
- data/config/locales/multiple_upload.af.yml +21 -0
- data/config/locales/multiple_upload.by.yml +21 -0
- data/config/locales/multiple_upload.cs.yml +22 -0
- data/config/locales/multiple_upload.de.yml +21 -0
- data/config/locales/multiple_upload.es.yml +21 -0
- data/config/locales/multiple_upload.fi.yml +21 -0
- data/config/locales/multiple_upload.fr.yml +21 -0
- data/config/locales/multiple_upload.gr.yml +21 -0
- data/config/locales/multiple_upload.id.yml +22 -0
- data/config/locales/multiple_upload.it.yml +22 -0
- data/config/locales/multiple_upload.lt.yml +22 -0
- data/config/locales/multiple_upload.nl.yml +21 -0
- data/config/locales/multiple_upload.pl.yml +21 -0
- data/config/locales/multiple_upload.ru.yml +3 -3
- data/config/locales/multiple_upload.sk.yml +22 -0
- data/config/locales/multiple_upload.sv.yml +21 -0
- data/config/locales/multiple_upload.tr.yml +21 -0
- data/lib/rails_admin_dropzone/version.rb +1 -1
- data/rails_admin_dropzone.gemspec +8 -8
- metadata +46 -97
- data/example/.gitignore +0 -17
- data/example/Gemfile +0 -53
- data/example/Gemfile.lock +0 -215
- data/example/README.rdoc +0 -28
- data/example/Rakefile +0 -6
- data/example/app/assets/images/.keep +0 -0
- data/example/app/assets/javascripts/application.js +0 -16
- data/example/app/assets/stylesheets/application.css +0 -15
- data/example/app/controllers/application_controller.rb +0 -5
- data/example/app/controllers/concerns/.keep +0 -0
- data/example/app/helpers/application_helper.rb +0 -2
- data/example/app/mailers/.keep +0 -0
- data/example/app/models/.keep +0 -0
- data/example/app/models/album.rb +0 -7
- data/example/app/models/concerns/.keep +0 -0
- data/example/app/models/photo.rb +0 -4
- data/example/app/models/product.rb +0 -7
- data/example/app/models/product_image.rb +0 -4
- data/example/app/uploaders/photo_uploader.rb +0 -51
- data/example/app/uploaders/product_image_uploader.rb +0 -51
- data/example/app/views/layouts/application.html.erb +0 -14
- data/example/bin/bundle +0 -3
- data/example/bin/rails +0 -9
- data/example/bin/rake +0 -9
- data/example/bin/setup +0 -29
- data/example/bin/spring +0 -15
- data/example/config/application.rb +0 -35
- data/example/config/boot.rb +0 -3
- data/example/config/database.yml +0 -25
- data/example/config/environment.rb +0 -5
- data/example/config/environments/development.rb +0 -41
- data/example/config/environments/production.rb +0 -79
- data/example/config/environments/test.rb +0 -42
- data/example/config/initializers/assets.rb +0 -11
- data/example/config/initializers/backtrace_silencers.rb +0 -7
- data/example/config/initializers/cookies_serializer.rb +0 -3
- data/example/config/initializers/filter_parameter_logging.rb +0 -4
- data/example/config/initializers/inflections.rb +0 -16
- data/example/config/initializers/mime_types.rb +0 -4
- data/example/config/initializers/rails_admin.rb +0 -42
- data/example/config/initializers/session_store.rb +0 -3
- data/example/config/initializers/wrap_parameters.rb +0 -14
- data/example/config/locales/en.yml +0 -23
- data/example/config/routes.rb +0 -57
- data/example/config/secrets.yml +0 -22
- data/example/config.ru +0 -4
- data/example/db/migrate/20160708113513_create_albums.rb +0 -9
- data/example/db/migrate/20160708113527_create_photos.rb +0 -10
- data/example/db/migrate/20160711132743_create_products.rb +0 -9
- data/example/db/migrate/20160711132755_create_product_images.rb +0 -10
- data/example/db/schema.rb +0 -44
- data/example/db/seeds.rb +0 -7
- 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 +0 -67
- data/example/public/422.html +0 -67
- data/example/public/500.html +0 -66
- data/example/public/favicon.ico +0 -0
- data/example/public/robots.txt +0 -5
- 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/example/public/422.html
DELETED
@@ -1,67 +0,0 @@
|
|
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>
|
data/example/public/500.html
DELETED
@@ -1,66 +0,0 @@
|
|
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>
|
data/example/public/favicon.ico
DELETED
File without changes
|
data/example/public/robots.txt
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|