promethee 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/app/assets/stylesheets/promethee-edit/_move.sass +9 -0
- data/app/views/promethee/components/aside/_edit.move.html.erb +5 -4
- data/app/views/promethee/components/aside/_show.html.erb +2 -2
- data/lib/promethee.rb +0 -1
- data/lib/promethee/rails/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59747adf42e4e1d191ac47ed5294da4b943d601e739bdd84a6cec94cf8581e28
|
4
|
+
data.tar.gz: a3855944e5642ec7dc0ce4e93a5429fe383fecb0a27676aec731061d817d8929
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63591f048858085cbb3fa8888221ab2666d5ce15e3919df30e8842bd1c018c795e3c92f040715ac49ad88c051c7b46e558b5c111270be0270120bd2ca3f51e7d
|
7
|
+
data.tar.gz: de9fa33d6231f0b99bd7321b20e62c9e9b3ccc5e407b9c8f668ab17685fb1a75ad9c4e293dc18ecc493b739a929fcaa445b220323f0e6ca8eba3d0bb1f1822a0
|
data/README.md
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
Add this line to your application's Gemfile:
|
7
7
|
|
8
8
|
```ruby
|
9
|
+
gem 'bootstrap-sass' # For Bootstrap 3
|
10
|
+
gem 'bootstrap' # For Bootstrap 4
|
9
11
|
gem 'promethee'
|
10
12
|
```
|
11
13
|
|
@@ -95,12 +97,14 @@ Which renders to:
|
|
95
97
|
|
96
98
|
With javascript set:
|
97
99
|
```
|
98
|
-
//= require
|
100
|
+
//= require 'bootstrap-sprockets'
|
101
|
+
//= require @fancyapps/fancybox/dist/jquery.fancybox.min
|
99
102
|
//= require promethee/fancybox
|
100
103
|
```
|
101
104
|
|
102
105
|
With stylesheets set:
|
103
106
|
```
|
107
|
+
@import 'bootstrap-sprockets' // Only Bootstrap 3
|
104
108
|
@import 'bootstrap'
|
105
109
|
@import 'font-awesome-sprockets'
|
106
110
|
@import 'font-awesome'
|
@@ -163,7 +167,7 @@ With javascript set:
|
|
163
167
|
```
|
164
168
|
//= require jquery
|
165
169
|
//= require jquery-ui
|
166
|
-
//= require bootstrap
|
170
|
+
//= require bootstrap-sprockets
|
167
171
|
//= require angular
|
168
172
|
//= require angular-animate
|
169
173
|
//= require summernote/summernote
|
@@ -173,6 +177,7 @@ With javascript set:
|
|
173
177
|
|
174
178
|
With stylesheets set:
|
175
179
|
```
|
180
|
+
@import 'bootstrap-sprockets' // Only Bootstrap 3
|
176
181
|
@import 'bootstrap'
|
177
182
|
@import 'font-awesome-sprockets'
|
178
183
|
@import 'font-awesome'
|
@@ -1,15 +1,16 @@
|
|
1
1
|
<script type="text/ng-template" id="promethee/components/aside/edit/move">
|
2
2
|
<%= render 'promethee/edit/move.header', type: 'aside' %>
|
3
|
-
<aside ng-show="component.attributes.searchable_collapsed_content"
|
3
|
+
<aside ng-show="component.attributes.searchable_collapsed_content"
|
4
4
|
ng-init="collapsed = true">
|
5
5
|
<div ng-bind-html="component.attributes.searchable_visible_content | htmlSafe"></div>
|
6
|
-
<div ng-hide="collapsed"
|
6
|
+
<div ng-hide="collapsed"
|
7
7
|
ng-bind-html="component.attributes.searchable_collapsed_content | htmlSafe"></div>
|
8
|
-
<a class="btn btn-default btn-block"
|
8
|
+
<a class="btn btn-default btn-block"
|
9
|
+
ng-class="component.attributes.open_label_position"
|
9
10
|
ng-click="collapsed = !collapsed"
|
10
11
|
ng-bind-html="component.attributes.searchable_open_label | htmlSafe"></a>
|
11
12
|
</aside>
|
12
|
-
<aside ng-hide="component.attributes.searchable_collapsed_content"
|
13
|
+
<aside ng-hide="component.attributes.searchable_collapsed_content"
|
13
14
|
ng-bind-html="component.attributes.searchable_visible_content | htmlSafe"></aside>
|
14
15
|
</div>
|
15
16
|
</div>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
<%= searchable_collapsed_content.html_safe %>
|
15
15
|
</div>
|
16
16
|
|
17
|
-
<div class="aside__button">
|
18
|
-
<a href="#aside-collapse-<%= component[:id] %>" data-toggle="collapse"
|
17
|
+
<div class="aside__button aside__button--<%= open_label_position %>">
|
18
|
+
<a href="#aside-collapse-<%= component[:id] %>" data-toggle="collapse"><%= searchable_open_label %></a>
|
19
19
|
</div>
|
20
20
|
|
21
21
|
<% end %>
|
data/lib/promethee.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promethee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sébastien Gaya
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2018-11-
|
17
|
+
date: 2018-11-22 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: rails
|
@@ -44,20 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 1.6.2
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: bootstrap-sass
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '0'
|
61
47
|
- !ruby/object:Gem::Dependency
|
62
48
|
name: sass-rails
|
63
49
|
requirement: !ruby/object:Gem::Requirement
|