promethee 1.11.22 → 1.11.23
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b863fe878c3f92f16c13665f3ec54fef0903f9bad46263fb76d825f1dc8cee40
|
4
|
+
data.tar.gz: 02a76bc3fdf49371ddb80fd81aed70ffd63ba9afc12c48d28d81d5576e08c35e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb94844b95dcb51fb6b64056da129f5b0e97af821860e126f9d96d7063d4a47b676d52a11488bfb5bb91371b94751d4b37d55b4ef2b058ba1395d1aa2910b72
|
7
|
+
data.tar.gz: 39d2202bd8ce28501d1bba2f69eb058689545841236eff6e7a431bd17d5dcf7122d28cefbd67301cc54c0c4b9378f2fad046ad7c8fac6f48ee5f7e4f3ced8f82
|
@@ -28,16 +28,16 @@
|
|
28
28
|
|
29
29
|
<%= render 'promethee/edit/inspect.advanced' %>
|
30
30
|
<div class="form-group">
|
31
|
-
<input id="
|
32
|
-
ng-model="promethee.inspected.attributes.
|
31
|
+
<input id="column_edit_inspect_tablet_enabled"
|
32
|
+
ng-model="promethee.inspected.attributes.tablet.enabled"
|
33
33
|
type="checkbox" />
|
34
34
|
<label class="label-control"
|
35
|
-
for="
|
35
|
+
for="column_edit_inspect_tablet_enabled"> <b>Tablette</b></label>
|
36
36
|
</div>
|
37
|
-
<div ng-show="promethee.inspected.attributes.
|
37
|
+
<div ng-show="promethee.inspected.attributes.tablet.enabled">
|
38
38
|
<div class="form-group">
|
39
|
-
<label class="label-control">Size: {{promethee.inspected.attributes.
|
40
|
-
<input ng-model="promethee.inspected.attributes.
|
39
|
+
<label class="label-control">Size: {{promethee.inspected.attributes.tablet.size}}</label><br/>
|
40
|
+
<input ng-model="promethee.inspected.attributes.tablet.size"
|
41
41
|
type="range"
|
42
42
|
class="btn-block"
|
43
43
|
list="tickmarks"
|
@@ -45,27 +45,27 @@
|
|
45
45
|
max="12">
|
46
46
|
</div>
|
47
47
|
<div class="form-group">
|
48
|
-
<label class="label-control">Offset: {{promethee.inspected.attributes.
|
49
|
-
<input ng-model="promethee.inspected.attributes.
|
48
|
+
<label class="label-control">Offset: {{promethee.inspected.attributes.tablet.offset}}</label><br/>
|
49
|
+
<input ng-model="promethee.inspected.attributes.tablet.offset"
|
50
50
|
type="range"
|
51
51
|
class="btn-block"
|
52
52
|
list="tickmarks"
|
53
53
|
min="0"
|
54
|
-
max="{{12-promethee.inspected.attributes.
|
54
|
+
max="{{12-promethee.inspected.attributes.tablet.size}}">
|
55
55
|
</div>
|
56
56
|
</div>
|
57
57
|
|
58
58
|
<div class="form-group">
|
59
|
-
<input id="
|
60
|
-
ng-model="promethee.inspected.attributes.
|
59
|
+
<input id="column_edit_inspect_mobile_enabled"
|
60
|
+
ng-model="promethee.inspected.attributes.mobile.enabled"
|
61
61
|
type="checkbox" />
|
62
62
|
<label class="label-control"
|
63
|
-
for="
|
63
|
+
for="column_edit_inspect_mobile_enabled"> <b>Mobile</b></label>
|
64
64
|
</div>
|
65
|
-
<div ng-show="promethee.inspected.attributes.
|
65
|
+
<div ng-show="promethee.inspected.attributes.mobile.enabled">
|
66
66
|
<div class="form-group">
|
67
|
-
<label class="label-control">Size: {{promethee.inspected.attributes.
|
68
|
-
<input ng-model="promethee.inspected.attributes.
|
67
|
+
<label class="label-control">Size: {{promethee.inspected.attributes.mobile.size}}</label><br/>
|
68
|
+
<input ng-model="promethee.inspected.attributes.mobile.size"
|
69
69
|
type="range"
|
70
70
|
class="btn-block"
|
71
71
|
list="tickmarks"
|
@@ -73,13 +73,13 @@
|
|
73
73
|
max="12">
|
74
74
|
</div>
|
75
75
|
<div class="form-group">
|
76
|
-
<label class="label-control">Offset: {{promethee.inspected.attributes.
|
77
|
-
<input ng-model="promethee.inspected.attributes.
|
76
|
+
<label class="label-control">Offset: {{promethee.inspected.attributes.mobile.offset}}</label><br/>
|
77
|
+
<input ng-model="promethee.inspected.attributes.mobile.offset"
|
78
78
|
type="range"
|
79
79
|
class="btn-block"
|
80
80
|
list="tickmarks"
|
81
81
|
min="0"
|
82
|
-
max="{{12-promethee.inspected.attributes.
|
82
|
+
max="{{12-promethee.inspected.attributes.mobile.size}}">
|
83
83
|
</div>
|
84
84
|
</div>
|
85
85
|
</div>
|
@@ -16,7 +16,7 @@
|
|
16
16
|
# Desktop
|
17
17
|
size = component[:attributes][:size]
|
18
18
|
offset = component[:attributes][:offset]
|
19
|
-
classes
|
19
|
+
classes = " col-lg-#{size} offset-lg-#{offset} col-lg-offset-#{offset}" # BS4 desktop+, BS3 desktop large
|
20
20
|
classes += " col-md-#{size} offset-md-#{offset} col-md-offset-#{offset}" # BS4 tablet+, BS3 desktop only
|
21
21
|
|
22
22
|
# Tablet override
|
@@ -25,8 +25,8 @@ classes += " col-md-#{size} offset-md-#{offset} col-md-offset-#{offset}" # BS4 t
|
|
25
25
|
if component[:attributes][:tablet] && component[:attributes][:tablet][:enabled]
|
26
26
|
size = component[:attributes][:tablet][:size]
|
27
27
|
offset = component[:attributes][:tablet][:offset]
|
28
|
-
classes += " col-md-#{size} col-md-offset-#{offset}" # BS4, breaks small desktop for BS3
|
29
|
-
classes += " col-sm-#{size} offset-sm-#{offset}" # BS3, breaks mobile landscape for BS4
|
28
|
+
classes += " col-md-#{size} col-md-offset-#{offset} offset-md-#{offset}" # BS4, breaks small desktop for BS3
|
29
|
+
classes += " col-sm-#{size} col-sm-offset-#{offset} offset-sm-#{offset}" # BS3, breaks mobile landscape for BS4
|
30
30
|
end
|
31
31
|
|
32
32
|
# Mobile override
|