promethee 4.1.6 → 4.1.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/app/assets/stylesheets/promethee-edit/_move.sass +4 -2
- data/app/assets/stylesheets/promethee.sass +17 -8
- data/app/views/promethee/components/aside/_edit.inspect.html.erb +3 -3
- data/app/views/promethee/components/collection/_edit.inspect.html.erb +4 -4
- data/app/views/promethee/components/collection_item/_edit.inspect.html.erb +2 -2
- data/app/views/promethee/edit/_radiobuttons.html.erb +1 -1
- data/app/views/promethee/show/_image.srcset.html.erb +1 -1
- data/lib/promethee/rails/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: 273ea8989bee7c01520af11dcedbf568122937eac2c54f57ee493394604f69cf
|
|
4
|
+
data.tar.gz: 001cfbf000acf02f23daeba707d03156f2bb45eafe9317c355cc54df463460b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8d5b0383e16473baf45140e8907275e5831fd994c0b6c02127234fa3cb27b991376ec632b53eb556673b6ac96e8a1a504f7c989be802579cf1e99b6355a6eda
|
|
7
|
+
data.tar.gz: 9e43292b6a4d035c6a6b0a54fd17f115eb63bcc245ff3d561744702e0b5cf22353bed3495b7048471679ab41a198b4456fee21180b82c4f92841ce19a5f3d596
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
line-height: 100%
|
|
7
7
|
&__inner
|
|
8
8
|
border: 1px solid #CCCCCC
|
|
9
|
-
|
|
9
|
+
display: flex
|
|
10
|
+
flex-direction: column
|
|
11
|
+
justify-content: center
|
|
12
|
+
min-height: 70px
|
|
10
13
|
position: relative
|
|
11
14
|
p.text-empty
|
|
12
|
-
line-height: 50px
|
|
13
15
|
margin-bottom: 0
|
|
14
16
|
&--selected
|
|
15
17
|
> .promethee-edit__component__inner
|
|
@@ -164,20 +164,26 @@ $black: #000000 !default
|
|
|
164
164
|
// component direct in root
|
|
165
165
|
&__page > &__blockquote,
|
|
166
166
|
&__page > &__cover
|
|
167
|
-
.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
.promethee__component
|
|
168
|
+
&__row
|
|
169
|
+
@extend .row
|
|
170
|
+
&__content
|
|
171
|
+
@extend .col-md-8
|
|
172
|
+
@extend .offset-md-2 !optional
|
|
173
|
+
@extend .col-md-offset-2 !optional
|
|
171
174
|
|
|
172
175
|
&__page > &__aside,
|
|
173
176
|
&__page > &__faq,
|
|
174
177
|
&__page > &__image,
|
|
175
178
|
&__page > &__text,
|
|
176
179
|
&__page > &__video
|
|
177
|
-
.
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
180
|
+
.promethee__component
|
|
181
|
+
&__row
|
|
182
|
+
@extend .row
|
|
183
|
+
&__content
|
|
184
|
+
@extend .col-md-10
|
|
185
|
+
@extend .offset-md-1 !optional
|
|
186
|
+
@extend .col-md-offset-1 !optional
|
|
181
187
|
|
|
182
188
|
|
|
183
189
|
@media screen and (max-width: 767.98px)
|
|
@@ -187,6 +193,9 @@ $black: #000000 !default
|
|
|
187
193
|
&__page > &__video
|
|
188
194
|
padding-left: 0
|
|
189
195
|
padding-right: 0
|
|
196
|
+
.promethee__component__row
|
|
197
|
+
margin-left: 0
|
|
198
|
+
margin-right: 0
|
|
190
199
|
.promethee__component__content
|
|
191
200
|
padding-left: 0
|
|
192
201
|
padding-right: 0
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
<div class="form-group">
|
|
18
18
|
<label class="label-control">Button label position</label>
|
|
19
19
|
<div>
|
|
20
|
-
<label class="radio-inline"> <input ng-model="promethee.inspected.attributes.open_label_position.value" type="radio" value="left" />Left </label>
|
|
21
|
-
<label class="radio-inline"> <input ng-model="promethee.inspected.attributes.open_label_position.value" type="radio" value="center" />Center </label>
|
|
22
|
-
<label class="radio-inline"> <input ng-model="promethee.inspected.attributes.open_label_position.value" type="radio" value="right" />Right </label>
|
|
20
|
+
<label class="radio-inline form-check form-check-inline"> <input ng-model="promethee.inspected.attributes.open_label_position.value" type="radio" value="left" class="form-check-input" />Left </label>
|
|
21
|
+
<label class="radio-inline form-check form-check-inline"> <input ng-model="promethee.inspected.attributes.open_label_position.value" type="radio" value="center" class="form-check-input" />Center </label>
|
|
22
|
+
<label class="radio-inline form-check form-check-inline"> <input ng-model="promethee.inspected.attributes.open_label_position.value" type="radio" value="right" class="form-check-input" />Right </label>
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
25
25
|
</script>
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
<label class="label-control">Items per line (on desktop):</label>
|
|
4
4
|
<div class="row">
|
|
5
5
|
<div class="col-xs-2 col-2">
|
|
6
|
-
<input ng-model="promethee.inspected.attributes.items_per_line.value" type="radio" ng-value="2">
|
|
6
|
+
<label class="radio-inline form-check form-check-inline"><input ng-model="promethee.inspected.attributes.items_per_line.value" type="radio" ng-value="2" class="form-check-input">2</label>
|
|
7
7
|
</div>
|
|
8
8
|
<div class="col-xs-2 col-2">
|
|
9
|
-
<input ng-model="promethee.inspected.attributes.items_per_line.value" type="radio" ng-value="3">
|
|
9
|
+
<label class="radio-inline form-check form-check-inline"><input ng-model="promethee.inspected.attributes.items_per_line.value" type="radio" ng-value="3" class="form-check-input">3</label>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="col-xs-2 col-2">
|
|
12
|
-
<input ng-model="promethee.inspected.attributes.items_per_line.value" type="radio" ng-value="4">
|
|
12
|
+
<label class="radio-inline form-check form-check-inline"><input ng-model="promethee.inspected.attributes.items_per_line.value" type="radio" ng-value="4" class="form-check-input">4</label>
|
|
13
13
|
</div>
|
|
14
14
|
<div class="col-xs-2 col-2">
|
|
15
|
-
<input ng-model="promethee.inspected.attributes.items_per_line.value" type="radio" ng-value="6">
|
|
15
|
+
<label class="radio-inline form-check form-check-inline"><input ng-model="promethee.inspected.attributes.items_per_line.value" type="radio" ng-value="6" class="form-check-input">6</label>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div class="form-group">
|
|
3
3
|
<label class="label-control">Media type</label>
|
|
4
4
|
<div>
|
|
5
|
-
<label class="radio-inline"> <input ng-model="promethee.inspected.attributes.media_type.value" type="radio" value="image" />Image </label>
|
|
6
|
-
<label class="radio-inline"> <input ng-model="promethee.inspected.attributes.media_type.value" type="radio" value="video" />Video </label>
|
|
5
|
+
<label class="radio-inline form-check form-check-inline"> <input ng-model="promethee.inspected.attributes.media_type.value" type="radio" value="image" class="form-check-input" />Image </label>
|
|
6
|
+
<label class="radio-inline form-check form-check-inline"> <input ng-model="promethee.inspected.attributes.media_type.value" type="radio" value="video" class="form-check-input" />Video </label>
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<label class="label-control"><%= label %></label>
|
|
3
3
|
<div style="margin-left: 2px">
|
|
4
4
|
<% values.each do |value| %>
|
|
5
|
-
<label class="radio-inline"> <input ng-model="<%= model %>" type="radio" value="<%= value %>" /><%= value.humanize %> </label>
|
|
5
|
+
<label class="radio-inline form-check form-check-inline"> <input ng-model="<%= model %>" type="radio" value="<%= value %>" class="form-check-input" /><%= value.humanize %> </label>
|
|
6
6
|
<% end %>
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<% image_width = blob.metadata.has_key?(:width) ? blob.metadata[:width] : ActiveStorage::Analyzer::ImageAnalyzer.new(blob).metadata[:width] %>
|
|
4
4
|
|
|
5
5
|
<% if image_zoomable %>
|
|
6
|
-
<a data-fancybox title="<%= strip_tags(caption) %>" href="<%= fullsize_url %>">
|
|
6
|
+
<a data-fancybox="gallery" title="<%= strip_tags(caption) %>" href="<%= fullsize_url %>">
|
|
7
7
|
<% end %>
|
|
8
8
|
<img src="<%= fullsize_url %>"
|
|
9
9
|
srcset="
|
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: 4.1.
|
|
4
|
+
version: 4.1.7
|
|
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: 2020-
|
|
17
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
|
18
18
|
dependencies:
|
|
19
19
|
- !ruby/object:Gem::Dependency
|
|
20
20
|
name: rails
|