scrivito_section_widgets 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/section_content_widget/details.html.erb +6 -8
- data/app/views/section_content_widget/thumbnail.html.erb +3 -11
- data/app/views/section_parallax_widget/details.html.erb +3 -3
- data/app/views/section_parallax_widget/thumbnail.html.erb +3 -11
- data/app/views/section_video_widget/details.html.erb +5 -5
- data/app/views/section_video_widget/thumbnail.html.erb +3 -11
- data/lib/scrivito_section_widgets/version.rb +1 -1
- metadata +2 -31
- data/app/assets/stylesheets/scrivito_section_widgets/styles.css +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72d2ca3082a0b4c244ee302ab1226ee6c5854413
|
4
|
+
data.tar.gz: d788aae12e25eab242e091899b342339c0c012f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b79aa8f315541b05b16c910ca5b21909f5f9ec70b97841aced33498fe8402e48b4a063a872f5e3dadac63725b40d417b244860e85d010d4f943d30ac5e96ea7
|
7
|
+
data.tar.gz: eae5fa2083a14aa0445a4ae0ae4d9af937b6a9e117dff0dec27c0d39071a6247449b1249f94dbe8d50f5e9f7d49ed3015125291b319772121eed220fc883227f
|
@@ -1,9 +1,7 @@
|
|
1
|
-
|
2
|
-
<%=
|
3
|
-
|
4
|
-
<% end %>
|
1
|
+
<%= scrivito_details_for t('scrivito_section_content_widget.details.background_color', default: 'Background Color') do %>
|
2
|
+
<%= scrivito_tag(:div, widget, :background_color, data: {colors_list: widget.selectable_color_classes}) %>
|
3
|
+
<% end %>
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
</div>
|
5
|
+
<%= scrivito_details_for t('scrivito_section_content_widget.details.padding_size', default: 'Padding top and bottom') do %>
|
6
|
+
<%= scrivito_tag(:div, widget, :padding_size) %>
|
7
|
+
<% end %>
|
@@ -1,11 +1,3 @@
|
|
1
|
-
|
2
|
-
<%=
|
3
|
-
|
4
|
-
|
5
|
-
<div class="scrivito_editing_widget_title">
|
6
|
-
Section for content
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<div class="scrivito_editing_widget_description">
|
10
|
-
Add a section for your content. A Section can have a Background color to seperate some content.
|
11
|
-
</div>
|
1
|
+
<%= scrivito_thumbnail t('scrivito_section_content_widget.thumbnail.title', default: 'Section'), image_tag("section_content.png") do %>
|
2
|
+
<%= t('scrivito_section_content_widget.thumbnail.description', default: 'Add a section for your content. A Section can have a Background color to seperate some content') %>
|
3
|
+
<% end %>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<%= scrivito_details_for 'Background Image' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_section_content_widget.details.background_image', default: 'Background Image') do %>
|
2
2
|
<%= scrivito_tag(:div, widget, :background_image) %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Speed' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_section_content_widget.details.speed', default: 'Speed') do %>
|
6
6
|
<%= scrivito_tag(:div, widget, :speed) %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for 'Height' do %>
|
9
|
+
<%= scrivito_details_for t('scrivito_section_content_widget.details.height', default: 'Height') do %>
|
10
10
|
<%= scrivito_tag(:div, widget, :height) %>
|
11
11
|
<% end %>
|
@@ -1,11 +1,3 @@
|
|
1
|
-
|
2
|
-
<%=
|
3
|
-
|
4
|
-
|
5
|
-
<div class="scrivito_editing_widget_title">
|
6
|
-
Parallax Section
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<div class="scrivito_editing_widget_description">
|
10
|
-
Add an image with parallax effect.
|
11
|
-
</div>
|
1
|
+
<%= scrivito_thumbnail t('scrivito_section_content_widget.thumbnail.title', default: 'Parallax'), image_tag("section_parallax.png") do %>
|
2
|
+
<%= t('scrivito_section_content_widget.thumbnail.description', default: 'Add an image with parallax effect') %>
|
3
|
+
<% end %>
|
@@ -1,19 +1,19 @@
|
|
1
|
-
<%= scrivito_details_for 'MP4 Video' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_section_video_widget.details.background_video_mp4', default: 'MP4 Video') do %>
|
2
2
|
<%= scrivito_tag(:div, widget, :background_video_mp4) %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for '
|
5
|
+
<%= scrivito_details_for t('scrivito_section_video_widget.details.background_video_webm', default: 'WebM Video') do %>
|
6
6
|
<%= scrivito_tag(:div, widget, :background_video_webm) %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for '
|
9
|
+
<%= scrivito_details_for t('scrivito_section_video_widget.details.background_video_ogg', default: 'OGG Video') do %>
|
10
10
|
<%= scrivito_tag(:div, widget, :background_video_ogg) %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= scrivito_details_for '
|
13
|
+
<%= scrivito_details_for t('scrivito_section_video_widget.details.background_image', default: 'Background Image') do %>
|
14
14
|
<%= scrivito_tag(:div, widget, :background_image) %>
|
15
15
|
<% end %>
|
16
16
|
|
17
|
-
<%= scrivito_details_for '
|
17
|
+
<%= scrivito_details_for t('scrivito_section_video_widget.details.height', default: 'Height') do %>
|
18
18
|
<%= scrivito_tag(:div, widget, :height) %>
|
19
19
|
<% end %>
|
@@ -1,11 +1,3 @@
|
|
1
|
-
|
2
|
-
<%=
|
3
|
-
|
4
|
-
|
5
|
-
<div class="scrivito_editing_widget_title">
|
6
|
-
Video Section
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<div class="scrivito_editing_widget_description">
|
10
|
-
Add a background Video as section to your page.
|
11
|
-
</div>
|
1
|
+
<%= scrivito_thumbnail t('scrivito_section_video_widget.thumbnail.title', default: 'Background Video'), image_tag("section_video.png") do %>
|
2
|
+
<%= t('scrivito_section_video_widget.thumbnail.description', default: 'Add a background Video as section to your page') %>
|
3
|
+
<% end %>
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_section_widgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: scrivito
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,20 +24,6 @@ dependencies:
|
|
38
24
|
- - ">="
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
27
|
description: Add sections to yout page
|
56
28
|
email:
|
57
29
|
- support@scrivito.com
|
@@ -73,7 +45,6 @@ files:
|
|
73
45
|
- app/assets/stylesheets/scrivito_section_widgets/base_section.css
|
74
46
|
- app/assets/stylesheets/scrivito_section_widgets/colors.css
|
75
47
|
- app/assets/stylesheets/scrivito_section_widgets/parallax_section.css
|
76
|
-
- app/assets/stylesheets/scrivito_section_widgets/styles.css
|
77
48
|
- app/models/section_content_widget.rb
|
78
49
|
- app/models/section_parallax_widget.rb
|
79
50
|
- app/models/section_video_widget.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
-
* file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|