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: 06a190cd59dfb7df84e16477b87dd71d0594bdd06123df4c9152b83c6b4d0306
4
- data.tar.gz: 46d03ccab74b623f592d67f2c1068825508e843376da5d13461accd66d917b9c
3
+ metadata.gz: b863fe878c3f92f16c13665f3ec54fef0903f9bad46263fb76d825f1dc8cee40
4
+ data.tar.gz: 02a76bc3fdf49371ddb80fd81aed70ffd63ba9afc12c48d28d81d5576e08c35e
5
5
  SHA512:
6
- metadata.gz: ac88a5637d35023161178d6a7ef07baec5663acfd97e4221a83a5e3fcb89d81c85f94bc26537e3500d906f89b3675507434aec7cd7776569cb93bb20d7c414b2
7
- data.tar.gz: 3ee2c3a77a4cd1dc24c6dfd18948ac1f100e094e46a1eafadd3fd117a4d304646f7af1f7d290668fdfe95f4b3dd3acacedd0c4a5513cbc3549c3f3eb937abd04
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="column_edit_inspect_mobile_enabled"
32
- ng-model="promethee.inspected.attributes.mobile.enabled"
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="column_edit_inspect_mobile_enabled"> <b>Mobile</b></label>
35
+ for="column_edit_inspect_tablet_enabled"> <b>Tablette</b></label>
36
36
  </div>
37
- <div ng-show="promethee.inspected.attributes.mobile.enabled">
37
+ <div ng-show="promethee.inspected.attributes.tablet.enabled">
38
38
  <div class="form-group">
39
- <label class="label-control">Size: {{promethee.inspected.attributes.mobile.size}}</label><br/>
40
- <input ng-model="promethee.inspected.attributes.mobile.size"
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.mobile.offset}}</label><br/>
49
- <input ng-model="promethee.inspected.attributes.mobile.offset"
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.mobile.size}}">
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="column_edit_inspect_tablet_enabled"
60
- ng-model="promethee.inspected.attributes.tablet.enabled"
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="column_edit_inspect_tablet_enabled"> <b>Tablette</b></label>
63
+ for="column_edit_inspect_mobile_enabled"> <b>Mobile</b></label>
64
64
  </div>
65
- <div ng-show="promethee.inspected.attributes.tablet.enabled">
65
+ <div ng-show="promethee.inspected.attributes.mobile.enabled">
66
66
  <div class="form-group">
67
- <label class="label-control">Size: {{promethee.inspected.attributes.tablet.size}}</label><br/>
68
- <input ng-model="promethee.inspected.attributes.tablet.size"
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.tablet.offset}}</label><br/>
77
- <input ng-model="promethee.inspected.attributes.tablet.offset"
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.tablet.size}}">
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 = " col-lg-#{size} offset-lg-#{offset} col-lg-offset-#{offset}" # BS4 desktop+, BS3 desktop large
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
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.11.22'
3
+ VERSION = '1.11.23'
4
4
  end
5
5
  end
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.22
4
+ version: 1.11.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya