scrivito_section_widgets 0.0.13 → 0.0.14

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
  SHA1:
3
- metadata.gz: a3345e8df6323f9702d4591a4f18199f6408a913
4
- data.tar.gz: 190a5fe8572c48a95f352d8689295ee68fecebe3
3
+ metadata.gz: dc191a786b525e214f6099f0c84c5667478ca630
4
+ data.tar.gz: 2c6b2989e7276f2687a9ded6eefc8d51b0c0721c
5
5
  SHA512:
6
- metadata.gz: 979de421d6e5a8361e098a2f01bddcdaf87132843b74375dde31d3dc56893564e46105fe8fc15a910cf8d7dc3c70cf6479e03e4da59c2f6e4d0eac3377132e98
7
- data.tar.gz: 78c1a2e850d5cee8bd34a3bcded53f5824d11a70947760756c355d23ca5f4faed2328e1abda16b99f2aa4eec811b749bb9d9a39c1dd41c0a5a1f497eb31c9e72
6
+ metadata.gz: 549fa546590d599657c466b381fb524f8d1c683e4968c43a14ab6a831f0d38dd608d165f2c71fbcd709a32252b6ab3ee3b029df476da2834d2c90c9b1f141ff4
7
+ data.tar.gz: 33a3a09e3d7f4161d0fdb7830e1e9852fcd80cc3875b36ca4ba24c878bff1fa6bacbb83d92f45a34bdfb5551f3bb81d2f5006e1b1b2f7cd179cebb5253531774
@@ -1,8 +1,9 @@
1
1
  <div class="details-view" >
2
- <h4>Background Color</h4>
3
- <%= scrivito_toggle_button_editor widget, :background_color, widget.selectable_color_classes('scrivito_content_widget', 'background_color') do |text| %>
4
- <% scrivito_tag(:button, widget, :background_color, class: text, data: {editor: 'scrivito-toggle-button', content: text}) do
5
- text
6
- end %>
2
+ <%= scrivito_details_for 'Background Color' do %>
3
+ <%= scrivito_toggle_button_editor widget, :background_color, widget.selectable_color_classes('scrivito_content_widget', 'background_color') do |text| %>
4
+ <% scrivito_tag(:button, widget, :background_color, class: text, data: {editor: 'scrivito-toggle-button', content: text}) do
5
+ text
6
+ end %>
7
+ <% end %>
7
8
  <% end %>
8
9
  </div>
@@ -1,7 +1,7 @@
1
- <div class="details-view" >
2
- <h4>Background Image</h4>
1
+ <%= scrivito_details_for 'Background Image' do %>
3
2
  <%= scrivito_tag(:div, widget, :background_image) %>
3
+ <% end %>
4
4
 
5
- <h4>Height</h4>
5
+ <%= scrivito_details_for 'Height' do %>
6
6
  <%= scrivito_tag(:div, widget, :height) %>
7
- </div>
7
+ <% end %>
@@ -1,16 +1,19 @@
1
- <div class="details-view" >
2
- <h4>MP4 Video</h4>
1
+ <%= scrivito_details_for 'MP4 Video' do %>
3
2
  <%= scrivito_tag(:div, widget, :background_video_mp4) %>
3
+ <% end %>
4
4
 
5
- <h4>Webm Video</h4>
5
+ <%= scrivito_details_for 'Webm Video' do %>
6
6
  <%= scrivito_tag(:div, widget, :background_video_webm) %>
7
+ <% end %>
7
8
 
8
- <h4>Ogg Video</h4>
9
+ <%= scrivito_details_for 'Ogg Video' do %>
9
10
  <%= scrivito_tag(:div, widget, :background_video_ogg) %>
11
+ <% end %>
10
12
 
11
- <h4>Background Image (Will be used if small screen, no video tag or no java script)</h4>
13
+ <%= scrivito_details_for 'Background Image (Will be used if small screen, no video tag or no java script)' do %>
12
14
  <%= scrivito_tag(:div, widget, :background_image) %>
15
+ <% end %>
13
16
 
14
- <h4>Height (Used if image is visible)</h4>
17
+ <%= scrivito_details_for 'Height (Used if image is visible)' do %>
15
18
  <%= scrivito_tag(:div, widget, :height) %>
16
- </div>
19
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module ScrivitoSectionWidgets
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_section_widgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-15 00:00:00.000000000 Z
11
+ date: 2015-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler