sibu 0.9.5 → 1.0.0
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/sibu/sibu.js.erb +17 -3
- data/app/assets/javascripts/tabs/van11y-accessible-tab-panel-aria.js +122 -124
- data/app/assets/stylesheets/sibu/defaults.scss +72 -80
- data/app/assets/stylesheets/sibu/sibu.css +8 -0
- data/app/controllers/sibu/application_controller.rb +8 -0
- data/app/controllers/sibu/pages_controller.rb +4 -3
- data/app/controllers/sibu/sites_controller.rb +1 -0
- data/app/helpers/sibu/pages_helper.rb +61 -12
- data/app/models/sibu/page.rb +0 -1
- data/app/models/sibu/site.rb +7 -0
- data/app/models/sibu/site_template.rb +1 -1
- data/app/views/layouts/sibu/edit_content.html.erb +189 -117
- data/app/views/sibu/images/edit.js.erb +5 -3
- data/app/views/sibu/pages/_code_edit_panel.html.erb +2 -2
- data/app/views/sibu/pages/_link_edit_panel.html.erb +6 -6
- data/app/views/sibu/pages/_map_edit_panel.html.erb +2 -2
- data/app/views/sibu/pages/_media_edit_panel.html.erb +2 -2
- data/app/views/sibu/pages/_new_section_panel.html.erb +1 -1
- data/app/views/sibu/pages/_paragraph_edit_panel.html.erb +2 -2
- data/app/views/sibu/pages/_text_edit_panel.html.erb +2 -2
- data/app/views/sibu/pages/child_element.js.erb +2 -2
- data/app/views/sibu/pages/clone_element.js.erb +2 -2
- data/app/views/sibu/pages/create_section.js.erb +1 -1
- data/app/views/sibu/pages/delete_element.js.erb +1 -1
- data/app/views/sibu/pages/delete_section.js.erb +1 -1
- data/app/views/sibu/pages/edit_element.js.erb +68 -66
- data/app/views/sibu/pages/edit_section.js.erb +6 -5
- data/app/views/sibu/pages/index.html.erb +1 -1
- data/app/views/sibu/pages/new_section.js.erb +22 -13
- data/app/views/sibu/pages/update_element.js.erb +2 -2
- data/app/views/sibu/pages/update_section.js.erb +3 -3
- data/db/migrate/20200401130601_add_ref_to_site_templates.rb +5 -0
- data/lib/sibu/engine.rb +0 -2
- data/lib/sibu/version.rb +1 -1
- metadata +3 -18
- data/app/views/sibu/pages/destroy.html.erb +0 -2
- data/app/views/sibu/pages/update.html.erb +0 -2
data/lib/sibu/engine.rb
CHANGED
data/lib/sibu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sibu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean-Baptiste Vilain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '4.3'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: jquery-rails
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '4.3'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '4.3'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: sass-rails
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -202,7 +188,6 @@ files:
|
|
202
188
|
- app/views/sibu/pages/create_section.js.erb
|
203
189
|
- app/views/sibu/pages/delete_element.js.erb
|
204
190
|
- app/views/sibu/pages/delete_section.js.erb
|
205
|
-
- app/views/sibu/pages/destroy.html.erb
|
206
191
|
- app/views/sibu/pages/edit.html.erb
|
207
192
|
- app/views/sibu/pages/edit_content.html.erb
|
208
193
|
- app/views/sibu/pages/edit_element.js.erb
|
@@ -211,7 +196,6 @@ files:
|
|
211
196
|
- app/views/sibu/pages/new.html.erb
|
212
197
|
- app/views/sibu/pages/new_section.js.erb
|
213
198
|
- app/views/sibu/pages/show.html.erb
|
214
|
-
- app/views/sibu/pages/update.html.erb
|
215
199
|
- app/views/sibu/pages/update_element.js.erb
|
216
200
|
- app/views/sibu/pages/update_section.js.erb
|
217
201
|
- app/views/sibu/sites/_form.html.erb
|
@@ -245,6 +229,7 @@ files:
|
|
245
229
|
- db/migrate/20180321170310_add_version_to_sibu_sites.rb
|
246
230
|
- db/migrate/20180405095448_create_sibu_documents.rb
|
247
231
|
- db/migrate/20190110204854_add_custom_data_to_sibu_pages.rb
|
232
|
+
- db/migrate/20200401130601_add_ref_to_site_templates.rb
|
248
233
|
- lib/sibu.rb
|
249
234
|
- lib/sibu/engine.rb
|
250
235
|
- lib/sibu/utils.rb
|