scrivito_google_maps_widget 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/{google_maps_widget → scrivito_google_maps_widget}/application.js.coffee +1 -0
- data/app/assets/javascripts/{google_maps_widget → scrivito_google_maps_widget}/editing.js.coffee +0 -0
- data/app/assets/javascripts/scrivito_google_maps_widget.js +1 -0
- data/app/assets/stylesheets/{google_maps_widget → scrivito_google_maps_widget}/application.css +1 -1
- data/app/assets/stylesheets/{google_maps_widget → scrivito_google_maps_widget}/editing.css +4 -3
- data/app/assets/stylesheets/scrivito_google_maps_widget.css +3 -0
- data/app/models/google_maps_widget.rb +1 -0
- data/app/views/google_maps_widget/details.html.erb +13 -0
- data/app/views/google_maps_widget/show.html.erb +1 -1
- data/lib/scrivito_google_maps_widget/version.rb +1 -1
- metadata +10 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 130fd0f60e93856770442f642c1a3ae7e78864c0
|
4
|
+
data.tar.gz: c3a25e1532f76ddc16ec1015e1ff425440d3d55e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 122004dadd7da0ab08c3e2305d2cd88b368b3412efc68c7cfe13ae45a516dc76386efe14cf6341ebad434c6ab0acb788424f3b3b9d2a93f8ac97e20b17b903e2
|
7
|
+
data.tar.gz: 4fd7895ea13433fb204ff83e8f8b9e4591e317d3656f8602d65e055284b16cbe59491fb3ee9851d6afa2844d14cb3db263dd8ac6176ebbe2c33f0fd3c596e528
|
data/app/assets/javascripts/{google_maps_widget → scrivito_google_maps_widget}/editing.js.coffee
RENAMED
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require_tree ./scrivito_google_maps_widget
|
@@ -4,12 +4,13 @@
|
|
4
4
|
border: 1px solid transparent;
|
5
5
|
border-radius: 2px 0 0 2px;
|
6
6
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
7
|
-
height: 32px;
|
8
7
|
margin-top: 16px;
|
9
8
|
padding: 0 11px 0 13px;
|
10
|
-
font-size: 15px;
|
11
|
-
font-weight: 300;
|
12
9
|
outline: none;
|
13
10
|
text-overflow: ellipsis;
|
14
11
|
width: 400px;
|
15
12
|
}
|
13
|
+
|
14
|
+
.google-maps .map {
|
15
|
+
min-height: 30px;
|
16
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%= scrivito_details_for 'Address' do %>
|
2
|
+
<div class="google-maps" style="height: 320px">
|
3
|
+
<% if scrivito_in_editable_view? %>
|
4
|
+
<%= scrivito_tag(:input, widget, :address, type: 'text', data: { editor: 'google-maps' }) %>
|
5
|
+
<% end %>
|
6
|
+
|
7
|
+
<div class="map" data-location="<%= widget.address %>"></div>
|
8
|
+
</div>
|
9
|
+
<% end %>
|
10
|
+
|
11
|
+
<%= scrivito_details_for 'Height' do %>
|
12
|
+
<%= scrivito_tag(:div, widget, :height) %>
|
13
|
+
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_google_maps_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
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-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -63,11 +63,14 @@ files:
|
|
63
63
|
- README.md
|
64
64
|
- Rakefile
|
65
65
|
- app/assets/images/widget_preview_map.png
|
66
|
-
- app/assets/javascripts/
|
67
|
-
- app/assets/javascripts/
|
68
|
-
- app/assets/
|
69
|
-
- app/assets/stylesheets/
|
66
|
+
- app/assets/javascripts/scrivito_google_maps_widget.js
|
67
|
+
- app/assets/javascripts/scrivito_google_maps_widget/application.js.coffee
|
68
|
+
- app/assets/javascripts/scrivito_google_maps_widget/editing.js.coffee
|
69
|
+
- app/assets/stylesheets/scrivito_google_maps_widget.css
|
70
|
+
- app/assets/stylesheets/scrivito_google_maps_widget/application.css
|
71
|
+
- app/assets/stylesheets/scrivito_google_maps_widget/editing.css
|
70
72
|
- app/models/google_maps_widget.rb
|
73
|
+
- app/views/google_maps_widget/details.html.erb
|
71
74
|
- app/views/google_maps_widget/show.html.erb
|
72
75
|
- app/views/google_maps_widget/thumbnail.html.erb
|
73
76
|
- lib/scrivito_google_maps_widget.rb
|
@@ -94,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
97
|
version: '0'
|
95
98
|
requirements: []
|
96
99
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.
|
100
|
+
rubygems_version: 2.4.5
|
98
101
|
signing_key:
|
99
102
|
specification_version: 4
|
100
103
|
summary: Scrivito Google Maps Widget.
|