light_admin 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +13 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +24 -22
- data/README.md +1 -1
- data/app/assets/javascripts/light_admin/filters_toggle.js +1 -1
- data/app/assets/stylesheets/light_admin/_rules.scss +4 -0
- data/app/assets/stylesheets/light_admin/components/_comments.scss +13 -0
- data/app/assets/stylesheets/light_admin/components/_forms.scss +11 -9
- data/app/assets/stylesheets/light_admin/components/_sidebars.scss +6 -0
- data/app/assets/stylesheets/light_admin/components/_tables.scss +1 -1
- data/lib/light_admin/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9da5ee127288f83962335396fdcc2f0373fe64b49e360ee11216fb988dd2cd5e
|
4
|
+
data.tar.gz: 8f8e011ae25aded3a844bae2e0db0e2e2dbe400f7ea3f1e2da3a641c73cfc5fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa00cb7ee38c9d93a12de10599f118f9b335a3ecf469a372de411b5a614957ee89b312b55cbecb5994a5ecade4ed9e3c3d8dbf38184ea008b2deafeefa1dc851
|
7
|
+
data.tar.gz: 35a539c3b15cd9bd93048c1e00333d5b757cb95757f1b77483c36592fac1ce3e6b0ec8bc9cd6f38f9235f5edb9406c79f3f32f1170a5db826b5524ed22bd39d8
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -7,15 +7,15 @@ PATH
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (6.1.
|
11
|
-
actionview (= 6.1.
|
12
|
-
activesupport (= 6.1.
|
10
|
+
actionpack (6.1.4.1)
|
11
|
+
actionview (= 6.1.4.1)
|
12
|
+
activesupport (= 6.1.4.1)
|
13
13
|
rack (~> 2.0, >= 2.0.9)
|
14
14
|
rack-test (>= 0.6.3)
|
15
15
|
rails-dom-testing (~> 2.0)
|
16
16
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
17
|
-
actionview (6.1.
|
18
|
-
activesupport (= 6.1.
|
17
|
+
actionview (6.1.4.1)
|
18
|
+
activesupport (= 6.1.4.1)
|
19
19
|
builder (~> 3.1)
|
20
20
|
erubi (~> 1.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
@@ -29,12 +29,12 @@ GEM
|
|
29
29
|
kaminari (~> 1.0, >= 1.2.1)
|
30
30
|
railties (>= 5.2, < 6.2)
|
31
31
|
ransack (~> 2.1, >= 2.1.1)
|
32
|
-
activemodel (6.1.
|
33
|
-
activesupport (= 6.1.
|
34
|
-
activerecord (6.1.
|
35
|
-
activemodel (= 6.1.
|
36
|
-
activesupport (= 6.1.
|
37
|
-
activesupport (6.1.
|
32
|
+
activemodel (6.1.4.1)
|
33
|
+
activesupport (= 6.1.4.1)
|
34
|
+
activerecord (6.1.4.1)
|
35
|
+
activemodel (= 6.1.4.1)
|
36
|
+
activesupport (= 6.1.4.1)
|
37
|
+
activesupport (6.1.4.1)
|
38
38
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
39
39
|
i18n (>= 1.6, < 2)
|
40
40
|
minitest (>= 5.1)
|
@@ -44,18 +44,18 @@ GEM
|
|
44
44
|
activesupport (>= 3.0.0, < 6.2)
|
45
45
|
ruby2_keywords (>= 0.0.2, < 1.0)
|
46
46
|
builder (3.2.4)
|
47
|
-
concurrent-ruby (1.1.
|
47
|
+
concurrent-ruby (1.1.9)
|
48
48
|
crass (1.0.6)
|
49
49
|
erubi (1.10.0)
|
50
50
|
formtastic (4.0.0)
|
51
51
|
actionpack (>= 5.2.0)
|
52
|
-
formtastic_i18n (0.
|
52
|
+
formtastic_i18n (0.7.0)
|
53
53
|
has_scope (0.8.0)
|
54
54
|
actionpack (>= 5.2)
|
55
55
|
activesupport (>= 5.2)
|
56
56
|
i18n (1.8.10)
|
57
57
|
concurrent-ruby (~> 1.0)
|
58
|
-
inherited_resources (1.
|
58
|
+
inherited_resources (1.13.0)
|
59
59
|
actionpack (>= 5.2, < 6.2)
|
60
60
|
has_scope (~> 0.6)
|
61
61
|
railties (>= 5.2, < 6.2)
|
@@ -76,12 +76,14 @@ GEM
|
|
76
76
|
activerecord
|
77
77
|
kaminari-core (= 1.2.1)
|
78
78
|
kaminari-core (1.2.1)
|
79
|
-
loofah (2.
|
79
|
+
loofah (2.12.0)
|
80
80
|
crass (~> 1.0.2)
|
81
81
|
nokogiri (>= 1.5.9)
|
82
82
|
method_source (1.0.0)
|
83
|
+
mini_portile2 (2.6.1)
|
83
84
|
minitest (5.14.4)
|
84
|
-
nokogiri (1.
|
85
|
+
nokogiri (1.12.5)
|
86
|
+
mini_portile2 (~> 2.6.1)
|
85
87
|
racc (~> 1.4)
|
86
88
|
racc (1.5.2)
|
87
89
|
rack (2.2.3)
|
@@ -90,13 +92,13 @@ GEM
|
|
90
92
|
rails-dom-testing (2.0.3)
|
91
93
|
activesupport (>= 4.2.0)
|
92
94
|
nokogiri (>= 1.6)
|
93
|
-
rails-html-sanitizer (1.
|
95
|
+
rails-html-sanitizer (1.4.2)
|
94
96
|
loofah (~> 2.3)
|
95
|
-
railties (6.1.
|
96
|
-
actionpack (= 6.1.
|
97
|
-
activesupport (= 6.1.
|
97
|
+
railties (6.1.4.1)
|
98
|
+
actionpack (= 6.1.4.1)
|
99
|
+
activesupport (= 6.1.4.1)
|
98
100
|
method_source
|
99
|
-
rake (>= 0.
|
101
|
+
rake (>= 0.13)
|
100
102
|
thor (~> 1.0)
|
101
103
|
rake (12.3.3)
|
102
104
|
ransack (2.4.2)
|
@@ -106,7 +108,7 @@ GEM
|
|
106
108
|
responders (3.0.1)
|
107
109
|
actionpack (>= 5.0)
|
108
110
|
railties (>= 5.0)
|
109
|
-
ruby2_keywords (0.0.
|
111
|
+
ruby2_keywords (0.0.5)
|
110
112
|
thor (1.1.0)
|
111
113
|
tzinfo (2.0.4)
|
112
114
|
concurrent-ruby (~> 1.0)
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
$(document).ready(function () {
|
2
2
|
$('#active_admin_content .table_tools').append('<a id="toggleFilters" href="#" class=\'epon\'>Filtres</a>');
|
3
3
|
|
4
|
-
if (!window.location.search.includes('Filter')) {
|
4
|
+
if (!window.location.search.includes('Filter') && $('body').hasClass('index')) {
|
5
5
|
$('div#sidebar').hide();
|
6
6
|
$('#main_content').css({ 'margin-right': '0px' });
|
7
7
|
$('a#toggleFilters').removeClass('epon');
|
@@ -32,6 +32,19 @@
|
|
32
32
|
margin-bottom: 24px;
|
33
33
|
}
|
34
34
|
}
|
35
|
+
|
36
|
+
.comments {
|
37
|
+
.empty {
|
38
|
+
position: relative;
|
39
|
+
padding: 1.5rem;
|
40
|
+
top: 1.25rem;
|
41
|
+
font-weight: bold;
|
42
|
+
}
|
43
|
+
|
44
|
+
.active_admin_comment {
|
45
|
+
max-width: 100%;
|
46
|
+
}
|
47
|
+
}
|
35
48
|
}
|
36
49
|
|
37
50
|
div.active_admin_comment {
|
@@ -42,7 +42,7 @@ form {
|
|
42
42
|
|
43
43
|
ol > li {
|
44
44
|
border-bottom: none;
|
45
|
-
padding: 0 0
|
45
|
+
padding: 0 0 .5rem 0 !important;
|
46
46
|
|
47
47
|
label {
|
48
48
|
width: 100% !important;
|
@@ -127,12 +127,15 @@ form {
|
|
127
127
|
transition: unset;
|
128
128
|
|
129
129
|
&:after {
|
130
|
-
|
131
|
-
|
132
|
-
|
130
|
+
position: absolute;
|
131
|
+
border: solide $white;
|
132
|
+
border-width: 0 2px 2px 0;
|
133
|
+
height: 8px;
|
134
|
+
width: 2px;
|
135
|
+
left: 5px;
|
136
|
+
bottom: 3px;
|
133
137
|
transition: unset;
|
134
|
-
|
135
|
-
color: $text-white;
|
138
|
+
transform: rotate(45deg);
|
136
139
|
}
|
137
140
|
}
|
138
141
|
}
|
@@ -179,8 +182,7 @@ form {
|
|
179
182
|
}
|
180
183
|
|
181
184
|
.filter_form_field.select_and_search input[type=text] {
|
182
|
-
margin-left:
|
183
|
-
width: inherit;
|
185
|
+
margin-left: 10px;
|
184
186
|
}
|
185
187
|
|
186
188
|
.filter_form_field + .filter_form_field {
|
@@ -190,7 +192,7 @@ form {
|
|
190
192
|
|
191
193
|
.filter_form_field.select_and_search
|
192
194
|
input[type='text'] {
|
193
|
-
width: calc(50% -
|
195
|
+
width: calc(50% - 22px);
|
194
196
|
height: 20px;
|
195
197
|
}
|
196
198
|
|
data/lib/light_admin/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: light_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marie Ishihara
|
8
8
|
- Antoine Goeuriot
|
9
9
|
- CapSens
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activeadmin
|
@@ -34,11 +34,12 @@ dependencies:
|
|
34
34
|
version: '3.0'
|
35
35
|
description: At CapSens - Paris-based RoR agency - we like ActiveAdmin very much.
|
36
36
|
So we made this theme.
|
37
|
-
email:
|
37
|
+
email:
|
38
38
|
executables: []
|
39
39
|
extensions: []
|
40
40
|
extra_rdoc_files: []
|
41
41
|
files:
|
42
|
+
- ".circleci/config.yml"
|
42
43
|
- ".gitignore"
|
43
44
|
- CHANGELOG.md
|
44
45
|
- CODE_OF_CONDUCT.md
|
@@ -91,11 +92,11 @@ files:
|
|
91
92
|
- lib/light_admin/panel_with_link.rb
|
92
93
|
- lib/light_admin/version.rb
|
93
94
|
- light_admin.gemspec
|
94
|
-
homepage:
|
95
|
+
homepage:
|
95
96
|
licenses:
|
96
97
|
- MIT
|
97
98
|
metadata: {}
|
98
|
-
post_install_message:
|
99
|
+
post_install_message:
|
99
100
|
rdoc_options: []
|
100
101
|
require_paths:
|
101
102
|
- lib
|
@@ -111,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
112
|
version: '0'
|
112
113
|
requirements: []
|
113
114
|
rubygems_version: 3.1.2
|
114
|
-
signing_key:
|
115
|
+
signing_key:
|
115
116
|
specification_version: 4
|
116
117
|
summary: Simple, minimal theme for activeadmin.
|
117
118
|
test_files: []
|