application.html.haml revision 7db6074e03ec38022974f98b07511443f3ca1012
!!!
%html
%head
%title #{page_title} ยท #{Settings.name}
%meta{"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8"}
= stylesheet_link_tag "application", "//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css"
= stylesheet_link_tag "application", :media => "all"
= csrf_meta_tags
%body
= render :partial => '/shared/navbar'
= flash_messages
- if cover_visible?
= render :partial => '/shared/cover'
- if context_pane_visible?
= yield
- if user_signed_in?
= render partial: '/shared/user_content'
- else
%div{style: 'position: absolute; top: 83px; right:15px; width: 303px;'}
= render partial: '/shared/signin'
= render partial: '/shared/signup'
- else
= yield
%div{style: 'clear:both;'}
%div{style:'height:30px;'}
= render :partial => '/shared/footer'
= javascript_include_tag "application"