imagine_cms 3.0.20 → 3.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,7 @@
22
22
 
23
23
  if (loggedIn() || load_dojo) {
24
24
  document.writeln('<scr' + 'ipt src="/assets/dojo/dojo.js" type="text/javascript"></scr' + 'ipt>');
25
+ document.writeln('<link href="/assets/imagine_controls.css" media="screen" rel="stylesheet" type="text/css" />')
25
26
  }
26
27
  </script>
27
28
 
@@ -1,5 +1,4 @@
1
1
  <%- if params[:action] != 'preview_template' -%>
2
- <%= stylesheet_link_tag "imagine_controls" %>
3
2
  <style type="text/css">
4
3
  #mainCCSToolbar { font-family: Arial; font-size: 12px; font-weight: normal; text-transform: none; line-height: 1.2; color: black; }
5
4
  #mainCCSToolbar a { text-transform: none; font-weight: normal; color: black; }
@@ -5,13 +5,13 @@
5
5
  <tr>
6
6
  <td>Tag <%= i.to_i + 1 %>:</td>
7
7
  <td>
8
- <%= text_field(:page_objects, "#{key}-sources-tag#{i}", :class => 'form', :style => 'margin: 0; border: 1px solid gray; width: 100%;') %>
8
+ <%= text_field(:page_objects, "#{key}-sources-tag#{i}", :class => 'form', :style => 'margin: 0; padding: 2px; border: 1px solid gray; width: 98%;') %>
9
9
 
10
10
  <div id="page_objects_<%= key %>-sources-tag<%= i %>_auto_complete" class="auto_complete" style="display: none;"></div>
11
11
  <%= javascript_tag "new Autocompleter.Local('page_objects_#{key}-sources-tag#{i}', 'page_objects_#{key}-sources-tag#{i}_auto_complete', taglist, { frequency: 0.1, minChars: 1 })" %>
12
12
  </td>
13
13
  <td>
14
- <%= select(:page_objects, "#{key}-sources-tag#{i}-behavior", [ 'include', 'exclude', 'require' ], {}, :class => 'form', :style => 'margin: 0; border: 1px solid gray; width: 100%;') %>
14
+ <%= select(:page_objects, "#{key}-sources-tag#{i}-behavior", [ 'include', 'exclude', 'require' ], {}, :class => 'form', :style => 'margin: 0; padding: 1px; border: 1px solid gray; width: 100%;') %>
15
15
  </td>
16
16
  </tr>
17
17
  </table>
@@ -7,7 +7,7 @@ module ImagineCms
7
7
  middleware.use ::ActionDispatch::Static, "#{root}/public"
8
8
 
9
9
  initializer "imagine_cms.assets.precompile" do |config|
10
- Rails.application.config.assets.precompile += %w( codepress/** dojo/** management.css reset.css )
10
+ Rails.application.config.assets.precompile += %w( codepress/** dojo/** management.css imagine_controls.css reset.css )
11
11
  end
12
12
 
13
13
  def self.activate
@@ -1,3 +1,3 @@
1
1
  module ImagineCms
2
- VERSION = "3.0.20"
2
+ VERSION = "3.0.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagine_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.20
4
+ version: 3.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: