RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: carlesso
Site: http://www.ecarlesso.org
Yes. To be complete, Refinery is compatible with anything you may want. As @shaman-sh sayd, it may take some time to understand how.
I found out that browsing the source of refinery-core was explanatory. Working with these views I've been able to restyle everything I need:
./refinery/_content_page.html.erb ./refinery/_footer.html.erb ./refinery/_head.html.erb ./refinery/_header.html.erb ./refinery/_menu.html.erb ./refinery/_menu_branch.html.erb
But most important (and I had to copy by hand) layouts/application.html.erb can make your life easier. Anyway is pretty simple (this is my version with already container-fluid class for the page_container):
layouts/application.html.erb
<!DOCTYPE html> <%= render '/refinery/html_tag' %> <% site_bar = render('/refinery/site_bar', :head => true) -%> <%= render '/refinery/head' %> <body> <%= site_bar -%> <%= render '/refinery/ie6check' if request.env['HTTP_USER_AGENT'] =~ /MSIE/ -%> <div id="page_container" class="container-fluid"> <header id="header"> <%= render '/refinery/header' -%> </header> <section id="page"> <%= yield %> </section> <footer class="footer"> <%= render '/refinery/footer' -%> </footer> </div> <%= render '/refinery/javascripts' %> </body> </html>
Hi Ryan, as always a very useful screencast! But here the hard question:
How do you test things like this?
Is there a way to use Pry with Foreman?
What do you mean? Doesn't
tailf log/development.log
fits your needs?
Sorry for those who's using Prototype! Never a mention for Mootools users! :D
Yes. To be complete, Refinery is compatible with anything you may want. As @shaman-sh sayd, it may take some time to understand how.
I found out that browsing the source of refinery-core was explanatory.
Working with these views I've been able to restyle everything I need:
But most important (and I had to copy by hand)
layouts/application.html.erb
can make your life easier. Anyway is pretty simple (this is my version with already container-fluid class for the page_container):Hi Ryan,
as always a very useful screencast! But here the hard question:
How do you test things like this?
Is there a way to use Pry with Foreman?
What do you mean? Doesn't
fits your needs?
Sorry for those who's using Prototype! Never a mention for Mootools users! :D