engine/app/views/admin/layouts/box.html.haml

21 lines
620 B
Plaintext
Raw Normal View History

2010-04-22 23:52:11 +00:00
!!! XML
!!!
%html{ :xmlns => 'http://www.w3.org/1999/xhtml' }
%head
%title= yield(:head_title) || escape_once("#{Locomotive.config.name} — #{current_site.name}")
= javascript_include_tag 'admin/jquery'
= stylesheet_link_tag 'admin/blueprint/screen', 'admin/box', :media => 'screen', :cache => Rails.env.production? && !Locomotive.config.heroku
2010-04-22 23:52:11 +00:00
/ [if IE]
2010-06-03 15:32:40 +00:00
= stylesheet_link_tag('admin/blueprint/ie', :media => 'screen')
= yield :head
%body{ :class => controller.controller_name }
2010-04-22 23:52:11 +00:00
#wrapper
#light.container
#panel.container
%h1!= title
2010-04-22 23:52:11 +00:00
= yield