refinerycms 0.9.6.33 → 0.9.6.34
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/config/application.rb +1 -1
- data/public/images/refinery/logo-tiny.png +0 -0
- data/public/javascripts/refinery/admin.js +1 -0
- data/public/stylesheets/refinery/application.css +3 -0
- data/public/stylesheets/refinery/refinery.css +41 -17
- data/public/stylesheets/refinery/site_bar.css +38 -0
- data/themes/demolicious/stylesheets/formatting.css +1 -1
- data/themes/demolicious/views/layouts/application.html.erb +3 -2
- data/themes/hemingway/views/layouts/application.html.erb +2 -2
- data/todo.md +5 -11
- data/vendor/plugins/inquiries/config/routes.rb +1 -1
- data/vendor/plugins/inquiries/inquiries.md +1 -1
- data/vendor/plugins/refinery/app/views/admin/_footer.html.erb +7 -0
- data/vendor/plugins/refinery/app/views/admin/_head.html.erb +1 -1
- data/vendor/plugins/refinery/app/views/layouts/admin.html.erb +7 -19
- data/vendor/plugins/refinery/app/views/layouts/application.html.erb +3 -2
- data/vendor/plugins/refinery/app/views/shared/_site_bar.html.erb +18 -0
- data/vendor/plugins/refinery_dialogs/app/views/layouts/admin_dialog.html.erb +3 -4
- data/vendor/plugins/refinery_settings/app/models/refinery_setting.rb +1 -1
- metadata +7 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.6.
|
1
|
+
0.9.6.34
|
data/config/application.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
|
3
3
|
|
4
4
|
# Specified gem version of Refinery to use when vendor/plugins/refinery/lib/refinery.rb is not present.
|
5
|
-
REFINERY_GEM_VERSION = '0.9.6.
|
5
|
+
REFINERY_GEM_VERSION = '0.9.6.34' unless defined? REFINERY_GEM_VERSION
|
6
6
|
|
7
7
|
# Boot Rails
|
8
8
|
require File.join(File.dirname(__FILE__), 'boot')
|
Binary file
|
@@ -132,7 +132,8 @@ a {
|
|
132
132
|
}
|
133
133
|
|
134
134
|
.splash #content {
|
135
|
-
background: url('/images/refinery/admin_bg.png')
|
135
|
+
background-image: url('/images/refinery/admin_bg.png');
|
136
|
+
background-repeat: repeat-y;
|
136
137
|
}
|
137
138
|
#content h1 {
|
138
139
|
font-size: 18px;
|
@@ -160,49 +161,63 @@ a:hover {
|
|
160
161
|
text-align: left;
|
161
162
|
width: 990px;
|
162
163
|
}
|
163
|
-
|
164
|
-
|
164
|
+
|
165
|
+
body.login #page_container #page, #page_container.splash #page, #content {
|
166
|
+
background-color: #f6f5f4;
|
165
167
|
}
|
166
168
|
|
167
|
-
#page_container.login {
|
169
|
+
body.login #page_container, body.login #site_bar_content, body.login #site_bar_branding {
|
168
170
|
width: 590px;
|
169
171
|
}
|
170
172
|
|
171
|
-
|
173
|
+
body.login #header {
|
174
|
+
display: none;
|
175
|
+
}
|
176
|
+
|
177
|
+
body.login #editor_switch {
|
178
|
+
display: none;
|
179
|
+
}
|
180
|
+
|
181
|
+
body.login #site_bar_branding img {
|
182
|
+
float: right;
|
183
|
+
margin-top: 10px;
|
184
|
+
}
|
185
|
+
|
186
|
+
#page_container .login #page h1 {
|
172
187
|
margin: 0;
|
173
188
|
padding: 5px;
|
174
189
|
font-size: 20px;
|
175
190
|
line-height:22px
|
176
191
|
}
|
177
192
|
|
178
|
-
|
193
|
+
body.login #page_container div.session_username, body.login #page_container div.session_password {
|
179
194
|
float: left;
|
180
195
|
}
|
181
196
|
|
182
|
-
|
197
|
+
body.login #page_container div.session_password {
|
183
198
|
margin-left: 25px;
|
184
199
|
}
|
185
200
|
|
186
|
-
|
201
|
+
body.login #page_container div.remember_me {
|
187
202
|
margin-top: 12px;
|
188
203
|
}
|
189
204
|
|
190
|
-
|
205
|
+
body.login #page_container div.forgot_password {
|
191
206
|
float: right;
|
192
207
|
|
193
208
|
margin-top: 11px;
|
194
209
|
margin-right: 3px;
|
195
210
|
}
|
196
211
|
|
197
|
-
|
212
|
+
body.login #page_container div.remember_me label {
|
198
213
|
display: inline;
|
199
214
|
}
|
200
215
|
|
201
|
-
|
216
|
+
body.login #page_container div.session_username input, body.login #page_container div.session_password input {
|
202
217
|
width: 260px;
|
203
218
|
}
|
204
219
|
|
205
|
-
|
220
|
+
body.login #page_container div.actions {
|
206
221
|
margin-top: 12px;
|
207
222
|
}
|
208
223
|
|
@@ -293,13 +308,12 @@ pre {
|
|
293
308
|
}
|
294
309
|
|
295
310
|
#header {
|
296
|
-
background: url('/images/refinery/header_background.png') #50504B repeat-x bottom;
|
297
311
|
padding: 26px 15px 0 15px;
|
298
312
|
position: relative;
|
299
|
-
height:
|
313
|
+
height: 18px;
|
300
314
|
}
|
301
315
|
|
302
|
-
|
316
|
+
body.login #page_container #header {
|
303
317
|
padding: 42px 15px 42px 15px;
|
304
318
|
height: 35px;
|
305
319
|
}
|
@@ -397,7 +411,7 @@ pre {
|
|
397
411
|
}
|
398
412
|
|
399
413
|
#records li {
|
400
|
-
padding: 5px;
|
414
|
+
padding: 2px 5px;
|
401
415
|
vertical-align: top;
|
402
416
|
margin-bottom: 2px;
|
403
417
|
}
|
@@ -644,7 +658,7 @@ label.stripped {
|
|
644
658
|
line-height: 16px;
|
645
659
|
}
|
646
660
|
.actions a * {
|
647
|
-
padding: 4px;
|
661
|
+
padding: 4px 4px 1px 4px;
|
648
662
|
}
|
649
663
|
|
650
664
|
.actions a:hover {
|
@@ -922,6 +936,16 @@ ul#menu.reordering_menu li a {
|
|
922
936
|
cursor: move;
|
923
937
|
}
|
924
938
|
|
939
|
+
#site_bar {
|
940
|
+
background: none;
|
941
|
+
}
|
942
|
+
|
943
|
+
|
944
|
+
#site_bar_content {
|
945
|
+
width: 958px;
|
946
|
+
margin: 0px auto;
|
947
|
+
}
|
948
|
+
|
925
949
|
.clearfix:after {
|
926
950
|
content:".";
|
927
951
|
display:block;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#editor_switch {
|
2
|
+
float: left;
|
3
|
+
}
|
4
|
+
|
5
|
+
#site_bar_branding {
|
6
|
+
float: right;
|
7
|
+
}
|
8
|
+
|
9
|
+
#site_bar, #site_bar * {
|
10
|
+
color: #a7a79d;
|
11
|
+
font-family: Arial;
|
12
|
+
font-size: 13px;
|
13
|
+
}
|
14
|
+
|
15
|
+
#site_bar a:hover {
|
16
|
+
color: white;
|
17
|
+
}
|
18
|
+
|
19
|
+
#site_bar * {
|
20
|
+
line-height: 40px;
|
21
|
+
}
|
22
|
+
|
23
|
+
#site_bar {
|
24
|
+
height: 40px;
|
25
|
+
background: url('/images/refinery/page_bg.png') repeat;
|
26
|
+
padding: 0px 15px;
|
27
|
+
}
|
28
|
+
|
29
|
+
#site_bar img {
|
30
|
+
vertical-align: middle;
|
31
|
+
margin-top: -5px;
|
32
|
+
padding-left: 10px;
|
33
|
+
}
|
34
|
+
|
35
|
+
#site_bar_branding a {
|
36
|
+
border-bottom: none;
|
37
|
+
|
38
|
+
}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
<html
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
3
|
<%= render :partial => "/shared/head", :locals => {:theme => true} %>
|
4
4
|
<body>
|
5
|
+
<%= render :partial => "/shared/site_bar" if logged_in? %>
|
5
6
|
<%= render :partial => "/shared/ie6check" if request.env['HTTP_USER_AGENT'] =~ /MSIE/ -%>
|
6
7
|
<div id='page_container'>
|
7
8
|
<div id='page' class='clearfix'>
|
@@ -1,5 +1,5 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
<html
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
3
|
<%= render :partial => "/shared/head", :locals => {:theme => true} %>
|
4
4
|
<body>
|
5
5
|
<div id="header">
|
data/todo.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
What are some of the known things that need to be done?
|
4
4
|
|
5
|
+
## Internationalization
|
6
|
+
|
7
|
+
We've got a branch for it and we need to merge that into the master.
|
8
|
+
|
5
9
|
## Tests
|
6
10
|
|
7
11
|
* Add unit test coverage for user, user plugin and user mailer
|
@@ -10,14 +14,4 @@ What are some of the known things that need to be done?
|
|
10
14
|
|
11
15
|
# Rails 3.0 Support
|
12
16
|
|
13
|
-
We've started an effort to move to Rails 3.0 - that just needs to be completed.
|
14
|
-
|
15
|
-
# Improve the Generator
|
16
|
-
|
17
|
-
We need to have support for build in Refinery field types like "image". So I could run
|
18
|
-
|
19
|
-
./script/generate refinery staff name:string bio:text mugshot:image
|
20
|
-
|
21
|
-
And it will automatically create a form field that pops open the image picker on the staff form.
|
22
|
-
|
23
|
-
There is now a partial to easily call an image picker.
|
17
|
+
We've started an effort to move to Rails 3.0 - that just needs to be completed.
|
@@ -3,7 +3,7 @@ ActionController::Routing::Routes.draw do |map|
|
|
3
3
|
map.resources :inquiries, :collection => {:thank_you => :get}
|
4
4
|
|
5
5
|
map.namespace(:admin) do |admin|
|
6
|
-
admin.resources :inquiries
|
6
|
+
admin.resources :inquiries
|
7
7
|
admin.resources :inquiry_settings
|
8
8
|
end
|
9
9
|
end
|
@@ -22,7 +22,7 @@ Go into your 'Inquiries' tab in the Refinery admin area and click on "Update who
|
|
22
22
|
|
23
23
|
Go into your 'Inquiries' tab in the Refinery admin area and click on "Edit confirmation email"
|
24
24
|
|
25
|
-
## But I don't
|
25
|
+
## But I don't want a Contact Form how do I kill it?
|
26
26
|
|
27
27
|
Your contact form loads because you have a page in your site that is told to not just render a normal page, but load the contact form instead.
|
28
28
|
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<div id="footer">
|
2
|
+
<%= link_to image_tag("#{"http://www.resolvedigital.com/images/" unless local_request?}refinery/resolve_digital_footer_logo.png", :alt => "Resolve Digital"), "http://www.resolvedigital.com", :target => "_blank", :id => "footer_logo" %>
|
3
|
+
<p>
|
4
|
+
Refinery built by <%= link_to "Resolve Digital", "http://www.resolvedigital.com", :target => "_blank" %>.
|
5
|
+
Copyright © 2005-<%= Time.now.year %> Resolve Digital
|
6
|
+
</p>
|
7
|
+
</div>
|
@@ -10,4 +10,4 @@
|
|
10
10
|
<%= javascript_include_tag 'admin', 'wymeditor/jquery.refinery.wymeditor.js', 'refinery/boot_wym', 'refinery/admin', :cache => (use_caching ? "cache/admin" : false) %>
|
11
11
|
<%= javascript_include_tag "http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js" if RefinerySetting.find_or_set(:show_firebug_lite, false) -%>
|
12
12
|
<%= yield :head %>
|
13
|
-
</head>
|
13
|
+
</head>
|
@@ -1,16 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
<html
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
3
|
<%= render :partial => "/admin/head" %>
|
4
|
-
<body
|
4
|
+
<body<%= " class='login'" unless logged_in? %><%= " class='splash'" if logged_in? and action_name == "index" %>>
|
5
|
+
<%= render :partial => '/shared/site_bar' %>
|
5
6
|
<div id='tooltip_container'></div>
|
6
|
-
<div id="page_container"
|
7
|
+
<div id="page_container">
|
7
8
|
<div id="page">
|
8
9
|
<div class="clearfix" id="header">
|
9
|
-
<h1>
|
10
|
-
<%= just_installed? ? "Welcome to Refinery" : link_to(RefinerySetting[:site_name], admin_root_url) %>
|
11
|
-
</h1>
|
12
|
-
<%= link_to "View public site", "/", :target => "_blank", :id => "site_link" if logged_in? %>
|
13
|
-
<%= link_to image_tag("#{"http://www.refinerycms.com/images/" unless local_request?}refinery/logo.png", :alt => "Refinery (tm) Content Manager"), "http://www.refinerycms.com", :target => "_blank", :id => "logo" -%>
|
14
10
|
<%= render :partial => "/admin/menu" if logged_in? %>
|
15
11
|
</div>
|
16
12
|
<div id="content" class="clearfix">
|
@@ -20,15 +16,7 @@
|
|
20
16
|
<%= yield %>
|
21
17
|
</div>
|
22
18
|
</div>
|
23
|
-
|
24
|
-
<div id="footer">
|
25
|
-
<%= link_to image_tag("#{"http://www.resolvedigital.com/images/" unless local_request?}refinery/resolve_digital_footer_logo.png", :alt => "Resolve Digital"), "http://www.resolvedigital.com", :target => "_blank", :id => "footer_logo" %>
|
26
|
-
<p>
|
27
|
-
Refinery built by <%= link_to "Resolve Digital", "http://www.resolvedigital.com", :target => "_blank" %>.
|
28
|
-
Copyright © 2005-<%= Time.now.year %> Resolve Digital
|
29
|
-
</p>
|
30
|
-
</div>
|
31
|
-
<% end %>
|
19
|
+
<%= render :partial => "/admin/footer" if RefinerySetting.find_or_set(:show_backend_branding, false) %>
|
32
20
|
</div>
|
33
21
|
</body>
|
34
|
-
</html>
|
22
|
+
</html>
|
@@ -1,7 +1,8 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
<html
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
3
|
<%= render :partial => "/shared/head" %>
|
4
4
|
<body>
|
5
|
+
<%= render :partial => "/shared/site_bar" if logged_in? %>
|
5
6
|
<%= render :partial => "/shared/ie6check" if request.env['HTTP_USER_AGENT'] =~ /MSIE/ -%>
|
6
7
|
<div id='page_container'>
|
7
8
|
<div id='page' class='clearfix'>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<div id='site_bar'>
|
2
|
+
<div id='site_bar_content' class='clearfix'>
|
3
|
+
<div id='editor_switch'>
|
4
|
+
<% if admin? %>
|
5
|
+
<%= link_to "Switch to live view", "/" %>
|
6
|
+
<% else %>
|
7
|
+
<%= link_to "Switch to editor view", admin_root_url %>
|
8
|
+
<% end %>
|
9
|
+
</div>
|
10
|
+
<div id='site_bar_branding'>
|
11
|
+
<%= RefinerySetting[:site_name] %>
|
12
|
+
<%= link_to image_tag("#{"http://refinerycms.com/images/" unless local_request?}refinery/logo-tiny.png",
|
13
|
+
:alt => "Refinery (tm) Content Manager"), "http://refinerycms.com",
|
14
|
+
:target => "_blank" %>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<%= stylesheet_link_tag('refinery/site_bar') %>
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<%= render :partial => "/admin/head" %>
|
5
4
|
<body id='dialog_container' class='dialog'>
|
6
5
|
<div id="flash_container">
|
@@ -8,4 +7,4 @@
|
|
8
7
|
</div>
|
9
8
|
<%= yield %>
|
10
9
|
</body>
|
11
|
-
</html>
|
10
|
+
</html>
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 0
|
7
7
|
- 9
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.9.6.
|
9
|
+
- 34
|
10
|
+
version: 0.9.6.34
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Resolve Digital
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-05-
|
20
|
+
date: 2010-05-10 00:00:00 +12:00
|
21
21
|
default_executable:
|
22
22
|
dependencies: []
|
23
23
|
|
@@ -131,6 +131,7 @@ files:
|
|
131
131
|
- public/images/refinery/logo-medium.png
|
132
132
|
- public/images/refinery/logo-small-medium.png
|
133
133
|
- public/images/refinery/logo-small.png
|
134
|
+
- public/images/refinery/logo-tiny.png
|
134
135
|
- public/images/refinery/logo.png
|
135
136
|
- public/images/refinery/nav-3-background.gif
|
136
137
|
- public/images/refinery/page_bg.png
|
@@ -219,6 +220,7 @@ files:
|
|
219
220
|
- public/stylesheets/refinery/formatting.css
|
220
221
|
- public/stylesheets/refinery/home.css
|
221
222
|
- public/stylesheets/refinery/refinery.css
|
223
|
+
- public/stylesheets/refinery/site_bar.css
|
222
224
|
- public/stylesheets/refinery/theme.css
|
223
225
|
- public/stylesheets/refinery/tooltips.css
|
224
226
|
- public/stylesheets/refinery/ui.css
|
@@ -709,6 +711,7 @@ files:
|
|
709
711
|
- vendor/plugins/rails_indexes/test/rails_indexes_test.rb
|
710
712
|
- vendor/plugins/rails_indexes/test/test_helper.rb
|
711
713
|
- vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
|
714
|
+
- vendor/plugins/refinery/app/views/admin/_footer.html.erb
|
712
715
|
- vendor/plugins/refinery/app/views/admin/_head.html.erb
|
713
716
|
- vendor/plugins/refinery/app/views/admin/_menu.html.erb
|
714
717
|
- vendor/plugins/refinery/app/views/layouts/admin.html.erb
|
@@ -722,6 +725,7 @@ files:
|
|
722
725
|
- vendor/plugins/refinery/app/views/shared/_menu.html.erb
|
723
726
|
- vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb
|
724
727
|
- vendor/plugins/refinery/app/views/shared/_message.html.erb
|
728
|
+
- vendor/plugins/refinery/app/views/shared/_site_bar.html.erb
|
725
729
|
- vendor/plugins/refinery/app/views/shared/_submenu.html.erb
|
726
730
|
- vendor/plugins/refinery/app/views/shared/_submenu_branch.html.erb
|
727
731
|
- vendor/plugins/refinery/app/views/shared/admin/_continue_editing.html.erb
|