scrivito_slick_slider_widget 0.0.2 → 0.0.3

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: 0c537f481f73a1992dcdc06c29c9de17acb65198
4
- data.tar.gz: 7788ca06a01ff1d8c020ad3838135e961920b822
3
+ metadata.gz: 2ee08361d21220aa6c5bbbe99a26668b376b98ab
4
+ data.tar.gz: b5e35ae9899575d1466a92f8b70ea60515c4a120
5
5
  SHA512:
6
- metadata.gz: 669462a6b4bde0b9a82d33e0f501f723385be05d0fc9d5ba1bb6dbe3317136145d5864fb8593efc13af5d07cd3166225f8ea2a5b4edbe8e300e55d3cdb2097f0
7
- data.tar.gz: fc8553fd5d9c8d5d17b4c137e74809deabbd9febecb61eb364a5956345830808a4cc875bf9d336e8d3af6bd19be505727925c12011b1a9c126b77e77edeb9829
6
+ metadata.gz: d70e191bef04ba86c03275147aa81e3af62b6dec629307fc7cb5c871f0451ff983bf023549ada045697d79dbd4946c02db301334b31ae55702da1660a0a06d54
7
+ data.tar.gz: 92d0a683266ab3eff16a19f302b7270bd4ee3a89c575dba6eabff91a3660dfb23f428e08a94ea0f9b519f8d9f15207840ae832db6604d6924e9dae39c8c39c78
@@ -1,8 +1,8 @@
1
1
  $(".slick_slider_widget_add_new_panel").bind("click", function(e) {
2
2
  e.preventDefault();
3
- $.get("/scrivito_slick_slider_widget/add_new_panel?obj=" + scrivito.obj.current_page.id() + "&widget=" + $(this).attr("widgetid"), function(data) {
4
- // better to not reload but only update current widget view
5
- // then put focus on freshly added panel
3
+ $.get("/scrivito_slick_slider_widget/add_new_panel?obj=" + $(this).attr("pageid") + "&widget=" + $(this).attr("widgetid"), function(data) {
4
+ // TBD: better to not reload but only update current widget view
5
+ // TBD: then put focus on freshly added panel
6
6
  location.reload();
7
7
  });
8
8
 
@@ -34,7 +34,7 @@
34
34
  .slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
35
35
 
36
36
  /* Arrows */
37
- .slick-prev, .slick-next { position: absolute; display: block; height: 40px; width: 30px;
37
+ .slick-prev, .slick-next { position: absolute; display: block; height: 40px; width: 40px;
38
38
  line-height: 40px; font-size: 0; cursor: pointer; background: transparent;
39
39
  color: transparent; top: 50%; margin-top: -10px; padding: 0; border: none; outline: none;
40
40
  }
@@ -14,7 +14,7 @@
14
14
 
15
15
  <% if scrivito_in_editable_view? %>
16
16
  <div class="add_new_panel">
17
- <p class="h4"><a class="slick_slider_widget_add_new_panel scrivito_editing_link" href="#" widgetid="<%= widget.id %>">Add New<br />Slider Panel</a></p>
17
+ <p class="h4"><a class="slick_slider_widget_add_new_panel scrivito_editing_link" href="#" pageid="<%= @obj.id %>" widgetid="<%= widget.id %>">Add New<br />Slider Panel</a></p>
18
18
  </div>
19
19
  <% end %>
20
20
 
@@ -1,11 +1,3 @@
1
- <div class="editing-dialog-thumbnail">
2
- <div class="visualization">
3
- <span class="icon editing-icon-slider"></span>
4
- </div>
5
- <div class="title">
6
- Slick Slider
7
- </div>
8
- <div class="description">
9
- Creates a highly adaptive slider.
10
- </div>
11
- </div>
1
+ <%= scrivito_thumbnail 'Slick Slider', image_tag("scrivito_slick_slider_widget/widget_preview_slick_slider.png") do %>
2
+ Highly adaptive slider.
3
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module ScrivitoSlickSliderWidget
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_slick_slider_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
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: 2014-11-24 00:00:00.000000000 Z
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 4.1.6
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 4.1.6
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: scrivito
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - ">="
32
18
  - !ruby/object:Gem::Version
33
- version: 0.30.0
19
+ version: 0.42.0
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - ">="
39
25
  - !ruby/object:Gem::Version
40
- version: 0.30.0
26
+ version: 0.42.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -63,6 +49,7 @@ files:
63
49
  - README.md
64
50
  - Rakefile
65
51
  - app/assets/images/scrivito_slick_slider_widget/ajax-loader.gif
52
+ - app/assets/images/scrivito_slick_slider_widget/widget_preview_slick_slider.png
66
53
  - app/assets/javascripts/scrivito_slick_slider_widget/application.js
67
54
  - app/assets/javascripts/scrivito_slick_slider_widget/editing.js
68
55
  - app/assets/stylesheets/scrivito_slick_slider_widget/application.scss