sibu 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/sibu/empty.png +0 -0
- data/app/assets/javascripts/cropper/cropper.js +3695 -0
- data/app/assets/javascripts/sibu/sibu.js.erb +25 -0
- data/app/assets/stylesheets/cropper/cropper.css +305 -0
- data/app/assets/stylesheets/sibu/sibu.css +1 -0
- data/app/controllers/sibu/application_controller.rb +4 -0
- data/app/controllers/sibu/images_controller.rb +7 -11
- data/app/controllers/sibu/pages_controller.rb +14 -4
- data/app/controllers/sibu/sites_controller.rb +13 -3
- data/app/helpers/sibu/application_helper.rb +4 -0
- data/app/helpers/sibu/pages_helper.rb +1 -9
- data/app/helpers/sibu/sites_helper.rb +8 -4
- data/app/models/concerns/sibu/image_uploader.rb +2 -2
- data/app/models/concerns/sibu/user_concern.rb +9 -0
- data/app/models/sibu/image.rb +12 -4
- data/app/models/sibu/page.rb +12 -1
- data/app/models/sibu/site.rb +19 -2
- data/app/views/sibu/images/_edit_form.html.erb +4 -4
- data/app/views/sibu/images/_form.html.erb +2 -2
- data/app/views/sibu/images/index.html.erb +3 -3
- data/app/views/sibu/images/new.html.erb +4 -0
- data/app/views/sibu/pages/_form.html.erb +0 -7
- data/app/views/sibu/pages/_media_edit_panel.html.erb +24 -12
- data/app/views/sibu/pages/edit_element.js.erb +54 -39
- data/app/views/sibu/pages/index.html.erb +1 -0
- data/app/views/sibu/pages/update_element.js.erb +1 -1
- data/app/views/sibu/sites/_form.html.erb +35 -13
- data/app/views/sibu/sites/edit.html.erb +1 -0
- data/app/views/sibu/sites/index.html.erb +4 -1
- data/config/routes.rb +4 -2
- data/db/migrate/20180321144021_move_images_to_user_level.rb +7 -0
- data/db/migrate/20180321170310_add_version_to_sibu_sites.rb +7 -0
- data/lib/sibu/version.rb +1 -1
- metadata +8 -3
- data/app/views/sibu/pages/_custom_styles.html.erb +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c6f5a167c25ae09399fc380a29a3b28b5779b64
|
4
|
+
data.tar.gz: 3d81f0ccfc1dcfc94187059384e84a043344a6ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7154da111bf85b4eb8062dfa7197c7f1eb1d2009ad92d5ed57925b530a5e4a868a529ec0a4e7b42eba5392102c44d5e7cf942131c17de21d0170545e3977c21
|
7
|
+
data.tar.gz: 3c0d4ebba40926d6ea7e320b68acc32e44121e484e2671665d433dd2162a868ca98cf81803ee7b77eda70eb394b5b04391977060d1ab987b83e9c755e582a9e6
|
Binary file
|