promethee 1.11.13 → 1.11.14
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35fda8035377d0ee062b5998245c04033540fa6d78a001c9fa611bb117e00fba
|
4
|
+
data.tar.gz: f7414eff8dffe8080ccf4b72d6a3fed61faa70eb66f48ee9a912c2a5fa1d3941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 244069464a8b461700b62dcf34fe20192b138d87561f10bba061fad31c381132568f80166e3c8c181bc622b50bad93565dcf279186bad4e39a9225bb7567dc21
|
7
|
+
data.tar.gz: a3c79bc3d817a652185781d755521ca9e899b60649ecfa78fed99cf087634b82fb95d29ae92bd25e38ecbef97a93b5fa82869b48d841e75e7e8c3dc027651bf1
|
@@ -105,3 +105,19 @@
|
|
105
105
|
&__slider
|
106
106
|
.carousel-item__content
|
107
107
|
text-align: center
|
108
|
+
|
109
|
+
@media print
|
110
|
+
body
|
111
|
+
font-size: 125%
|
112
|
+
.promethee
|
113
|
+
&__component
|
114
|
+
&__page > &__aside,
|
115
|
+
&__page > &__text,
|
116
|
+
&__page > &__faq,
|
117
|
+
&__page > &__table,
|
118
|
+
&__page > &__video,
|
119
|
+
&__page > &__collection,
|
120
|
+
&__page > &__row
|
121
|
+
max-width: 90% !important
|
122
|
+
.container
|
123
|
+
max-width: 90% !important
|
@@ -8,4 +8,21 @@
|
|
8
8
|
<label class="label-control">Offset: {{promethee.inspected.attributes.offset}}</label>
|
9
9
|
<input ng-model="promethee.inspected.attributes.offset" type="range" min="0" max="{{12-promethee.inspected.attributes.size}}">
|
10
10
|
</div>
|
11
|
+
|
12
|
+
<%= render 'promethee/edit/inspect.advanced' %>
|
13
|
+
<div class="form-group">
|
14
|
+
<input id="column_edit_inspect_mobile_enabled" ng-model="promethee.inspected.attributes.mobile.enabled" type="checkbox" />
|
15
|
+
<label class="label-control" for="column_edit_inspect_mobile_enabled"> <b>Mobile</b></label>
|
16
|
+
</div>
|
17
|
+
<div ng-show="promethee.inspected.attributes.mobile.enabled">
|
18
|
+
<div class="form-group">
|
19
|
+
<label class="label-control">Size: {{promethee.inspected.attributes.mobile.size}}</label>
|
20
|
+
<input ng-model="promethee.inspected.attributes.mobile.size" type="range" min="1" max="12">
|
21
|
+
</div>
|
22
|
+
<div class="form-group">
|
23
|
+
<label class="label-control">Offset: {{promethee.inspected.attributes.mobile.offset}}</label>
|
24
|
+
<input ng-model="promethee.inspected.attributes.mobile.offset" type="range" min="0" max="{{12-promethee.inspected.attributes.size}}">
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
11
28
|
</script>
|
@@ -1,7 +1,15 @@
|
|
1
1
|
<%
|
2
2
|
size = component[:attributes][:size]
|
3
3
|
offset = component[:attributes][:offset]
|
4
|
+
classes = "col-md-#{size}"
|
5
|
+
classes += " offset-md-#{offset} col-md-offset-#{offset}" if offset > 0
|
6
|
+
if component[:attributes][:mobile] && component[:attributes][:mobile][:enabled]
|
7
|
+
mobile_size = component[:attributes][:mobile][:size]
|
8
|
+
mobile_offset = component[:attributes][:mobile][:offset]
|
9
|
+
classes += " col-#{mobile_size} col-xs-#{mobile_size}"
|
10
|
+
classes += " offset-#{mobile_offset} col-xs-offset-#{mobile_offset}" if mobile_offset > 0
|
11
|
+
end
|
4
12
|
%>
|
5
|
-
<div class="
|
13
|
+
<div class="<%= classes %> <%= promethee_class_for component %>">
|
6
14
|
<%= render 'promethee/show/components', components: component[:children] %>
|
7
15
|
</div>
|
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.11.
|
4
|
+
version: 1.11.14
|
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-12-
|
17
|
+
date: 2018-12-14 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: rails
|