caboose-cms 0.9.131 → 0.9.132
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d69d8739a0692934a4a6dd880db8a0535ba27af7
|
4
|
+
data.tar.gz: a782353ec28df9ae74b2088c263784e3bb56ad31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acee5249ee0563972e87c2548dd37f4fa2ae41e1667f3652cf2fea1c0d73f7860c9ef09c358a7231169d8478667f1cd03c506996f9a9bc061a4a9633942302dd
|
7
|
+
data.tar.gz: 9bb351b2cd4c734120f046858c9d7975cbeb7cec150890c6a8e1939af81f39ae333373e3bdb62202db829c0d10e5870c66eb3da94f38740f8016574fecbf6048
|
@@ -184,6 +184,7 @@ module Caboose
|
|
184
184
|
when 'default_layout_id' then site.default_layout_id = value
|
185
185
|
when 'allow_self_registration' then site.allow_self_registration = value
|
186
186
|
when 'theme_color' then site.theme_color = value
|
187
|
+
when 'assets_url' then site.assets_url = value
|
187
188
|
end
|
188
189
|
end
|
189
190
|
|
@@ -772,7 +772,8 @@ class Caboose::Schema < Caboose::Utilities::Schema
|
|
772
772
|
[ :login_fail_lock_count , :integer , { :default => 5 }],
|
773
773
|
[ :sitemap_xml , :text ],
|
774
774
|
[ :robots_txt , :text ],
|
775
|
-
[ :theme_color , :string ]
|
775
|
+
[ :theme_color , :string ],
|
776
|
+
[ :assets_url , :string ]
|
776
777
|
#[ :custom_css , :text ],
|
777
778
|
#[ :custom_css_files , :text ],
|
778
779
|
#[ :custom_js , :text ],
|
data/app/models/caboose/site.rb
CHANGED
@@ -18,6 +18,7 @@ user_ids = [] if user_ids.nil?
|
|
18
18
|
<p><div id='site_<%= @site.id %>_use_dragdrop' ></div></p>
|
19
19
|
<p><div id='site_<%= @site.id %>_allow_self_registration' ></div></p>
|
20
20
|
<p><div id='site_<%= @site.id %>_theme_color' ></div></p>
|
21
|
+
<p><div id='site_<%= @site.id %>_assets_url' ></div></p>
|
21
22
|
<p><div id='site_<%= @site.id %>_default_layout_id' ></div></p>
|
22
23
|
|
23
24
|
<h2>Domains</h2>
|
@@ -95,6 +96,7 @@ $(document).ready(function() {
|
|
95
96
|
{ name: 'logo' , nice_name: 'Logo' , type: 'image' , value: <%= raw Caboose.json(@site.logo ? @site.logo.url(:thumb) : '') %>, width: 400, update_url: '/admin/sites/<%= @site.id %>/logo' },
|
96
97
|
{ name: 'description' , nice_name: 'Description' , type: 'text' , value: <%= raw Caboose.json(@site.description) %>, width: 600 },
|
97
98
|
{ name: 'theme_color' , nice_name: 'Theme Color' , type: 'text' , value: <%= raw Caboose.json(@site.theme_color) %>, width: 600 },
|
99
|
+
{ name: 'assets_url' , nice_name: 'Assets URL' , type: 'text' , value: <%= raw Caboose.json(@site.assets_url) %>, width: 600 },
|
98
100
|
{ name: 'under_construction_html' , nice_name: 'Under Construction HTML' , type: 'textarea' , value: <%= raw Caboose.json(@site.under_construction_html) %>, width: 600, height: 220 },
|
99
101
|
{ name: 'use_store' , nice_name: 'Enable Store' , type: 'checkbox' , value: <%= raw Caboose.json(@site.use_store ? true : false) %>, width: 400 },
|
100
102
|
{ name: 'use_fonts' , nice_name: 'Enable Fonts' , type: 'checkbox' , value: <%= raw Caboose.json(@site.use_fonts ? true : false) %>, width: 400 },
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.132
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|