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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc191a786b525e214f6099f0c84c5667478ca630
|
4
|
+
data.tar.gz: 2c6b2989e7276f2687a9ded6eefc8d51b0c0721c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 549fa546590d599657c466b381fb524f8d1c683e4968c43a14ab6a831f0d38dd608d165f2c71fbcd709a32252b6ab3ee3b029df476da2834d2c90c9b1f141ff4
|
7
|
+
data.tar.gz: 33a3a09e3d7f4161d0fdb7830e1e9852fcd80cc3875b36ca4ba24c878bff1fa6bacbb83d92f45a34bdfb5551f3bb81d2f5006e1b1b2f7cd179cebb5253531774
|
@@ -1,8 +1,9 @@
|
|
1
1
|
<div class="details-view" >
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
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
|
-
|
5
|
+
<%= scrivito_details_for 'Height' do %>
|
6
6
|
<%= scrivito_tag(:div, widget, :height) %>
|
7
|
-
|
7
|
+
<% end %>
|
@@ -1,16 +1,19 @@
|
|
1
|
-
|
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
|
-
|
5
|
+
<%= scrivito_details_for 'Webm Video' do %>
|
6
6
|
<%= scrivito_tag(:div, widget, :background_video_webm) %>
|
7
|
+
<% end %>
|
7
8
|
|
8
|
-
|
9
|
+
<%= scrivito_details_for 'Ogg Video' do %>
|
9
10
|
<%= scrivito_tag(:div, widget, :background_video_ogg) %>
|
11
|
+
<% end %>
|
10
12
|
|
11
|
-
|
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
|
-
|
17
|
+
<%= scrivito_details_for 'Height (Used if image is visible)' do %>
|
15
18
|
<%= scrivito_tag(:div, widget, :height) %>
|
16
|
-
|
19
|
+
<% 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.
|
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-
|
11
|
+
date: 2015-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|