agilibox 1.5.6 → 1.5.7
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/assets/stylesheets/agilibox/forms.sass +19 -1
- data/app/helpers/agilibox/button_helper.rb +4 -4
- data/lib/agilibox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c195be317aecfd463fb9491f5ed7b27787eb7e78b32680c83bba9edb9a75fce
|
|
4
|
+
data.tar.gz: d3ad2eb30acd27719c9f59c77616bd437968193f806a802fa363530c8bf4085f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d61b75eac0c2df0b538dc7a28dc8884e18666827890cd7946756511eb96ec0877e8d9cf71b589509aa78b087908978a367a4be2464b1947863505815bf8dbeba
|
|
7
|
+
data.tar.gz: 4bb2cd55b28f2e2fa1b1463e77ff75ad8b0007570bd961c451fee938fa1f51fa202f1c74bdd6733454ef3ca7d2be76d377fcb127fe5f8332d91b8fc6f692c2f5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
.checkboxes-dropdown
|
|
2
2
|
.checkbox
|
|
3
|
+
display: block
|
|
4
|
+
|
|
3
5
|
label
|
|
4
6
|
position: static
|
|
5
7
|
margin: 0
|
|
@@ -10,6 +12,15 @@
|
|
|
10
12
|
margin: 0 0.5em 0 0
|
|
11
13
|
width: auto
|
|
12
14
|
|
|
15
|
+
.dropdown-menu
|
|
16
|
+
width: 350px
|
|
17
|
+
max-height: 400px
|
|
18
|
+
max-height: calc(100vh - 300px)
|
|
19
|
+
overflow: auto
|
|
20
|
+
|
|
21
|
+
@media (min-height: 700px)
|
|
22
|
+
max-height: 400px
|
|
23
|
+
|
|
13
24
|
// Chrome and Safari does not trigger display:none submit buttons on <enter> key press
|
|
14
25
|
.hidden-submit
|
|
15
26
|
position: absolute
|
|
@@ -21,9 +32,16 @@
|
|
|
21
32
|
visibility: hidden
|
|
22
33
|
|
|
23
34
|
form.search
|
|
24
|
-
max-width:
|
|
35
|
+
max-width: 25em
|
|
36
|
+
|
|
37
|
+
.search-middle form.search,
|
|
38
|
+
.search-right form.search,
|
|
25
39
|
margin-left: auto
|
|
26
40
|
|
|
41
|
+
.search-left form.search,
|
|
42
|
+
.search-middle form.search,
|
|
43
|
+
margin-right: auto
|
|
44
|
+
|
|
27
45
|
.form-actions
|
|
28
46
|
text-align: center
|
|
29
47
|
margin-top: 45px
|
|
@@ -2,7 +2,7 @@ module Agilibox::ButtonHelper
|
|
|
2
2
|
def bs_button(url, options = {})
|
|
3
3
|
action = options.delete(:action)
|
|
4
4
|
icon = options.delete(:icon)
|
|
5
|
-
text = options.delete(:text) ||
|
|
5
|
+
text = options.delete(:text) || ta(action)
|
|
6
6
|
title = options.delete(:title) || text
|
|
7
7
|
|
|
8
8
|
text = %(#{icon icon} <span class="text">#{text}</span>).html_safe
|
|
@@ -59,7 +59,8 @@ module Agilibox::ButtonHelper
|
|
|
59
59
|
options = {
|
|
60
60
|
:icon => :cloud_download_alt,
|
|
61
61
|
:action => :download,
|
|
62
|
-
:download => url,
|
|
62
|
+
:download => File.basename(url),
|
|
63
|
+
:target => "_blank",
|
|
63
64
|
}.merge(options)
|
|
64
65
|
|
|
65
66
|
bs_button(url, options)
|
|
@@ -77,10 +78,9 @@ module Agilibox::ButtonHelper
|
|
|
77
78
|
options = {
|
|
78
79
|
:icon => :download,
|
|
79
80
|
:action => action,
|
|
80
|
-
:download => url,
|
|
81
81
|
}.merge(options)
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
download_button(url, options)
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
def import_button(url, options = {})
|
data/lib/agilibox/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: agilibox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- agilidée
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-02-
|
|
11
|
+
date: 2019-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails-i18n
|