summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r--app/views/layouts/application.html.haml30
1 files changed, 21 insertions, 9 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index e6d22f0..719d699 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -9,15 +9,27 @@
= csrf_meta_tags
= yield(:head)
%body
- %header.navbar.navbar-fixed-top
- %nav.navbar-inner
- .container
- = render 'layouts/navigation'
- #main{:role => "main"}
- .container
- .content
- .row
+ #masthead
+ - if logged_in?
+ = render 'layouts/masthead'
+ - else
+ = render 'layouts/masthead_large'
+ #main
+ .container-fluid
+ - if logged_in?
+ .row-fluid
.span12
+ = render 'layouts/header'
+ .row-fluid
+ .span2
+ = render 'layouts/navigation'
+ .span10
= render 'layouts/messages'
= yield
- %footer
+ - else
+ .row-fluid
+ .span12
+ = render 'layouts/messages'
+ = yield
+ #footer
+ = render 'layouts/footer'