imagine_cms 3.0.20 → 3.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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:
|
|
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>
|
data/lib/imagine_cms/engine.rb
CHANGED
|
@@ -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
|
data/lib/imagine_cms/version.rb
CHANGED