scrivito_tabbed_content_widget 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +4 -0
- data/README.md +8 -1
- data/app/assets/images/scrivito_tabbed_content_widget/widget_preview_tabbed.png +0 -0
- data/app/assets/javascripts/scrivito_tabbed_content_widget/editing.js +2 -1
- data/app/models/tabbed_content_widget.rb +0 -1
- data/app/views/tabbed_content_widget/show.html.haml +1 -1
- data/app/views/tabbed_content_widget/thumbnail.html.haml +2 -10
- data/config/routes.rb +1 -1
- data/lib/scrivito_tabbed_content_widget/version.rb +1 -1
- metadata +5 -4
- data/MIT-LICENSE +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c4a005c38298a43a46ef5bb2e0fb5dfa2bf186b
|
4
|
+
data.tar.gz: 839122d2fe608151111343c5c6433f5213b23d1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72da2317b5b38d4f9590323078d8cd7a80bfc5ff75cf9626955310540d025d15f8b6c436b1b0648c0b7298c6c534c73459e51470fce538b23203a6e1117d2150
|
7
|
+
data.tar.gz: d768e5dc457b20b118170837bc959b28eb472dab6bf292b7dad3930a965e38cb357131f11d5d43b2dfdaeb8e58d7a79f019076e144d6b6cf1e929b57841d53e5
|
data/LICENSE
ADDED
data/README.md
CHANGED
@@ -19,7 +19,9 @@ Run bundle:
|
|
19
19
|
|
20
20
|
$ bundle
|
21
21
|
|
22
|
-
|
22
|
+
Add this line to your application's editing.js
|
23
|
+
|
24
|
+
//= require scrivito_tabbed_content_widget/editing
|
23
25
|
|
24
26
|
Run
|
25
27
|
|
@@ -37,3 +39,8 @@ Switch to your Workspace 'rtc' and follow below Steps for Usage. If you are happ
|
|
37
39
|
- Put some 'Tabbed Content Tab' widgets into it.
|
38
40
|
- For each of the Tabbed Content Tabs: set a headline and fill the content with any widget (text, images, whatever).
|
39
41
|
|
42
|
+
## License
|
43
|
+
|
44
|
+
Copyright (c) 2009 - 2014 Infopark AG (http://www.infopark.com)
|
45
|
+
|
46
|
+
This software can be used and modified under the LGPL-3.0. Please refer to http://www.gnu.org/licenses/lgpl-3.0.html for the license text.
|
@@ -1,6 +1,7 @@
|
|
1
1
|
$("#add_new_tab").bind("click", function(e) {
|
2
2
|
e.preventDefault();
|
3
|
-
$.get("/add_new_tab?obj=" +
|
3
|
+
$.get("/scrivito_tabbed_content_widget/add_new_tab?obj=" + $(this).attr("pageid") + "&widget=" + $(this).attr("widgetid"), function(data) {
|
4
|
+
// TBD: do not reload full page, only tabbed content widget and activate newly created tab
|
4
5
|
location.reload();
|
5
6
|
});
|
6
7
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
- if scrivito_in_editable_view?
|
11
11
|
%li.new_tab
|
12
|
-
%a{id: "add_new_tab", widgetid: widget.id, href: "#", style: "background-color: #439439; color: white;"}
|
12
|
+
%a{id: "add_new_tab", pageid: @obj.id, widgetid: widget.id, href: "#", style: "background-color: #439439; color: white;"}
|
13
13
|
New Tab
|
14
14
|
|
15
15
|
.tab-content
|
@@ -1,10 +1,2 @@
|
|
1
|
-
.
|
2
|
-
|
3
|
-
%span.icon.editing-icon-plus
|
4
|
-
|
5
|
-
.title
|
6
|
-
Tabbed Content
|
7
|
-
|
8
|
-
.description
|
9
|
-
Widget for inserting content tabs
|
10
|
-
|
1
|
+
= scrivito_thumbnail 'Tabbed Content', image_tag("scrivito_tabbed_content_widget/widget_preview_tabbed.png") do
|
2
|
+
Content Tabs
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_tabbed_content_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: scrivito
|
@@ -59,9 +59,10 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
-
|
62
|
+
- LICENSE
|
63
63
|
- README.md
|
64
64
|
- Rakefile
|
65
|
+
- app/assets/images/scrivito_tabbed_content_widget/widget_preview_tabbed.png
|
65
66
|
- app/assets/javascripts/scrivito_tabbed_content_widget/application.js
|
66
67
|
- app/assets/javascripts/scrivito_tabbed_content_widget/editing.js
|
67
68
|
- app/assets/stylesheets/scrivito_tabbed_content_widget/application.css
|
@@ -85,7 +86,7 @@ files:
|
|
85
86
|
- scrivito/migrate/0_create_tabbed_content_widget.rb
|
86
87
|
homepage: https://www.scrivito.com
|
87
88
|
licenses:
|
88
|
-
-
|
89
|
+
- LGPL-3.0
|
89
90
|
metadata: {}
|
90
91
|
post_install_message:
|
91
92
|
rdoc_options: []
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2014 YOURNAME
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|