scrivito_three_column_widget 0.0.2 → 0.0.3
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 +4 -4
- data/README.md +4 -4
- data/app/assets/images/scrivito_three_column_widget/widget_preview_3cols.png +0 -0
- data/app/views/three_column_widget/details.html.erb +3 -3
- data/app/views/three_column_widget/thumbnail.html.erb +3 -13
- data/lib/scrivito_three_column_widget/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d58f7ffc36a7a7c3bcb298694c595afa040df54f
|
4
|
+
data.tar.gz: 758745f8e94040d7d1832a587d9061494cc29710
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b41ce2b99274eabc3d2b37e3417969ec68b1ee0edfe4f07ab1c193172a8e3f5166bcca6d9e4d349d447f2d934827e0386498b6289dabd30c6f3f79c4dd832eec
|
7
|
+
data.tar.gz: 9b37aed733831dc4fb6040593cfb23ccf78902b71451ccbe24b864826a78e293216b60918fcbaaf709120554339763cbf2525d23acbbb7108c88d04d8f2be959
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Scrivito
|
1
|
+
# Scrivito Three Columns
|
2
2
|
|
3
|
-
This Gem adds a
|
3
|
+
This Gem adds a three-column grid widget to your Scrivito app. You can fill the columns with other widgets.
|
4
4
|
|
5
5
|
## Prerequisites
|
6
6
|
|
@@ -10,7 +10,7 @@ Use Bootstrap in your Rails App. (Tested with Bootstrap 3.2)
|
|
10
10
|
|
11
11
|
Add the gem to your Gemfile:
|
12
12
|
|
13
|
-
gem '
|
13
|
+
gem 'scrivito_three_column_widget'
|
14
14
|
|
15
15
|
Run bundle:
|
16
16
|
|
@@ -30,7 +30,7 @@ Switch to your Workspace 'rtc' and follow below Steps for Usage. If you are happ
|
|
30
30
|
|
31
31
|
## Steps for Usage
|
32
32
|
|
33
|
-
- Insert the Widget '
|
33
|
+
- Insert the Widget 'Three Columns' somewhere and put a widget into each column that becomes visible.
|
34
34
|
- Edit the Widget Properties to modify the column widths.
|
35
35
|
|
36
36
|
|
@@ -3,17 +3,17 @@
|
|
3
3
|
Column 1 width
|
4
4
|
</h4>
|
5
5
|
|
6
|
-
<%= scrivito_tag(:div, widget, :column_1_width, data: {
|
6
|
+
<%= scrivito_tag(:div, widget, :column_1_width, data: {editor: 'slider', min: 1, max: 12 }) %>
|
7
7
|
|
8
8
|
<h4>
|
9
9
|
Column 2 width
|
10
10
|
</h4>
|
11
11
|
|
12
|
-
<%= scrivito_tag(:div, widget, :column_2_width, data: {
|
12
|
+
<%= scrivito_tag(:div, widget, :column_2_width, data: {editor: 'slider', min: 1, max: 12 }) %>
|
13
13
|
|
14
14
|
<h4>
|
15
15
|
Column 3 width
|
16
16
|
</h4>
|
17
17
|
|
18
|
-
<%= scrivito_tag(:div, widget, :column_3_width, data: {
|
18
|
+
<%= scrivito_tag(:div, widget, :column_3_width, data: {editor: 'slider', min: 1, max: 12}) %>
|
19
19
|
</div>
|
@@ -1,13 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<div class="title">
|
7
|
-
Three Column
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="description">
|
11
|
-
The three column widget creates a section with 3 widget fields.
|
12
|
-
</div>
|
13
|
-
</div>
|
1
|
+
<%= scrivito_thumbnail 'Three Columns', image_tag("scrivito_three_column_widget/widget_preview_3cols.png") do %>
|
2
|
+
Three columns that can be filled with widgets.
|
3
|
+
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_three_column_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: scrivito
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- MIT-LICENSE
|
36
36
|
- README.md
|
37
37
|
- Rakefile
|
38
|
+
- app/assets/images/scrivito_three_column_widget/widget_preview_3cols.png
|
38
39
|
- app/assets/javascripts/scrivito_three_column_widget/application.js
|
39
40
|
- app/assets/stylesheets/scrivito_three_column_widget/application.css
|
40
41
|
- app/models/three_column_widget.rb
|