caboose-cms 0.5.35 → 0.5.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/assets/images/caboose/loading_black_on_yellow.gif +0 -0
- data/app/assets/javascripts/caboose/model/all.js +2 -0
- data/app/assets/javascripts/caboose/model/bound_color.js +138 -0
- data/app/assets/javascripts/caboose/model/bound_text.js +9 -6
- data/app/assets/javascripts/caboose/model/model_binder.js +1 -0
- data/app/assets/javascripts/caboose/spectrum.js +2255 -0
- data/app/assets/stylesheets/caboose/model_binder.css +4 -1
- data/app/assets/stylesheets/caboose/spectrum.css +507 -0
- data/app/views/caboose/blocks/_ruby_block.rb +9 -0
- data/lib/caboose/version.rb +1 -1
- metadata +7 -2
@@ -0,0 +1,9 @@
|
|
1
|
+
<%
|
2
|
+
# This block should only be available to technical admins
|
3
|
+
%><div id='block_<%= block.id %>'><%
|
4
|
+
if block.value && block.value.strip.length > 0
|
5
|
+
%><%= ERB.new(block.value).result(self.instance_eval { binding }) %><%
|
6
|
+
elsif editing
|
7
|
+
%><p>[Empty ruby block]</p><%
|
8
|
+
end
|
9
|
+
%></div>
|
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.5.
|
4
|
+
version: 0.5.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -355,6 +355,7 @@ files:
|
|
355
355
|
- app/assets/images/caboose/caboose_nav_black.png
|
356
356
|
- app/assets/images/caboose/default_user_pic.png
|
357
357
|
- app/assets/images/caboose/loading_black_on_white.gif
|
358
|
+
- app/assets/images/caboose/loading_black_on_yellow.gif
|
358
359
|
- app/assets/images/caboose/loading_green.gif
|
359
360
|
- app/assets/images/caboose/loading_small_black_on_white.gif
|
360
361
|
- app/assets/images/caboose/loading_small_white_on_black.gif
|
@@ -393,6 +394,7 @@ files:
|
|
393
394
|
- app/assets/javascripts/caboose/model/bound_checkbox.js
|
394
395
|
- app/assets/javascripts/caboose/model/bound_checkbox_multiple.js
|
395
396
|
- app/assets/javascripts/caboose/model/bound_code.js
|
397
|
+
- app/assets/javascripts/caboose/model/bound_color.js
|
396
398
|
- app/assets/javascripts/caboose/model/bound_control.js
|
397
399
|
- app/assets/javascripts/caboose/model/bound_date.js
|
398
400
|
- app/assets/javascripts/caboose/model/bound_file.js
|
@@ -413,6 +415,7 @@ files:
|
|
413
415
|
- app/assets/javascripts/caboose/product.js
|
414
416
|
- app/assets/javascripts/caboose/s3upload.js
|
415
417
|
- app/assets/javascripts/caboose/shortcut.js
|
418
|
+
- app/assets/javascripts/caboose/spectrum.js
|
416
419
|
- app/assets/javascripts/caboose/station.js
|
417
420
|
- app/assets/javascripts/caboose/testing.js
|
418
421
|
- app/assets/javascripts/tinymce/plugins/caboose/plugin.js
|
@@ -442,6 +445,7 @@ files:
|
|
442
445
|
- app/assets/stylesheets/caboose/print.css
|
443
446
|
- app/assets/stylesheets/caboose/register.css
|
444
447
|
- app/assets/stylesheets/caboose/responsive.css.scss
|
448
|
+
- app/assets/stylesheets/caboose/spectrum.css
|
445
449
|
- app/assets/stylesheets/caboose/station_modal.css
|
446
450
|
- app/assets/stylesheets/caboose/station_sidebar.css
|
447
451
|
- app/assets/stylesheets/caboose/tinymce.css
|
@@ -618,6 +622,7 @@ files:
|
|
618
622
|
- app/views/caboose/blocks/_layout_right_sidebar_sidebar.html.erb
|
619
623
|
- app/views/caboose/blocks/_render_function.html.erb
|
620
624
|
- app/views/caboose/blocks/_richtext.html.erb
|
625
|
+
- app/views/caboose/blocks/_ruby_block.rb
|
621
626
|
- app/views/caboose/blocks/_selector_switch_one.html.erb
|
622
627
|
- app/views/caboose/blocks/_selector_switch_three.html.erb
|
623
628
|
- app/views/caboose/blocks/_selector_switch_two.html.erb
|