foodsoft/app/views/layouts/application.html.haml
2012-10-19 01:12:47 +02:00

36 lines
1,004 B
Text

= render layout: 'layouts/header' do
.row-fluid
.navbar.navbar-fixed-top
.navbar-inner
.container-fluid
%a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
= link_to 'Foodsoft', root_path(anchor: ''), class: 'brand'
.container.nav-collapse
= render_navigation expand_all: true, renderer: :bootstrap
.container-fluid
.row-fluid
- if content_for?(:sidebar)
.span3
= yield(:sidebar)
.span9
= bootstrap_flash
- if show_title?
.page-header
%h1= yield(:title)
= yield
- else
= bootstrap_flash
- if show_title?
.page-header
%h1= yield(:title)
= yield
%footer
%p
Foodsoft, open source software to manage a non-profit food coop.
#modalContainer.modal(tabindex="-1" role="dialog" style="display:none")