uploadbox 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/app/assets/stylesheets/uploadbox.sass +121 -120
- data/app/views/uploadbox/images/_uploader.html.slim +1 -1
- data/lib/uploadbox/version.rb +1 -1
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a522ad87791ba9cd744aed842e7e62db83085f9
|
4
|
+
data.tar.gz: 284327809309d14a235135ff9fdde709761c764f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19ab47a4a5959062b0842236169d2ead8b3bdd929a01831759e3fbd29cd101dcf53caa740978fc37fc040afc5d730504c9a3df2d3260065ae41f26e8d7768230
|
7
|
+
data.tar.gz: 1ea1310f3b1f6a0609b2d9b04591bed45381184bb00c132af7f82a9c8093dedcdfd60ac9b99bd5618292ead6f2472a32fecfb7d4c7cb93d52a4394cc13426269
|
data/README.md
CHANGED
@@ -1,134 +1,135 @@
|
|
1
1
|
@import bootstrap/progress
|
2
2
|
|
3
|
-
.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
min-height: 30px
|
32
|
-
box-sizing: border-box
|
33
|
-
|
34
|
-
.btn-file
|
35
|
-
overflow: hidden
|
36
|
-
position: relative
|
37
|
-
vertical-align: middle
|
38
|
-
display: block
|
39
|
-
> input
|
40
|
-
position: absolute
|
41
|
-
top: 0
|
42
|
-
right: 0
|
43
|
-
margin: 0
|
44
|
-
opacity: 0
|
45
|
-
filter: alpha(opacity = 0)
|
46
|
-
transform: translate(-300px, 0) scale(4)
|
47
|
-
font-size: 23px
|
48
|
-
direction: ltr
|
49
|
-
cursor: pointer
|
3
|
+
.uploadbox-image-uploader
|
4
|
+
.btn
|
5
|
+
background-color: #f7f7f7
|
6
|
+
padding: 10px
|
7
|
+
text-align: center
|
8
|
+
text-decoration: none
|
9
|
+
|
10
|
+
.clearfix
|
11
|
+
*zoom: 1
|
12
|
+
&:before
|
13
|
+
display: table
|
14
|
+
content: ""
|
15
|
+
line-height: 0
|
16
|
+
&:after
|
17
|
+
display: table
|
18
|
+
content: ""
|
19
|
+
line-height: 0
|
20
|
+
clear: both
|
21
|
+
|
22
|
+
.hide-text
|
23
|
+
font: 0/0 a
|
24
|
+
color: transparent
|
25
|
+
text-shadow: none
|
26
|
+
background-color: transparent
|
27
|
+
border: 0
|
28
|
+
|
29
|
+
.input-block-level
|
30
|
+
display: block
|
50
31
|
width: 100%
|
32
|
+
min-height: 30px
|
33
|
+
box-sizing: border-box
|
51
34
|
|
52
|
-
.
|
53
|
-
position: relative
|
54
|
-
background-color: #eee
|
55
|
-
text-align: center
|
56
|
-
.uneditable-input
|
57
|
-
display: inline-block
|
58
|
-
margin-bottom: 0px
|
59
|
-
vertical-align: middle
|
60
|
-
cursor: text
|
61
|
-
.thumbnail
|
35
|
+
.btn-file
|
62
36
|
overflow: hidden
|
63
|
-
|
37
|
+
position: relative
|
64
38
|
vertical-align: middle
|
39
|
+
display: block
|
40
|
+
> input
|
41
|
+
position: absolute
|
42
|
+
top: 0
|
43
|
+
right: 0
|
44
|
+
margin: 0
|
45
|
+
opacity: 0
|
46
|
+
filter: alpha(opacity = 0)
|
47
|
+
transform: translate(-300px, 0) scale(4)
|
48
|
+
font-size: 23px
|
49
|
+
direction: ltr
|
50
|
+
cursor: pointer
|
51
|
+
width: 100%
|
52
|
+
|
53
|
+
.fileupload
|
54
|
+
position: relative
|
55
|
+
background-color: #eee
|
65
56
|
text-align: center
|
66
|
-
|
57
|
+
.uneditable-input
|
67
58
|
display: inline-block
|
59
|
+
margin-bottom: 0px
|
68
60
|
vertical-align: middle
|
69
|
-
|
70
|
-
.btn
|
71
|
-
vertical-align: middle
|
72
|
-
|
73
|
-
.fileupload-exists .fileupload-new, .fileupload-new .fileupload-exists
|
74
|
-
display: none
|
75
|
-
|
76
|
-
.fileupload-inline .fileupload-controls
|
77
|
-
display: inline
|
78
|
-
|
79
|
-
.fileupload-new .input-append .btn-file
|
80
|
-
border-radius: 0 3px 3px 0
|
81
|
-
|
82
|
-
.thumbnail-borderless .thumbnail
|
83
|
-
border: none
|
84
|
-
padding: 0
|
85
|
-
border-radius: 0
|
86
|
-
box-shadow: none
|
87
|
-
|
88
|
-
.fileupload-new.thumbnail-borderless .thumbnail
|
89
|
-
border: 1px solid #ddd
|
90
|
-
|
91
|
-
.control-group
|
92
|
-
&.warning .fileupload
|
93
|
-
.uneditable-input
|
94
|
-
color: #a47e3c
|
95
|
-
border-color: #a47e3c
|
96
|
-
.fileupload-preview
|
97
|
-
color: #a47e3c
|
98
|
-
.thumbnail
|
99
|
-
border-color: #a47e3c
|
100
|
-
&.error .fileupload
|
101
|
-
.uneditable-input
|
102
|
-
color: #b94a48
|
103
|
-
border-color: #b94a48
|
104
|
-
.fileupload-preview
|
105
|
-
color: #b94a48
|
61
|
+
cursor: text
|
106
62
|
.thumbnail
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
.fileupload-new .fileupload-preview
|
118
|
-
display: none
|
63
|
+
overflow: hidden
|
64
|
+
display: inline-block
|
65
|
+
vertical-align: middle
|
66
|
+
text-align: center
|
67
|
+
> img
|
68
|
+
display: inline-block
|
69
|
+
vertical-align: middle
|
70
|
+
max-height: 100%
|
71
|
+
.btn
|
72
|
+
vertical-align: middle
|
119
73
|
|
120
|
-
.fileupload-
|
121
|
-
|
74
|
+
.fileupload-exists .fileupload-new, .fileupload-new .fileupload-exists
|
75
|
+
display: none
|
76
|
+
|
77
|
+
.fileupload-inline .fileupload-controls
|
78
|
+
display: inline
|
79
|
+
|
80
|
+
.fileupload-new .input-append .btn-file
|
81
|
+
border-radius: 0 3px 3px 0
|
82
|
+
|
83
|
+
.thumbnail-borderless .thumbnail
|
84
|
+
border: none
|
85
|
+
padding: 0
|
86
|
+
border-radius: 0
|
87
|
+
box-shadow: none
|
88
|
+
|
89
|
+
.fileupload-new.thumbnail-borderless .thumbnail
|
90
|
+
border: 1px solid #ddd
|
91
|
+
|
92
|
+
.control-group
|
93
|
+
&.warning .fileupload
|
94
|
+
.uneditable-input
|
95
|
+
color: #a47e3c
|
96
|
+
border-color: #a47e3c
|
97
|
+
.fileupload-preview
|
98
|
+
color: #a47e3c
|
99
|
+
.thumbnail
|
100
|
+
border-color: #a47e3c
|
101
|
+
&.error .fileupload
|
102
|
+
.uneditable-input
|
103
|
+
color: #b94a48
|
104
|
+
border-color: #b94a48
|
105
|
+
.fileupload-preview
|
106
|
+
color: #b94a48
|
107
|
+
.thumbnail
|
108
|
+
border-color: #b94a48
|
109
|
+
&.success .fileupload
|
110
|
+
.uneditable-input
|
111
|
+
color: #468847
|
112
|
+
border-color: #468847
|
113
|
+
.fileupload-preview
|
114
|
+
color: #468847
|
115
|
+
.thumbnail
|
116
|
+
border-color: #468847
|
117
|
+
|
118
|
+
.fileupload-new .fileupload-preview
|
119
|
+
display: none
|
120
|
+
|
121
|
+
.fileupload-preview
|
122
|
+
text-align: center
|
122
123
|
|
123
|
-
.fileupload-remove
|
124
|
-
|
125
|
-
|
126
|
-
|
124
|
+
.fileupload-remove
|
125
|
+
position: absolute
|
126
|
+
top: 0
|
127
|
+
right: 0
|
127
128
|
|
128
|
-
.fileupload-actions
|
129
|
-
|
129
|
+
.fileupload-actions
|
130
|
+
position: relative
|
130
131
|
|
131
|
-
.progress
|
132
|
-
|
133
|
-
|
134
|
-
|
132
|
+
.progress
|
133
|
+
height: 14px
|
134
|
+
margin-bottom: 0
|
135
|
+
border-radius: 0
|
data/lib/uploadbox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uploadbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julio Protzek
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -267,16 +267,30 @@ dependencies:
|
|
267
267
|
name: sham_rack
|
268
268
|
requirement: !ruby/object:Gem::Requirement
|
269
269
|
requirements:
|
270
|
-
- -
|
270
|
+
- - ~>
|
271
271
|
- !ruby/object:Gem::Version
|
272
|
-
version:
|
272
|
+
version: 1.3.6
|
273
273
|
type: :development
|
274
274
|
prerelease: false
|
275
275
|
version_requirements: !ruby/object:Gem::Requirement
|
276
276
|
requirements:
|
277
|
-
- -
|
277
|
+
- - ~>
|
278
|
+
- !ruby/object:Gem::Version
|
279
|
+
version: 1.3.6
|
280
|
+
- !ruby/object:Gem::Dependency
|
281
|
+
name: simplecov
|
282
|
+
requirement: !ruby/object:Gem::Requirement
|
283
|
+
requirements:
|
284
|
+
- - ~>
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
version: 0.7.1
|
287
|
+
type: :development
|
288
|
+
prerelease: false
|
289
|
+
version_requirements: !ruby/object:Gem::Requirement
|
290
|
+
requirements:
|
291
|
+
- - ~>
|
278
292
|
- !ruby/object:Gem::Version
|
279
|
-
version:
|
293
|
+
version: 0.7.1
|
280
294
|
description: Uploadbox makes easy to manage files in your Rails application.
|
281
295
|
email:
|
282
296
|
- julio@startae.com.br
|