app/views/layouts/caboose/admin.html.erb in caboose-cms-0.9.228 vs app/views/layouts/caboose/admin.html.erb in caboose-cms-0.9.229
- old
+ new
@@ -9,11 +9,15 @@
request.env['rack.url_scheme'] = 'https'
request.env['HTTPS'] = 'on'
end
content_for :admin_css do
- %><%= stylesheet_link_tag "caboose/admin", :media => "all" %><%
+ %><%= stylesheet_link_tag "caboose/admin", :media => "all" %>
+ <%= stylesheet_link_tag "colorbox-rails", :media => "all" %>
+ <%= stylesheet_link_tag "caboose/model_binder", :media => "all" %>
+ <%# stylesheet_link_tag "caboose/page_bar_generator", :media => "all" %>
+ <%
if File.exists?("#{Rails.root}/app/assets/stylesheets/admin.css")
%><%= stylesheet_link_tag "admin", :media => "all" %><%
end
%><%= yield :caboose_css %><%
end
@@ -25,10 +29,13 @@
css.gsub!("<link href=\"http://", "<link href=\"https://")
css.gsub!("<link href='http://" , "<link href='https://")
end
content_for :admin_js do
- %><%= javascript_include_tag "caboose/admin" %><%
+ %>
+ <%= javascript_include_tag "caboose/admin" %>
+ <%= javascript_include_tag "caboose/jquery.detect" %>
+ <%
%><%= yield :caboose_js %><%
end
js = yield(:admin_js)
js.gsub!("<script src=\"//", "<script src=\"#{protocol}")