2012-10-08 11:51:56 +02:00
|
|
|
= render layout: 'layouts/header' do
|
|
|
|
.row-fluid
|
2012-10-06 17:14:57 +02:00
|
|
|
|
2012-10-08 11:51:56 +02:00
|
|
|
.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
|
2012-10-06 17:14:57 +02:00
|
|
|
|
2012-10-08 11:51:56 +02:00
|
|
|
.container-fluid
|
2012-10-06 17:14:57 +02:00
|
|
|
.row-fluid
|
2012-10-08 11:51:56 +02:00
|
|
|
- if content_for?(:sidebar)
|
2012-10-15 21:19:17 +02:00
|
|
|
.span3
|
2012-10-08 11:51:56 +02:00
|
|
|
= yield(:sidebar)
|
2012-10-15 21:19:17 +02:00
|
|
|
.span9
|
2012-10-08 11:51:56 +02:00
|
|
|
= bootstrap_flash
|
2012-10-06 17:14:57 +02:00
|
|
|
- if show_title?
|
|
|
|
.page-header
|
|
|
|
%h1= yield(:title)
|
|
|
|
= yield
|
2012-10-08 11:51:56 +02:00
|
|
|
- else
|
|
|
|
= bootstrap_flash
|
|
|
|
- if show_title?
|
|
|
|
.page-header
|
|
|
|
%h1= yield(:title)
|
|
|
|
= yield
|
2009-02-18 12:01:51 +01:00
|
|
|
|
2012-10-08 11:51:56 +02:00
|
|
|
%footer
|
|
|
|
%p
|
|
|
|
Foodsoft, open source software to manage a non-profit food coop.
|
2012-11-10 16:44:05 +01:00
|
|
|
#modalContainer.modal.hide.fade(tabindex="-1" role="dialog")
|