blob: e242a5f47b87ba603dd234d89a8d3e7a9f1a862a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
- @show_navigation = true if @show_navigation.nil? && logged_in?
!!!
%html
%head
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
%title= html_title
%meta{:content => content_for?(:description) ? yield(:description) : "Leap Web", :name => "description"}
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags
= yield(:head)
%body
#wrap
= render 'layouts/masthead'
#main
.container-fluid
- if @show_navigation && !admin?
.row
%h1= t(:user_control_panel)
- if logged_in?
.row
.col-md-12
= render 'layouts/header'
.row
= render 'layouts/content'
#push
-# #push is used for sticky footer in bootstrap 2. remove when upgrading to bootstrap 3
#footer
= render 'layouts/footer'
|