promethee 2.0.5 → 2.0.6

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: bf4aaf72707e6a676369d46bae6a07c8244cb13d7f69842aa2a90fadb7c25d13
4
- data.tar.gz: d8177d0c0f9a2cef42ddbe909d200a07770a95bc16289bc4a727e0fcc70c49a5
3
+ metadata.gz: 2da726f5f3883aa711272a3556d8f196594d3fe26848703f22eef79c3c80e3bb
4
+ data.tar.gz: c9dcc60675a414efff5359a38020fd2a1836ef9394dd7c3924a559b61b6ba2e3
5
5
  SHA512:
6
- metadata.gz: fb27635cc7beb2994df8895c885c84475d87d6b477d54e6265bffec985ac78addd39e879afbad393c40fd29e45dc8e752414cac17555e398f0186ac5654efb18
7
- data.tar.gz: cc806052d96f55bdab994f1714490d04ef33da80d7afeedddc727914e81352732c17c68f6b52ec1c6c1a3a493584e860f448c0fab48d49e984c327d8a176e12a
6
+ metadata.gz: 1a8eb5c4beb64cd731e389cd4ca74ce2642d31b509b6327202ba6e6c122f72c1aa0b0c393df7508eaeb890f1757cea07c84ef2115fbba2d35e4e371a084fd390
7
+ data.tar.gz: ab0749d1ad2ce1274abd4d427563e87c76fc6764ac79a48d0c5e9f612031bc4555a8950fb3df2f6646aa314458683468acc741ee130f3b1693fa1d80a7ab733a
@@ -92,17 +92,16 @@
92
92
  bottom: 0
93
93
 
94
94
  .promethee_uploader--preview
95
- float: right
96
95
  margin-top: 5px
97
96
  img, video
98
97
  display: block
99
- margin: 0 0 0 auto
100
98
  max-height: 34px
101
99
  video
102
100
  max-width: 50px
103
101
  &__delete
104
- margin-left: 5px
105
102
  cursor: pointer
103
+ float: right
104
+ margin-left: 5px
106
105
 
107
106
 
108
107
  .promethee-edit
@@ -2,8 +2,14 @@
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" type="radio" value="image" />Image </label>
6
- <label class="radio-inline"> <input ng-model="promethee.inspected.attributes.media_type" type="radio" value="video" />Video </label>
5
+ <label for="sliderItemMediaTypeImage" class="radio-inline form-check form-check-inline">
6
+ <input ng-model="promethee.inspected.attributes.media_type" class="form-check-input" type="radio" value="image" id="sliderItemMediaTypeImage" />
7
+ <span class="form-check-label">Image</span>
8
+ </label>
9
+ <label for="sliderItemMediaTypeVideo" class="radio-inline form-check form-check-inline">
10
+ <input ng-model="promethee.inspected.attributes.media_type" class="form-check-input" type="radio" value="video" id="sliderItemMediaTypeVideo" />
11
+ <span class="form-check-label">Video</span>
12
+ </label>
7
13
  </div>
8
14
  </div>
9
15
 
@@ -3,7 +3,7 @@
3
3
  <div class="header">Slider Item</div>
4
4
  <div class="row">
5
5
  <div class="col-12 col-xs-12">
6
- <img ng-show="component.attributes.media_type == 'image'" ng-src="{{ component.attributes.image.id ? '/promethee/blob/' + component.attributes.image.id : '#' }}" class="img-fluid img-responsive">
6
+ <img ng-show="component.attributes.media_type == 'image'" ng-if="component.attributes.image.id != undefined" ng-src="/promethee/blob/{{component.attributes.image.id}}" class="img-fluid img-responsive">
7
7
  <div ng-show="component.attributes.media_type == 'video'" ng-controller="SliderItemVideoController">
8
8
  <div class="embed-responsive embed-responsive-16by9">
9
9
  <iframe ng-if="embed" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="allowfullscreen" ng-src="{{embed | urlSafe}}"></iframe>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '2.0.5'
3
+ VERSION = '2.0.6'
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: 2.0.5
4
+ version: 2.0.6
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: 2019-06-07 00:00:00.000000000 Z
17
+ date: 2019-06-25 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails